Skip to content

feat(agents): add multi-agent supervisor primitives - #343

Open
tikhandesanket wants to merge 2 commits into
codeforstartups:developmentfrom
tikhandesanket:Sort_Multi_agent#289
Open

tikhandesanket wants to merge 2 commits into
codeforstartups:developmentfrom
tikhandesanket:Sort_Multi_agent#289

Conversation

@tikhandesanket

Copy link
Copy Markdown
Collaborator

Description

This PR implements the multi-agent supervisor pattern proposed in #289.

The supervisor acts as a central orchestrator that receives a user request, determines which specialist agent should handle it, and routes the request accordingly.

The implementation focuses on keeping the agents decoupled, with the supervisor responsible for coordination rather than embedding specialist-specific logic into individual agents.

Related issue

Fixes #289

Changes

  • Add a supervisor agent responsible for routing requests.
  • Support routing to multiple specialist agents.
  • Preserve conversation/state information during agent handoffs.
  • Keep specialist agents independently defined and reusable.
  • Add tests covering supervisor routing and agent handoffs.

Testing

  • Tests pass locally
  • Ruff checks pass
  • Documentation updated, if applicable

Checklist

  • My changes are focused and relevant to this pull request.
  • I have added or updated tests where appropriate.
  • I have reviewed my changes for unrelated modifications.
  • I have updated documentation where necessary.

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