Response format in Subagents
-
structured-output Refer Here
-
Refer Here for changes and specifically look at Refer Here
-
Observations: Agents with questions generation can go in parallel but main agent was blocked by communications agent to finish before it goes to the next
-
Refer Here for the changes
Async Sub-agents
-
Refer Here for async
-
We need to consider each sub-agent as graph
-
Typical Async subagent structure
communications_agent.py
reasoning_agent.py
programming_agent.py
schemas.py
tools.py
main.py # supervisor or main agent
pyproject.toml
langgraph.json # 4 graphs
- To run the async sub agents
uv run langgraph dev --n-jobs-per-worker 10
