AI agents
AI assistants increasingly search and ask on someone's behalf. Tio can give them a clear summary of your business and let them ask your assistant directly, over plain HTTP or MCP.
Agent access is off by default. It needs no change to your widget. Ask us to switch it on.
Your llms.txt summary
Tio publishes a plain-text summary for AI agents at:
https://tio.tyo.com.au/llms/your-name.txt
If your site is in more than one language, each extra language has its own file, for example https://tio.tyo.com.au/llms/your-name.zh-Hans.txt. The files link to each other.
The summary is built from material you already publish:
- your business name and a one to three sentence summary,
- your services,
- your website pages and articles,
- your public contact email and phone,
- how to ask your assistant (the addresses below).
It never includes Tio's instructions, internal email addresses or keys. It updates when we re-read your site or change your services or contact details.
Publish it at /llms.txt on your own site
Agents look for /llms.txt at the root of your domain. Point that address at your Tio file.
With nginx, a redirect:
location = /llms.txt {
return 302 https://tio.tyo.com.au/llms/your-name.txt;
}
With Next.js, a rewrite in next.config.js (so your file always matches the latest version):
// next.config.js
module.exports = {
async rewrites() {
return {
beforeFiles: [
{ source: '/llms.txt', destination: 'https://tio.tyo.com.au/llms/your-name.txt' },
],
};
},
};
If your site already has a rewrites() function, add the entry to it. beforeFiles makes it win over any public/llms.txt.
On other sites, saving a copy of the file as /llms.txt works too, but you'll need to refresh it when your site changes.
Ask over HTTP
Agents can ask one question at a time:
curl -s -X POST https://tio.tyo.com.au/agents/your-name/ask \
-H 'content-type: application/json' \
-d '{"question":"Do you offer weekend appointments?","language":"en"}'
Request: JSON, up to 8 KB.
question: 1 to 1000 characters, one self-contained question. There is no conversation history.language(optional):"en"or"zh-Hans". Without it, Tio detects the language from the question.
Response (200):
{
"answer": "…",
"language": "en",
"sources": [{ "title": "…", "url": "https://…" }],
"services": [{ "id": "…", "title": "…", "url": "https://…" }]
}
sources are the pages the answer came from. services appears only when a service matches.
Errors:
| Status | Meaning |
|---|---|
| 400 | The request isn't valid (for example, an empty or too-long question). |
| 413 | The request body is larger than 8 KB. |
| 415 | The Content-Type header isn't application/json. |
| 404 | Unknown name, or agent access is switched off. |
| 402 or 503 | The assistant is paused or not yet set up (for example, a monthly limit was reached or a provider is down). |
| 429 | Too many requests, or today's agent limit is used up. Check the Retry-After header. |
The endpoint allows requests from any origin (CORS *) and takes no credentials.
A short plain-text guide for agents is also served at https://tio.tyo.com.au/agents/your-name.
Ask over MCP
Tio runs an MCP server for your business:
https://tio.tyo.com.au/mcp/your-name
It uses the Streamable HTTP transport in stateless mode (no sessions; send requests with POST). It has three tools:
| Tool | What it does |
|---|---|
ask(question, language?) | Asks your assistant one question. Same answers and limits as the HTTP endpoint. |
list_services(language?) | Lists your services (title, subtitle, link). No AI call. |
get_contact() | Your public contact details (email, phone, website). No AI call. |
To try it, connect the MCP Inspector to the address above:
npx @modelcontextprotocol/inspector
Limits
- Per IP address: a small number of questions per minute, shared by the HTTP endpoint and the MCP
asktool. - Per day: a daily limit of agent answers for your business, counted per Sydney calendar day and separate from your website visitors. We set it with you.
- Per month: your overall monthly limit also applies.
Agent answers use your AI provider key, like the chat on your site. Answers come only from your own published material, and agents can't fill in forms or book anything.
Switching it off
Ask us and we'll switch agent access off. All three addresses (llms.txt, ask and MCP) then return 404.