The Agents API has three resources. An instance is the agent’s computer, a session is a conversation on it, and a response is a single turn.Documentation Index
Fetch the complete documentation index at: https://agent37.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
| Concept | What it is |
|---|---|
Instance inst_ | An isolated, always-on computer that runs your agent. Built from a template that installs one or more agents (Hermes by default). Persistent until you delete it. Create one per end user. |
Session sess_ | One conversation on an instance, running one of its agents. A message starts one; reuse its id to continue. An instance can hold many. |
Response resp_ | One agentic turn: your input, the agent’s work, its reply. Stream it live or fetch it by id. |
The agent is not the model. The template installs the agents (Hermes, Claude Code, Codex, OpenClaw, or a mix); a session runs one of them. The model is the LLM that the agent runs on, chosen per message as
model + provider. They are separate dials.How they fit together
- Create an instance once per end user. It keeps files, connected accounts, and memory across every session.
- Start a session by sending a message with an
instance_id. The reply returns asession_idyou reuse to continue the thread. - Each message produces a response: one agentic turn you can stream live or fetch later by id.
inst_, sess_, resp_, sched_, conn_, sk_live_), field names are snake_case, and timestamps are unix seconds.
Instances
Create, size, and manage the agent’s computer.
Streaming events
Render text, reasoning, and tool activity live.
Send a message
The core call and its response shape.
Templates
Choose which agents an instance installs.