Agents
Give any model the read and propose tools: AI SDK, Anthropic, OpenAI or MCP.
The tools
Every store makes two tools for an agent. by is the name people see on its proposals.
That is the shape MCP and most model SDKs use, so wiring them up is a few lines. execute returns plain JSON; a refused proposal comes back as { error } for the model to read and fix. See Concepts for what the model sends and gets back.
Vercel AI SDK
Anthropic SDK
OpenAI
MCP
Serve the same two tools to any MCP client, such as Claude Code, Cursor or Codex.
Where the store lives
The tools act on the store in the process that runs them. Run the agent where the store is: in the browser next to the component, as in these docs, or on your server, with the snapshot sent to the page and the person's accepts and rejects sent back.