Skip to content

Issue 289 supervisor v2 - #345

Open
tikhandesanket wants to merge 3 commits into
codeforstartups:developmentfrom
tikhandesanket:issue-289-supervisor-v2
Open

tikhandesanket wants to merge 3 commits into
codeforstartups:developmentfrom
tikhandesanket:issue-289-supervisor-v2

Conversation

@tikhandesanket

Copy link
Copy Markdown
Collaborator

Summary

This PR revises the Dynaflow multi-agent supervisor implementation for issue #289.

Changes

  • Add named specialist routing through the supervisor.
  • Add explicit handoff requests and a supervisor method to invoke the requested specialist with shared workflow state.
  • Preserve the existing Handoff(state) passthrough behavior.
  • Pass shared state into synchronous and asynchronous ReAct execution.
  • Add tests for specialist routing, handoff behavior, shared state, and aggregation.

Validation

  • Focused tests and the full test suite passed locally.
  • Ruff checks for the changed files passed.
  • Pre-commit hooks passed.

Scope note

Handoff requests are executed explicitly through Supervisor.handoff(). The graph-routing tests separately validate conditional routing and state preservation; automatic graph consumption of handoff requests is not introduced by this PR.

Closes #289.

@tikhandesanket
tikhandesanket force-pushed the issue-289-supervisor-v2 branch from 8d1c935 to 0ddc48d Compare October 15, 2026 08:40
@tikhandesanket
tikhandesanket force-pushed the issue-289-supervisor-v2 branch from 0ddc48d to 34be109 Compare October 15, 2026 08:46
@tikhandesanket

Copy link
Copy Markdown
Collaborator Author

@codeforstartups @Kaap10 please have a look

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi-agent: supervisor, handoffs & sub-agents

1 participant