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

# Vendo's Full-Stack Agent

> Your agent as a panel inside your own product, in your own brand.

Vendo brings the loop, the model, and the chat surface. You paste three things
into your own client.

This picks up after the two commands on the [main quickstart](https://docs.vendo.run/index.md):

```bash npm theme={null}
npm install @vendoai/vendo
npx vendo init
```

```bash pnpm theme={null}
pnpm add @vendoai/vendo
pnpm exec vendo init
```

**1. Mount the provider**

Wrap your app in the provider. On Next.js App Router this is your root layout —
if you don't have one yet (Next 16 no longer scaffolds `app/layout.tsx`), create
it. Your paths and theme are already filled in.

```tsx app/layout.tsx focus={6} theme={null}
import { VendoProvider } from "@vendoai/vendo/react";
import theme from "../.vendo/theme.json";

// in your own RootLayout, props type untouched:
<body>
  <VendoProvider baseUrl="/api/vendo" theme={theme}>
    {children}
  </VendoProvider>
</body>
```

This is the URL the panel talks to. If your app runs at the root of its
domain, the default `/api/vendo` just works. If your app lives under a
prefix — say everything is served from `/maple` — include it:
`baseUrl="/maple/api/vendo"`.

**2. Add the overlay**

One line inside the provider puts your agent on every page. It opens over your
app, or docks beside it with `placement="dock"`.

```tsx app/layout.tsx focus={1,5} theme={null}
import { VendoOverlay, VendoProvider } from "@vendoai/vendo/react";

<VendoProvider baseUrl="/api/vendo" theme={theme}>
  {children}
  <VendoOverlay />
</VendoProvider>
```

**3. Add the slot**

Put a slot where a card would go. A screen the agent builds can live there
instead of in the panel.

```tsx app/overview/page.tsx focus={3,10} theme={null}
"use client";

import { VendoSlot } from "@vendoai/vendo/react";

export default function Overview() {
  return (
    <section className="cards">
      {/* your own components */}
      <BalanceTiles />
      <VendoSlot id="spend-breakdown" />
      <RecentActivity />
    </section>
  );
}
```

Empty, the slot shows a ghost with prompts that open the panel. Ask for a
view, press **Pin to dashboard** on the card that comes back, and it renders
in your grid and stays there.

![Maple's overview page with its own quick actions, balance chart, and account tiles, and a generated spend by category card holding the slot beside them](https://mintcdn.com/vendo/Bl9khJxYuQX2mLio/images/maple/slot-in-page.png?fit=max\&auto=format\&n=Bl9khJxYuQX2mLio\&q=85\&s=37fc26021c44470456a976f060337dc3)

Your page, your grid. The card in the middle is generated.

## Make it yours

The setup was the same for everyone. These, in order, make it yours.

> [card] [Wire auth](https://docs.vendo.run/howto/auth.md)
>
> Swap the demo principal for your real sign-in.

> [card] [Add tools](https://docs.vendo.run/howto/tools.md)
>
> Point Vendo at your API — the agent gets hands.

> [card] [Approve actions](https://docs.vendo.run/howto/approvals.md)
>
> Decide what runs and what asks first.

> [card] [Generate screens](https://docs.vendo.run/howto/screens.md)
>
> Ask for a view, pin it into your grid.

> [card] [Theme it](https://docs.vendo.run/howto/theming.md)
>
> Your fonts, colors, and radii on every surface.

> [card] [Set instructions](https://docs.vendo.run/howto/instructions.md)
>
> The brief your agent reads before every turn.
