One agent, three ways in: it maps a repository before it acts, it works on the app surface it is placed on, and it plugs into other agents and sites.
Try: “Sign me up for SEIS 606: Vibe Coding as Ada, ada@example.com”.
Every action the agent ran on this page, with what the host code did.
Nothing yet.
Adds this deployment's MCP tools (repo_surface, catalog, quiz, json-render and more) to Claude Code.
claude mcp add --transport http tommiebot https://your-deployment/api/mcp
Paste into the client's MCP config (mcp.json or claude_desktop_config.json).
{
"mcpServers": {
"tommiebot": {
"url": "https://your-deployment/api/mcp"
}
}
}One script tag mounts the page-aware agent as a launcher (Ctrl/⌘+J). Cross-origin sites add a token endpoint (docs/portable/embed.md).
<script type="module" src="https://your-deployment/embed/tommiebot-chat.js" data-pop data-endpoint="https://your-deployment/api/embed/chat" data-token-endpoint="/tommiebot-token"></script>
Declare what the agent may do; it proposes, the reader confirms, and your code runs it.
const { TommieBotChat } = await import("https://your-deployment/embed/tommiebot-chat.js")
const agent = TommieBotChat.pop({ context: { plan: "pro" } })
agent.actions.register({
id: "open_invoice",
description: "Open an invoice by its number",
params: { number: { type: "string" } },
run: ({ number }) => { location.assign("/invoices/" + number); return "Opened" },
})The same repo map the MCP tool returns, for scripts and CI.
curl "https://your-deployment/api/agent/repo?repo=vercel/ai"