Book a 30-min callBook a call

site-agent: let visitors ask your website to do things, with your rules

We published site-agent, an open-source tag that lets visitors ask your site to do things and calls only the WebMCP tools your page declared.

A visitor’s request goes to a small agent panel, which picks one of three declared tool cards, waits for an Allow button and writes the run to a trace.
Written by
BYD Tech
Published
Topic
Releases
Reading time
6 min read

Questions people ask

Does site-agent work in browsers without WebMCP?

Yes, within the page. Importing the element installs a local shim, so the same tool registration runs and the agent can call those tools. Outside agents, such as an agent built into the browser, cannot see tools registered on the shim, and declarative form tools need a browser with WebMCP.

Which AI models can site-agent use?

Chrome’s built-in model on the visitor’s computer, any model your own server proxy calls (the included helper speaks to Anthropic, OpenAI and Gemini, or an OpenAI-compatible endpoint) or a function you write. How well a given model picks the right tool has not been measured.

Building something like this?