Skip to main content
Agent templates add a chat API to your sandbox. This guide uses agent37-hermes; you can also host another harness. Your own images only serve the APIs you put in them.

Create an instance for the agent

Get an API key and make sure your workspace wallet is funded. These examples use curl and jq; see the create endpoint for Python and Node.
The budget permits up to $1 of managed-service spending from your wallet. It does not add money to the wallet. Without a budget, managed model calls are refused.

Wait for the agent

Creation returns when the computer is running. The agent may still be starting. In Bash, poll health for up to three minutes; healthy: true means the harness is ready, while ok alone only means the gateway is answering.
If the wait fails, check logs before continuing. Other harnesses may need their own account or provider key connected before they become healthy; follow the guide for that template.

Send a message

The finished response includes these fields:
Response excerpt
Read status: a failed turn can return HTTP 200 with status: "failed" and an error. Reuse session_id to continue the conversation, or set stream: true for live events. See Send a message for the full contract and examples in curl, Python, and Node.

Clean up or build an app

Delete a test instance when you finish; this permanently removes its data and ends billing:
To keep building, follow Build a chat app, Streaming, or the examples.