Agents
AI agents meet your site in two directions, and this tab is organized around them. If you'd rather not run anything yourself, NxisAI can host the agents on your site for you:
| Direction | Who the agent is | What it uses | Start with |
|---|---|---|---|
| Hosted agents | An assistant and a Support Agent that NxisAI runs on your pages for you | Your site's indexed records, with nothing to host yourself | Hosted Agents |
| Agents that use your site | Someone else's agent, out on the web: Claude, ChatGPT, a coding agent, a browser agent, acting for its user | Your site's MCP server, typed retrieval over your structured data, the actions it may run, the NxisAI Hub, and the discovery files that let it find all of that | MCP for AI Agents |
| Agents on your site | An agent you run on your own pages, for your visitors | The on-page agent, and the specialist agents it hands a conversation to over A2A: Support, Quote and Booking | On-Page Agent |
All of them run on the same validated structured data you build in the app.
Hosted agents
NxisAI can run an on-page assistant and the Support Agent on your site for you. You turn them on from Agents in the dashboard or the CLI, preview them, and go live once your organization has accepted the data processing agreement. See Hosted Agents for how they differ from the agents you run yourself.
Agents that use your site
An outside agent finds your site, reads its records and, where you allow it, acts on it:
- MCP for AI Agents: your site's MCP server, and how to connect Claude Desktop, Claude Code, Gemini CLI or your own code to it.
- Typed Retrieval: the discover, query, get pattern over your schema.org records.
- Actions & Bindings: what an agent may submit (quotes, bookings, signups) and where each submission goes.
- NxisAI Hub: one connection that reaches every site listed in the Hub.
- Protocols & Standards:
llms.txt,agents.md, the catalogs and the server card that let an agent discover your server unaided.
Agents on your site
The on-page agent (<nxis-agent> from @nxisai/agent-harness) answers visitors from your page's tools and your site's typed data. Some jobs need more than that: a careful answer from your help content, a quote request that has to reach your office exactly once, a booking for a slot that's still free. NxisAI provides specialist agents for those jobs. You run them on your own server (NxisAI can also host them for you), and the on-page agent hands the conversation over to them when a visitor needs one.
Each agent you run yourself is an A2A 1.0 server on your own origin. It's reached only through a relay you host beside it, so the page never holds a credential or talks to an agent directly.
The agents
| Agent | What it does | Writes anything? | Takes the place of |
|---|---|---|---|
| Support Agent | Answers how-to, product and policy questions only from your site's own help content (FAQs, how-tos, articles, videos, team profiles), cites the record behind every claim, and lists the questions your content couldn't answer. | No. It's read-only | Nothing. Your contact form stays with the on-page agent |
| Quote Agent | Takes a quote or estimate request in conversation, one question a turn, confirms it with the visitor, sends it once to where your quote form sends it today, and hands back your reference. | One quote request, after an explicit yes | Your quote form, while the agent is available |
| Booking Agent | Books a time slot in conversation: offers only free times from your own calendar, in your time zone, confirms the booking with the visitor, re-checks the slot at their yes, books it once and hands back your reference. | One booking, after an explicit yes | Your booking form, while the agent is available |
All three share the same rules:
- The visitor confirms the handoff. The on-page agent shows who the conversation goes to and the summary that goes with it. Nothing leaves the page until the visitor presses Send.
- The visitor confirms anything that's sent. An agent that writes shows a summary written by code, not by the model, and sends only on a plain "yes" to that summary.
- They hand back. When the job is done, or the visitor wants something else, the agent hands the conversation back to the on-page agent with a short note and any references.
- When an agent is away, your page works as before. If the relay lists an agent as unavailable (no model key, the agent down, the relay slow), the on-page agent doesn't offer it, and your forms work as they always have.
When to use which
| The visitor… | Goes to |
|---|---|
| Asks how to do something, how something works, or how to fix a problem | Support Agent |
| Wants a quote, an estimate, or what a job would cost | Quote Agent |
| Wants to book, schedule or reserve a time | Booking Agent |
| Asks to find or list records ("which plumbers cover Royal Oak?") | The on-page agent itself, with typed retrieval |
| Wants to talk to a person | A person target on the same relay, such as your help desk |
You don't have to install all three. Each one is a separate target on the relay. Add the ones your site needs.
What a handoff looks like
From the visitor's Send until the hand-back, what the visitor types goes to the agent, and its replies appear under its name. Back to the assistant ends the handoff at any time. A handoff survives page changes and reloads.
What leaves the page
The first message to an agent carries a handoff envelope. The visitor has seen its summary before pressing Send.
| Sent | When |
|---|---|
reason and summary | Always. The summary is what the visitor saw and confirmed |
page | Always: the page's URL without tracking parameters, its title, and its JSON-LD @id if it has one |
locale | Always: the visitor's language |
facts | Values the visitor gave and agreed to share |
contact | Only when the visitor entered an email or phone to be contacted |
transcript | Only when your relay allows it for that target. It's off by default, and off for all three NxisAI agents |
After that, the agent sees what the visitor types to it, and nothing else from the page. Your relay keeps a record of each handoff (who it went to and what was shared) for its retention period, 30 days by default.
When you run an agent yourself, it runs on your server, with a model key you hold. The conversation goes to that model provider under your account, and to nowhere else NxisAI controls. The Support Agent's content gap list is the one exception: it sends NxisAI a keyed hash of each unanswered question, with counts and the record ids involved. The question's text and the visitor's own words stay on your server.
A Support Agent that NxisAI runs for you works differently: see Hosted by NxisAI.
Setting them up
- Put the on-page agent on your site. Its guardrails are on by default.
- Host the relay and register the agents' targets: A2A setup.
- Add each agent: Support, Quote, Booking.
Each agent has a skill in the NxisAI skills that writes it into the project that builds your site, with the relay target, the page config and a test, and checks it live.
Related
- MCP for AI Agents: connecting an outside agent to your site
- On-Page Agent: the element that hands conversations to these agents
- Agent Guardrails: the rules every turn of the on-page agent passes through
- A2A setup: the relay, agent cards, secrets and hosts
- Protocols & Standards: the open standards a NxisAI site speaks
- Agent Skills Library: the skills that install each agent