Getting Started
Choose Your API
Answers API vs Agent API — pick the right surface in one minute.
Mirobody exposes the same grounded health agent through two surfaces. Both answer from the Subject’s real, standardized health data, and both return the tool trace behind the answer.
POST /v1/chat/completions — closed, one-shot, evidence-backed completions. No client tools, no state. Drop-in OpenAI swap.
POST /v1/responses — OpenAI Responses-compatible. Multi-turn state, your own function tools, response.* streaming.
The Answers API speaks the older Chat Completions protocol and stays deliberately closed — no client tools, no stored state, 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.