AI coding assistant quick start
Open AI Coding Setup, accept the Unity MCP terms, install a coding agent's instructions, and verify Convai's MCP tools are ready.
Convai extends Unity's MCP server with SDK-aware tools so a coding agent such as Codex, Claude Code, or Cursor can configure Convai components directly in your project. Use this quick start the first time you connect an agent to a project that already has the Convai Unity SDK installed. At the end, your agent has managed instructions installed and the AI Coding section reports every Convai tool as registered.
Prerequisites
Unity 6 (6000.x) or later — Convai's AI coding tools require Unity 6000 or newer.
The Convai Unity SDK installed in the project. See Install the Convai Unity SDK.
A compatible Unity AI Assistant package (
com.unity.ai.assistant, version2.13.0or later and below3.0.0— a2.13.0build must carry prerelease tagpre.2or later, and a3.0.0build is accepted only as a prerelease, never the final release). Install it manually, or install it from inside this walkthrough.A supported coding agent installed on your machine, such as Codex CLI, Claude Code, or Cursor. See Supported coding agents for the full list.
Open AI Coding Setup
Open the AI Coding section
In the Unity Editor menu bar, select Convai > AI Coding Setup. This opens the AI Coding section of the Convai Editor window.
The section's Setup Health card reports four readiness rows: Unity 6000+, Unity AI Assistant, Packaged Convai Skill, and Convai MCP Tools. Each row reads Ready or Needs attention.
Accept the Unity MCP terms
Unity may prompt you to accept the Unity AI Assistant and MCP server terms of service the first time the feature activates in this project. Accept the prompt so Unity's MCP server and Convai's tools can register. If no prompt appears, open Project Settings > AI > Unity MCP Server directly to accept the terms and confirm which MCP clients are connected to your project.
Resolve any row that shows a warning
Each unready row shows a Fix button. Click Fix next to Unity AI Assistant to install com.unity.ai.assistant@2.14.0-pre.1 through Package Manager — Unity recompiles and the row updates automatically. Click Fix next to Packaged Convai Skill or Convai MCP Tools to refresh package assets and re-register Convai's tools without reinstalling the Assistant package.
Clicking Fix while Unity is compiling, updating packages, or in Play Mode shows a warning and does not start the repair — exit Play Mode first, since repair never exits Play Mode for you. A Fix button is only disabled outright while a repair it started is already running.
Install your coding agent's managed instructions
Choose your coding agent
Scroll to the Managed Project Instructions card. Convai lists each supported agent with the file it manages — for example AGENTS.md for Codex, CLAUDE.md for Claude Code, and .cursor/rules/convai-unity-sdk.mdc for Cursor. See Supported coding agents for the complete list and per-agent notes.
Install the managed instructions
Click Install next to your agent. Convai writes a sentinel-delimited block, marked by <!-- BEGIN CONVAI UNITY SDK --> and <!-- END CONVAI UNITY SDK -->, into that agent's file without disturbing any existing content. The button changes to Update once the block exists, and Remove becomes available to delete it later.
The managed instructions direct your agent to read Packages/com.convai.convai-sdk-for-unity/AIAssistantSkills/convai-unity-sdk/SKILL.md and its linked references, use Unity's generic MCP tools for GameObjects, scripts, and scenes, and use Convai's tools for SDK configuration and diagnosis.
Verify the tool count
The Convai MCP Tools row reads 20/20 registered once Unity's MCP registry has registered all twenty Convai tools under tool contract version 4. If the count is lower or the row lists a missing or unexpected tool name, click Fix next to Convai MCP Tools to refresh the registry and recompile.
Setup is complete when all four rows read Ready and Convai MCP Tools reads 20/20 registered.
Prompt the agent to build your scene
With managed instructions installed and the tool count verified, prompt your agent in plain language. Convai's tools handle SDK-specific configuration; your agent's Unity MCP tools handle generic GameObjects, scripts, and scene operations.
Build a scene
"Set up a training-simulation room with a Convai Player and a Convai Character named Instructor."
Add the chat UI
"Add the shipped chat UI to the scene so the transcript is visible during the conversation."
Switch push-to-talk or hands-free
"Switch the room to Push to Talk input mode."
Add objects
"Add a red fire extinguisher GameObject next to the workbench."
Enable vision
"Turn on vision for the Instructor character so it can see the workbench."
Vision setup is not one of Convai's twenty foundation tools, so your agent configures it by editing ConvaiRoomManager and adding ConvaiVisionPublisher directly. See Vision quick start for the exact fields it sets.
What to try next
Prompt your agent for two or three of the tasks above in your own project, and check the resulting scene in the Hierarchy before entering Play Mode.
Last updated
Was this helpful?