/mcp endpoint for your own agent loop. That design choice carries over if you run the engine yourself; the requests and credentials do not. Cloud uses /v1 and a Cloud key, while self-hosted integrations use the deployment’s HTTP API or /mcp.
Answers API
POST /v1/chat/completions — closed, one-shot, evidence-backed completions. No client tools, no state. Drop-in OpenAI swap.Agent API
POST /v1/responses — OpenAI Responses-compatible. Multi-turn state, your own function tools, response.* streaming.chat.completion.chunk streaming only. That’s what lets it drop into an existing OpenAI integration unchanged, or wrap as a single tool inside a larger agent. The Agent API speaks the newer Responses protocol: state between turns (store, previous_response_id, session_id), your own function tools with a full function_call handoff, response.* events. It is what the openai-agents SDK talks to out of the box — change only the base_url.
Everything else is identical: the same server-side grounding over your standardized data, the same mirobody-flash / mirobody-expert models, the same Subject-based tenancy, the same usage accounting.
See also
- Answers API (Chat Completions) — the closed, grounded completion.
- Agent API (Responses) — the open agent loop.
- Quickstart — a key, a record and a first answer.