> For the complete documentation index, see [llms.txt](https://glitch9.gitbook.io/ai-dev-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glitch9.gitbook.io/ai-dev-kit/unity-editor/agent.md).

# Playground Agent

{% embed url="<https://www.youtube.com/watch?v=no6X2QNvG5A>" %}

Playground Agent is an AI-powered assistant embedded directly into the Unity Editor. You can ask anything from *"How do I fix this error?"* to *"Generate a MonoBehaviour for character jumping"* — and it can not only explain and advise, but also write and edit scripts in your project on command.

The agent is aware of your current editor session context, including selected scripts, console errors, and project structure, making it far more useful than a generic chat interface.

{% hint style="info" %}
Open **Playground Agent** via `Tools > AI Dev Kit > Playground Agent`, or press `Ctrl+Shift+E`.
{% endhint %}
