# Adopting Avo with AI agents

When you use an AI coding agent — Claude Code, Cursor, Codex, and others — to add analytics, it does two things at once: it **decides what to track** (the event and property names, descriptions, and structure) and it **writes the tracking code**. With no shared plan to follow, both drift — names come out inconsistent, events duplicate ones you already have, and the implementation rarely matches what anyone intended.

Avo gives that work a governed home. Your agent connects through the [Avo MCP](https://www.avo.app/docs/reference/avo-mcp/overview.md) and proposes changes against a shared tracking plan with audit rules; every change lands on a branch — never on main — and merging stays a deliberate human step in the Avo web app. Avo governs **both** sides of what your agent generates: the design (what's tracked, named to your conventions, without duplicates) and the implementation (code that matches the plan).

Two [Avo MCP Agent Skills](https://github.com/avohq/avo-mcp) teach your agent to do this well — one for starting from scratch, one for working within a plan you already have. Pick the page that matches your situation:

- [Setting up a tracking plan for AI-generated analytics](https://www.avo.app/docs/adopting-avo-with-ai-agents/setting-up-a-tracking-plan.md): Starting fresh, with no tracking plan yet: the safe, incremental path to install the Avo MCP, bootstrap a best-practice plan, and open your first branch. Governs both the design and the implementation, with the data-designer-new-plan skill.
- [Governing AI-generated analytics with your tracking plan](https://www.avo.app/docs/adopting-avo-with-ai-agents/governing-ai-generated-analytics.md): Already have a tracking plan — in a spreadsheet, another tool, or Avo — that's ungoverned or disconnected from your code? How Avo governs it, connects it to implementation, and keeps your agent designing within it. Covers both the design and the implementation, with the data-designer skill.

## Related

- [Avo MCP Agent Skills](https://github.com/avohq/avo-mcp) — the `data-designer` and `data-designer-new-plan` skills that guide your agent through the Avo MCP.
- [Agentic data design](https://www.avo.app/docs/data-design/guides/agentic-data-design.md) — Avo's in-app AI suggestions for designing tracking.
- [What is a Tracking Plan?](https://www.avo.app/docs/data-design.md) — the governance model Avo enforces.
- [Avo MCP overview](https://www.avo.app/docs/reference/avo-mcp/overview.md) — setup, tools, OAuth, and the branch-write guarantee in full.
