Skip to content

Jump into the AG2 Playground

AG2 Playground

Time for our AG2 agents to let their robotic hair down and have some fun. Jump in with agent orchestrations in the AG2 Playground: watch the flow between agents as they work, execute tools, and hand off to one another.

What's Inside#

Interactive demos covering orchestration patterns and integrations. Pick one, select or type a prompt, hit Run, and watch agents light up as they think, stream responses, and coordinate in real time.

Want to do something similar, grab the code snippets on the Code tab for each demo or see the links to the topic in our documentation.

No account required, jump into playground.ag2.ai.

The Demos#

AG2 Playground Demos

  • Weather Agent: One agent, one tool, live weather data. Showcases AG2's AG-UI protocol integration.

  • Two-Agent Chat: A Student asks, a Teacher explains. The simplest multi-agent pattern and the best place to start.

  • Round Robin: Proposer, Challenger, Refiner. Fixed rotation, structured debate, polished output.

  • Auto Pattern: Same three agents, with the Group Chat Manager picking who speaks next. The conversation flows where it needs to.

  • LLM Condition: A triage agent routes queries to specialists using natural language conditions.

  • Context Condition: Same idea but with zero cost. A tool assesses severity, deterministic rules do the routing. No LLM calls for the handoff decision.

  • Sequential Chat: A four-stage pipeline. Each specialist builds on the last. An assembly line for agents.

  • Nested Chat: A Writer delegates to an inner pipeline of Researcher, Drafter, and Editor. Two layers of orchestration, fully visible.

Built with AG-UI#

The playground is powered by our collaboration with AG-UI, an open protocol that brings real-time UI to agentic applications. AG-UI is what lets you watch agents think, stream, and hand off — token by token — right in the browser. It's the bridge between AG2's orchestration engine and the live, visual experience you see in the playground. Want to explore AG-UI further - visit their interactive Dojo.

Go Play#

playground.ag2.ai — open it, pick a pattern, run it.

When you're ready to go deeper:

More patterns and scenarios are coming. If there's something you'd love to see, let us know!