AI engineering glossary · Agents tools MCP

What is shared state?

Shared state (also called Agent state): A common data object that all steps or agents in a workflow read and update, holding items such as messages, intermediate results and flags. It makes progress explicit and lets a run be saved and resumed.

Level: intermediateTopic: Agents tools MCP

Shared state: an example

A graph's state has fields query, documents and draft; each node updates the fields it is responsible for.

Related terms

More Agents tools MCP terms

Where you learn it

Shared state is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.