> ## Documentation Index
> Fetch the complete documentation index at: https://vendo-mintlify-24213046.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# In your existing agent

> Spread Vendo's guarded tool pack into an AI SDK or Mastra loop you already run, and render what it returns in your own chat.

Keep your loop. Vendo adds the guarded tools and renders what they return.

Every path starts with [`npx vendo init`](/reference/vendo-init), which reads your repo before it
asks anything. It asks how people will use your agent, how your users sign in,
where the app runs in dev, and whether it may send your source to a model
provider to grade your tool catalog — every one Enter-to-accept, and all of them
[listed with their flags](/reference/vendo-init#what-an-interactive-run-asks) —
then writes the wiring. Pick how your loop runs and follow that page end to end —
each one is complete on its own.

<CardGroup cols={3}>
  <Card title="Quickstart: AI SDK" icon="https://mintcdn.com/vendo-mintlify-24213046/6bEQTFgPEqe5pjD7/images/logos/vercel.svg?fit=max&auto=format&n=6bEQTFgPEqe5pjD7&q=85&s=14cd7b0036e659930da8a85a64428376" href="/existing-agent/ai-sdk" width="256" height="222" data-path="images/logos/vercel.svg">
    Per-request packs, `dynamic-tool` parts, one route edit.

    `vendoTools(vendo, { principal })`
  </Card>

  <Card title="Quickstart: Mastra" icon="https://mintcdn.com/vendo-mintlify-24213046/6bEQTFgPEqe5pjD7/images/logos/mastra.svg?fit=max&auto=format&n=6bEQTFgPEqe5pjD7&q=85&s=33509195f673a8432edfa3da06b19b7f" href="/existing-agent/mastra" width="1000" height="1000" data-path="images/logos/mastra.svg">
    A static definition, the request-context caller, one route edit.

    `VENDO_PRINCIPAL_KEY`
  </Card>

  <Card title="Quickstart: MCP" icon="https://mintcdn.com/vendo-mintlify-24213046/6bEQTFgPEqe5pjD7/images/logos/mcp.svg?fit=max&auto=format&n=6bEQTFgPEqe5pjD7&q=85&s=4c3805f9f763c8542f89f478cbc1c176" href="/outside-agents/quickstart" width="24" height="24" data-path="images/logos/mcp.svg">
    Any agent that speaks MCP gets the same guarded tools.

    `createVendo({ mcp: true })`
  </Card>
</CardGroup>
