Skip to main content

to_graph

Method
This is a method of the AgentTeam class in the agents module.
This team’s definition as graph data (praisonai.graph/1). Covers agents, tasks (context/depends_on, next_tasks, conditions), tools, hand-offs, human review and the hierarchical manager. Node ids are stable across processes and match replay events’ node_id.

Signature

Returns

Dict[str, Any]
The result of the operation.

Uses

  • to_graph

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 2551