Skip to content
Get Started

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.

Both are ③ Answers — the third of the engine’s three stages (① Collect → ② Standardize → ③ Answers). The choice on this page is not what you get but who drives the loop: the Answers API closes it server-side and hands you a finished answer, while the Agent API leaves it open so your own tools take part. That is the same distinction the self-hosted engine draws between its two agents, so a decision made here carries over if you later run it yourself.

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.