# Jump into the 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**](https://playground.ag2.ai/): 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](https://playground.ag2.ai/).

## The Demos

- **Weather Agent**: One agent, one tool, live weather data. Showcases AG2's [AG-UI protocol](https://docs.ag2.ai/latest/docs/user-guide/ag-ui/) 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](https://docs.ag2.ai/latest/docs/user-guide/ag-ui/), an open protocol that brings real-time UI to agentic applications. [AG-UI](https://docs.ag-ui.com/introduction) 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](https://dojo.ag-ui.com/ag2).

## Go Play

[**playground.ag2.ai**](https://playground.ag2.ai/) — open it, pick a pattern, run it.

When you're ready to go deeper:

- [**AG2 Documentation**](https://docs.ag2.ai/) — guides for every pattern
- [**Build with AG2**](https://github.com/ag2ai/build-with-ag2) 
- [**AG2 on GitHub**](https://github.com/ag2ai/ag2) — star us, contribute
- [**AG2 Discord**](https://discord.gg/pAbnFJrkgZ) — join the conversation

More patterns and scenarios are coming. If there's something you'd love to see, [let us know](https://discord.gg/pAbnFJrkgZ)!
