# Agent Host

> Chat with your own Claude Code or Codex inside Fiddle, on the artifact you have open.

[Agent Host](https://lab.basswood.studio/agent-host) runs your own agent on your machine. Fiddle puts its chat at the bottom right of every page. It uses Fiddle's MCP server, so it can do anything you can, as you, and it knows which artifact you have open.

## Set it up

**1. Start Agent Host**

```bash
npx @basswood/agent-host
```

Or use one you host.

**2. Connect it in Fiddle**

Open the account menu, choose **Connect your agent**, enter its address and press **Connect**.

**3. Approve**

In the window that opens, allow Fiddle, keep **Connect Fiddle's MCP server** on, and approve the sign-in.

## Use it

- Ask from the chat on any page.
- On a comment, **Ask your agent** fills in a request to address it.

Deleting, writing a page's data, and anything that reaches other people (sharing, inviting) wait for you to allow them in the chat.
