Agentic AI · Advanced level

Advanced level · Module 6 of 10 · 15 guided hours

Multi-Agent State Management

Sharing state safely among agents: shared versus private state, update rules and reducers, concurrency and conflicts, provenance, and state persistence for audits.

Learning objectives

  • Design shared and private state for multi-agent systems
  • Handle concurrent updates and conflicts safely
  • Record provenance and persist state for audit

Topics

  • shared vs private state
  • update rules and reducers
  • concurrent updates and conflicts
  • provenance of state changes
  • state size and pruning
  • persistence and audit

Lessons

  1. Lesson 1 Shared and Private State

    Learners decide which information all agents share and which stays private to one agent, and design the state schema accordingly.

    shared stateprivate scratchpadneed-to-knowstate schemastate size

  2. Lesson 2 Update Rules, Reducers and Conflicts

    Learners define how each field may be updated (replace, append or merge), handle simultaneous updates from parallel agents and detect conflicts.

    reducerappend vs replaceparallel updatesconflict detectionfield ownership

  3. Lesson 3 Provenance, Pruning and Audit

    Learners record who changed what and why in the state, prune state to keep it small, and persist runs for audit with appropriate retention.

    provenancechange logpruningaudit trailretention

Practical activity

Implement the capstone's multi-agent state: shared/private schema, reducers and conflict handling, provenance, pruning and audit persistence.

Expected outcomes

  • Safe, traceable multi-agent state
  • Audit-ready runs

Assessment

State implementation and parallel tests (70%) and provenance trace (30%).

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.