Build with AI agents
Give your coding agent the current docs: a line in its instructions, the setup guide, the docs MCP server or Markdown pages.
A coding agent such as Claude Code, Cursor, VS Code or Codex can write your integration with the API. It gets it right when it reads these docs rather than what it remembers: the API gains fields, options and models, and what an agent learned about it may be old or wrong. Give it the docs in one of these ways, or several.
Choose a way
| Way | When to use it | What it needs |
|---|---|---|
| A line in your agent's instructions | A project that calls the API, or soon will: every session starts from the current docs. The default. | One line in a file your agent reads |
| Onboard your agent | The first setup: the agent asks you for a key, writes a first request that works, then offers to set up the other two. | The line the console's Overview copies |
| The docs MCP server | Long sessions with many questions: the agent searches the docs and reads only the pages it needs. | An agent that supports MCP |
| Markdown pages | Any tool that reads an address, and a chat with an assistant about one page. | Nothing |
For a first setup, use Onboard your agent: once the first request works, the agent offers to pin the line and to add the docs MCP server for you. In a project that already calls the API, pin the line, and add the server too if your agent supports MCP: the line makes the agent look, the server makes looking quick.
Pin the docs in your agent's instructions
Add this line to the instructions your agent reads at the start of every session. Before it writes code that calls the API, it reads the index of the docs and the pages that fit the task.
Before writing code that calls the Vatis Tech API, read https://platform.vatis.tech/llms.txt and the pages it links that fit the task. The API changes: do not rely on remembered endpoints, fields or model names.| File | Read by |
|---|---|
AGENTS.md, at the project's root | Codex, Cursor, VS Code and many other agents |
CLAUDE.md | Claude Code |
A rule in .cursor/rules/ | Cursor |
.github/copilot-instructions.md | VS Code |
Keep the line as it is: the addresses in it are the docs' own, and they stay the same.
Onboard your agent
The Onboard your agent button at the top of the console's Overview copies one line. Paste it to your agent, in your project:
Set up Vatis Tech speech-to-text for me. Fetch https://platform.vatis.tech/docs/get-started.md and follow it.The line sends the agent to a setup guide written for it, https://platform.vatis.tech/docs/get-started.md. The guide is public like these docs, so the line above works as well. Following it, the agent:
- Asks you to make an API key on the API keys page and to set it as
VATIS_KEYyourself, where the code runs. It never asks for the key in the chat, and never writes it into code, a command or a committed file. If you paste the key anyway, it tells you to revoke it and make a new one. - Checks the key with
GET /v1/models, and keeps the API's address in one place in your project's configuration. - Writes a first batch request, the one the Overview shows, in cURL, Python or JavaScript: the file sent, answered at once, then its transcript asked for until it is done.
- Reads how real-time sessions work, and the list of every page of these docs for the rest.
- Offers to keep the docs at hand for every later session: to pin the line in your project's instructions, and to add the docs MCP server to the agent you use. It asks before each, and changes nothing you decline.
- Tells you what it needs from you, and what it changed when it is done.
The docs MCP server
An agent that supports MCP (the Model Context Protocol) can search these docs and read their pages itself, while it works, instead of loading whole pages before it starts.
- Address
https://platform.vatis.tech/docs/mcp- Transport
- Streamable HTTP
- Sign-in
- None. It reads only the public docs, and changes nothing.
| Tool | What it does |
|---|---|
search_docs | Searches the docs, in plain words or by exact names. Gives the pages that match best, each with its path and the passage that matched. |
read_doc | Gives a whole page as Markdown, by its path (/docs/realtime/end-of-turn) or its full address, and the setup guide of Onboard your agent as get-started. |
list_docs | Lists every page, endpoints included, with its path and one sentence. |
The server also tells the agent when to use each tool, and offers the setup guide of Onboard your agent as a resource.
Add it to your agent
claude mcp add --transport http vatis-docs https://platform.vatis.tech/docs/mcp- Claude Code: the command adds the server for you, in this project. Add
--scope userfor every project, or--scope projectto write it to the project's.mcp.jsonand share it with your team. - Cursor: in
.cursor/mcp.jsonin your project, or~/.cursor/mcp.jsonfor every project. - VS Code: in
.mcp.jsonat the workspace's root, or in~/.copilot/mcp-config.jsonfor every workspace. An older setup in.vscode/mcp.jsontakes the sametypeandurlunderservers. - Codex: the command writes it to
~/.codex/config.toml, as[mcp_servers.vatis-docs]withurl = "https://platform.vatis.tech/docs/mcp". A trusted project can keep it in its own.codex/config.toml.
Any other client that supports Streamable HTTP takes the address as it is, with no key and no header.
What to ask
With the server added, ask your agent as you would ask a colleague who has the docs open:
- “Which audio encodings does a real-time session take, and which sample rate does
mulawneed?” - “Our voice bot answers late. How does it learn that the caller has finished speaking?”
- “Use a vocabulary with our product names in every batch request.”
Markdown pages and llms.txt
- Every page as Markdown, at its address plus
.md:https://platform.vatis.tech/docs/quickstart.md. The buttons beside each page's title copy the page as Markdown (Copy page), open it (View as Markdown), or open ChatGPT, Claude or Perplexity with the page to ask about. llms.txt, athttps://platform.vatis.tech/llms.txt: the index of the docs for language models, every page's Markdown address with one line on what it covers. The pinned line points here.llms-full.txt, athttps://platform.vatis.tech/llms-full.txt: every page in one file, in the sidebar's order, for a tool that reads one file whole.