Skip to content

Use case · Agent harness

Every agent in your stack works against one contract

Coding agents now write tracking, and analytics agents answer questions from the data. Through the Avo MCP they work from the same plan as your team: which events exist, what each one means and what it should look like at every step.

Your coding agentConnected to Avo

Track the cart value when a checkout starts

  • Found Checkout Startedit’s already in your plan, owned by the Checkout team
  • Tried to add cart_valueyour naming rule: properties are written in Title Case
  • Added Cart Valuesaved on a branch, waiting for the owners’ review

World's leading teams trust Avo

The problem

An agent is fast, and it guesses

When it designs

It invents names

Say an agent ships sign_up where your plan says signup. Without the plan in front of it, an agent picks its own event and property names, and both versions end up in your data.

When it builds

Its code passes review

The tracking call looks fine in a pull request. Nothing in the code says the plan expected something else.

When it answers

It sounds right

An analytics agent that reads raw event tables can pick the wrong event and still answer with confidence.

How Avo handles it

Your plan sets the rules for every agent

  1. 01 · Design

    It starts from your plan

    Through the Avo MCP, the agent reads the events, properties, naming rules and owners you already have. It reuses them and doesn’t invent duplicates, and your rules correct it as it goes.

    Your coding agentConnected to Avo

    Track the cart value when a checkout starts

    • Found Checkout Startedit’s already in your plan, owned by the Checkout team
    • Tried to add cart_valueyour naming rule: properties are written in Title Case
    • Added Cart Valuesaved on a branch, waiting for the owners’ review
  2. 02 · Review

    Agents propose. People approve.

    Every change an agent makes lands on a branch and is checked against your rules. You can require review before a branch merges into your main plan, and approval from the team that owns the data it touches.

    Tracking planDraft: add-cart-value
    Checkout StartedEvent
    Cart Valuea number, requiredNew
    Checkout teamOwnerApproved

    Proposed by an agent, approved by the Checkout team

  3. 03 · Build

    Wrong calls fail before they ship

    Avo Codegen turns the plan into a type-safe tracking library. A call that doesn’t match the plan is an error the agent sees at once, and fixes.

    // generated by Avo Codegen from the plan
    Avo.checkoutStarted({ cartValue: 129.5 });
    
    Avo.checkoutStarted({ cartVaule: 129.5 });
    // error: 'cartVaule' is not a property of
    // Checkout Started. Did you mean 'cartValue'?
  4. 04 · Answer

    Analytics agents read the same definitions

    An agent that answers business questions reads what each event means from the plan your team approved, so the answer uses the event you mean.

    Your coding agentConnected to Avo

    How many checkouts started last week?

    • Read Checkout Started from the plansent when a person opens the checkout, owned by the Checkout team
    • Answered from that eventand not from a similar-looking one
The power of Avo is this: what is designed is what is implemented.
Juan Jose VillegasEngineering Manager, Rappi
Read the story
Keep reading

More on this

For your role

Avo for developers and their coding agents

What changes for you

How it works

Watch an agent take one change from idea to production

See the three steps

From the blog

Your AI doesn’t remember your tracking plan. The Avo MCP does.

Read the post

Your campaigns, dashboards and agents are only as good as your data.

One plan, checked at every step, for every person and agent in your stack.