Skip to content

[FEATURE] Expose user defined state in MultiAgent Graph and Swarm #665

@dbschmigelski

Description

@dbschmigelski

Problem Statement

In Agent, the user has access to AgentState where they can store and access information in tools. This is useful where we may want to store a reference to a large file, but not actually provide the content to the the LLM in the AgentResult ContentBlock(s).

In Graph, there exists GraphState, but it does not expose a similar "user defined state" property.

Proposed Solution

Swarm, another MultiAgent platform, has SharedContext. HOWEVER, SharedContext is used by the LLM and is NOT the same conceptually AgentState. Its should not be used to accomplish the stated goal.

Proposed solutions are explored in depth below #665 (comment)

Use Case

This would be useful if I want to store information across nodes.

Alternatives Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions