feat(demos): add AG2 multi-agent research team with Plano orchestration#841
Open
faridun-ag2 wants to merge 1 commit intokatanemo:mainfrom
Open
feat(demos): add AG2 multi-agent research team with Plano orchestration#841faridun-ag2 wants to merge 1 commit intokatanemo:mainfrom
faridun-ag2 wants to merge 1 commit intokatanemo:mainfrom
Conversation
AG2 (formerly AutoGen) integration demonstrating: - Multi-agent GroupChat (researcher + analyst) behind a single Plano endpoint - OpenAI-compatible streaming HTTP endpoint via FastAPI - Internal multi-agent collaboration transparent to Plano routing - Unified observability through Plano's tracing layer
Author
|
Hey @adilhafeez, I've added an AG2 multi-agent demo to the repo! This shows a unique pattern - AG2's GroupChat (researcher + analyst) running behind a single Plano endpoint. Unlike the existing CrewAI/LangChain demo where each framework = one agent, here AG2 runs an internal team that Plano sees as one agent. Would love your feedback when you get a chance! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
demos/agent_orchestration/multi_agent_ag2/showcasing AG2 multi-agent orchestration via PlanoWhat's included
ag2/research_agent.py— FastAPI server with OpenAI-compatible/v1/chat/completions(streaming + non-streaming) and/health; AG2 GroupChat with researcher + analyst agentsconfig.yaml— Plano config registering the agent on port 10530 withplano_orchestrator_v1routerrun_demo.sh/start_agents.sh— one-command startup scriptspyproject.toml— dependencies (ag2[openai],fastapi,uvicorn,openai)openai_protocol.py— shared streaming utility (copied from existing demo)README.md— full documentation with architecture diagram and quickstartTest plan
GET /healthreturns{"status":"healthy","agent":"ag2_research_team"}POST /v1/chat/completionsstreaming works end-to-end through PlanoPOST /v1/chat/completionsnon-streaming works end-to-end through Plano