Agent servers
Sizing, disk, self-deploy tokens, and what happens when you delete an agent server.
What an agent server islink
An agent server — instances in the API and MCP tools — is the always-on workstation one or more Teammates run on: its own files, its own tools, always running. A sleeping server is the alternative: it stops while idle and wakes when you message it. You create one, decide which Teammates share it, and wire up who in your organization can talk to them. Everything you configure here (size, disk, self-deploy) stages as a pending change and takes effect on your next deploy (a sleeping server is the exception: it applies saved changes on its own).
Each agent server in an Organization needs its own name; names that differ only in capitals ("main" and "Main") count as the same. If two older servers already share a name, the dashboard shows each one's number after it ("Main #12") so you can tell them apart; rename one to drop it.
Chat from the dashboardlink
Open New chat under Chats in the dashboard sidebar to talk to an agent directly; the sidebar also lists your recent conversations for the agent server you have open (or your first server otherwise). It's a full-screen chat: replies render as formatted text (headings, lists, tables, code blocks you can copy), and the status bar shows which agent you're talking to and its model. It's a separate conversation from any Telegram, Slack, or Discord chat, and it follows each Teammate's list of who can talk to it, so members you've given access can use it too (agent servers that still use the older per-channel allowlists stay owner-only). Each conversation belongs to one Teammate: switch Teammates from the status bar to start or continue a conversation with that one, and rename or delete conversations from the sidebar, and delete them from the View all chats page too (deleting asks you to confirm first and cannot be undone; a deleted conversation disappears from the list, and its messages are not sent anywhere). The model picker in the status bar changes the model for your next messages, limited to the models your organization allows for the server; the context ring shows how much of that model's window the conversation uses. You can attach up to 8 files per message: images (PNG, JPEG, GIF, WebP) up to 4 MB each (4 MB of images per message) and text files (notes, CSV, JSON, code) as long as your message and text files together stay under 32 KB; these files are passed to the agent with the message, not stored. On desktop browsers, Share screen in the message box captures a picture of the screen, window or tab you pick every 2 seconds (up to 20 pictures or 60 seconds, no audio); press Stop, remove any pictures you don't want, and Attach them to your message so your Teammate can look at them. They count as images toward the 8 files and 4 MB limits above, so if more than 8 were captured the chat offers to keep 8 evenly spaced ones. The button isn't shown on phones and browsers that can't share a screen. Where large uploads are available for your server, any other file of any type, up to 32 MB each, uploads with a progress bar (still 8 files per message in total), and so do images over 4 MB, which your agent receives as files; your organization can upload up to 2 GB per rolling 24 hours, and uploaded files are kept until your organization is deleted and removed no sooner than 30 days later, as described in the privacy policy. Files you attach but never send are removed after 2 days, so attach them again if you come back to the message later. Your agent can send you files too (an image it made, a PDF, a CSV, up to 10 MB each): images show in its reply and other files download, and they stay with the conversation. Messages your agent sends on its own, such as an image it finishes in the background or the result of a task it handed off, appear in the open conversation without a reload. No voice. The agent answers one message per conversation at a time, so wait for a reply to finish before sending the next in that conversation. A message you send from another tab or device while a reply is running waits its turn and sends after that reply. During a long task the chat shows that your agent is working, and the reply appears when it finishes. If you leave the page, the reply is still saved to your history. Each conversation shows your most recent 100 messages. Chat needs the server to be running. On a sleeping server, the first reply takes a few seconds longer while it wakes.
If your Teammate is restarting when you send a message, the chat keeps your message, shows that it's waiting, and retries automatically for about 16 minutes. If the reply is cut off partway (for example because your Teammate restarted), the chat keeps fetching the answer in the background instead of showing an error; press Stop, or send a new message, to stop waiting for it. If it doesn't come back in time, your message is kept and you can press Try again. A message with images or text files attached isn't kept waiting: an error appears, so re-attach them and send again. Large uploads wait and retry like a plain message.
Sleeping serverslink
A sleeping server stops while it's idle and wakes automatically when you message it, so the first reply after a quiet spell takes a few seconds longer. Its status shows Sleeping.
You choose it with the Availability option when you create a server (Sleeps when idle, as opposed to Always on), or with runtime_backend (always_on or sleeps_when_idle) in the API and MCP tools. It can't be changed afterwards.
A sleeping server is kept simple:
- One Teammate,
main. You can't add more. - Fixed size and disk. There's nothing to choose or resize.
- No messaging channels (Telegram, Slack, Discord) and no webhooks. You talk to it from the dashboard chat.
- No per-server model list. The organization's model settings apply.
- Changes apply on their own. When you save a change (server settings, a Teammate's files, secrets, models), it applies in the background, so you don't need to deploy, and a new sleeping server deploys itself as soon as you create it. While your account is suspended, changes stay pending; once you resolve billing and the suspension lifts, they apply on their own. Changes a Teammate makes through the API or MCP tools wait for your approval unless that server has self-deploy turned on; see Approving a Teammate's changes.
- No deploy step. There is no Deploy button, no pending-changes bar for its edits (a pending deletion can still show there, as Deploys explains; a Teammate's proposal shows its own bar) and no deploy history for a sleeping server, and the Deploys menu item is hidden if all your servers are sleeping ones. Its health badge reads Applying while a saved change is going in and Not started before it has first run, instead of "Deploying" and "Not deployed". Shut down and Start server work as they do on any server; starting a stopped sleeping server starts it without a deploy step. Deleting one still finishes through a deploy.
Approving a Teammate's changeslink
When a Teammate changes its own sleeping server and self-deploy is off, the dashboard shows a bar at the top: Your agent proposes a change, with what changed. Review changes shows the full diff, Approve applies it, and Deny removes every pending change on that server. The Teammate also asks you to approve in the chat, and a decision made there shows in the dashboard for two days as "Approved in Telegram by Alice" (or "Denied in Slack"). After you approve, the proposal stays out of the list until the server has applied it. If your Teammate changed something in the meantime, or applying failed, the proposal comes back with a note saying why, and you approve it again after reviewing it. If more changes arrive while you're looking, approve again after reviewing them. While a proposal waits, you can't save your own changes to that server, or company-wide changes, until you approve or deny it: your save would apply the Teammate's change with it, so the dashboard points you at the bar instead. A Teammate can't add or remove secrets this way: add them yourself in the dashboard, or turn on self-deploy for the server.
Sizelink
Every agent server has a size, chosen from two families:
| Family | Best for |
|---|---|
| Standard | Ops, support, SEO, sales — general-purpose Teammates |
| Performance | Engineering — heavier compute workloads |
Each family comes in Small, Medium, Large, and XL, differing in vCPU and RAM. See pricing for the full size catalog and current rates — this page won't restate numbers that live there.
Changing size later works the same as setting it initially: it's a pending change, applied on deploy.
Disklink
Disk size ranges from 20 GB to 1000 GB. The default for a new agent server is 20 GB — raise it if your Teammates' workspace, skills, or working files need more room.
Parallel work limitslink
Two optional settings cap how much an agent server does at once:
- Max parallel turns (
agent_max_concurrent, 4 to 20) limits how many conversations and tasks the server works on at the same time. Extra messages wait their turn. - Max parallel subagents per task (
subagent_max_concurrent, 2 to 8) limits how many subagents a single task can run side by side.
Leave either blank and the server sizes it automatically from its CPU count, which suits most servers. The dashboard shows the automatic value in the empty field. Raise a limit when messages queue up behind each other and the server has CPU to spare; lower it if the server feels sluggish or runs out of memory under load.
Changing either limit is an infrastructure change: it takes a full deploy and the server is replaced (see Deploys & pending changes). Both are also available as agent_max_concurrent and subagent_max_concurrent on the API and the update_instance MCP tool; send null to go back to automatic.
Diagnostics tracelink
The Diagnostics trace setting (diagnostics_trace_enabled, off by default) records the full model requests an agent server sends: system prompt, prompt, and messages. Use it to diagnose prompt-caching and cost problems.
- Where:
/var/lib/openclaw/diagnostics/cache-trace.jsonl, plus one rotated copy ending in.1, on the server's own disk. Only the agent's user can read it. Your Teammate can read it for you. - Cap: the current file plus one rotated copy, about 100 MB each.
- Never uploaded or backed up. The trace is deleted whenever the server is replaced, including the refresh that applies the setting.
- Memory-pressure snapshots: the setting also turns on redacted snapshots. They contain no prompt or message text and are written only under critical memory pressure. They are kept with the server's persistent, backed-up files.
Turning the setting on or off replaces the server through a refresh. Because the trace contains your prompts and conversation text, turn it on only while you are investigating a problem.
You can set it in the agent server's settings, or through the API and MCP (create_instance and update_instance accept diagnostics_trace_enabled).
Self-deploylink
Each agent server has its own MCP token, used when a Teammate (or a script acting through that server) calls the API on the server's behalf. The allow_self_deploy toggle controls whether that token is allowed to trigger a deploy for its own server. Leave it off unless you specifically want a Teammate to be able to deploy changes to its own server without a human clicking Deploy.
On a sleeping server, self-deploy also decides whether a Teammate's changes apply on their own or wait for your approval, and whether it can save secrets.
Turning self-deploy off takes that permission away from the token right away, not on your next deploy. Turning it on takes effect the next time that server restarts or is redeployed.
If an agent server stops respondinglink
The platform checks every agent server around the clock. If one stops responding, the platform starts a fresh copy of the same server and switches over once the new copy is healthy. The old copy keeps running until then, so the switch itself adds no extra wait. If the old copy had stopped answering completely, your Teammates won't reply until the new one is ready, which takes about 10 minutes. Their files and memory carry over.
If the problem comes back within an hour, or keeps coming back, automatic replacement pauses so the server isn't replaced over and over. If your Teammate is still answering, it can see this and will tell you. Contact us so we can look at it. You don't need to deploy anything or change any settings for this.
Each agent server's page has a Health section listing the current issues the platform found on that server, such as automatic replacement being paused or a channel turned on without its token, along with when each one started. When there are none, it shows "No issues detected". "Updated" is when that list of issues last changed. "Last report" is when the server last checked in, which it does about once an hour. If Last report is more than a couple of hours old, the server may have stopped reporting, so contact us.
Deleting an agent serverlink
Deleting an agent server permanently tears down its machine, files and backups. Deleting stages the removal. An always-on server's teardown may wait for your next deploy, and a sleeping server starts its teardown as soon as you delete it. To tear down only that server, without shipping other servers' pending changes, use Deploy this server on it in Review changes. Until the teardown starts you can discard the pending deletion; once it is running it can't be stopped or undone.
To remove the whole organization and all of its servers at once, see Deleting your organization.
Your company memory database and your Observability project are kept. Deleting a server also removes the secrets you saved for its Teammates. Company secrets are kept. Contact support within 30 days if you need a deleted server's Teammate secrets back.
Once the server is gone, its MCP tokens are revoked — anything that was authenticating with that server's token stops working. Make sure nothing outside the platform depends on that token before you delete.
Deleting removes every Teammate on that server along with it.
Shutdown vs. deletelink
Shutting down an agent server stops it without deleting its configuration. Deleting is permanent; shutdown is not.
Also configurable per serverlink
A few things that live at the agent-server level are documented on their own pages because they have enough surface area to need it:
- Model configuration — an agent server can narrow the company-wide allowed model list to a subset for its own Teammates.
- Secrets & egress — host allowlists and secret overrides can be scoped to a server.
- Deploys & pending changes — force-deploy and discard operate per server.
API and MCPlink
Agent servers have full dashboard/API/MCP parity — everything above is available through the HTTP API and MCP tools as well as the dashboard. See API & MCP for the resource map.