Agents and tools
The same API from an agent, an OpenAI client, your editor and a terminal.
Syllabus
4 lessonsStart hereMCP serverLesson 1 of 4 · 12 min read
What you will learn
- Give an agent the API through the Model Context Protocol — one URL, your key, sixteen tools, nothing to install.
- Any OpenAI client, pointed at our base URL with your key — our own chat models and the catalogue's language models over chat completions, the Responses API and legacy completions, tools and structured output where a model takes them, and embeddings.
- Our own chat models in Cursor, through the editor's OpenAI base URL override — the exact settings, what is known to work and what is not yet, and what each error means.
- @auray/cli: the auray command — list models, read a contract, run an address, follow a request, upload a file, find and wait on a job, read what was spent.
