Change an agent's name, harness, model or instructions
PATCH /v1/agents/{agent}
In this build: Real.
Scope: platform.write
CLI: harebox agent set
| Field | Type | Notes |
|---|---|---|
name |
string |
|
harness |
string |
|
model |
string |
|
instructions |
string |
Agent
| Field | Type | Notes |
|---|---|---|
id (required) |
string |
|
name |
string |
|
sandbox (required) |
string |
Its agent-mode sandbox. Every sandbox operation works on it. |
state (required) |
LifecycleState |
|
harness (required) |
string |
|
model |
string |
|
instructions |
string |
Written to AGENTS.md and CLAUDE.md in its home directory. |
end_user |
string or null |
Your external ID for the person this agent serves. |
listing |
string or null |
|
template |
string or null |
|
publisher |
string or null |
|
price_usd_month |
number |
A paid listing's price per agent-month, charged daily from the wallet. 0 when free. |
size |
object |
|
wake |
AgentWake |
|
messages |
integer |
|
created_at (required) |
string |
|
deleted_at |
string or null |
Errors follow one format.

