bma agents archive
Archive Agent
POST /v1/agents/{agent_id}/archive
bma agents archive <agent_id> [flags]
-h, --help help for archive
bma agents create
Create Agent
POST /v1/agents
bma agents create [flags]
--bma-auth string Property of an entry of mcp_servers[]. The project secret the MCP server authenticates with. (JSON or YAML, @file, - for stdin)
--bma-harness string The brain for the agent. Omitted keeps the current one on update; changing it creates a new agent version. (JSON or YAML, @file, - for stdin)
--bma-requirements string What the agent requires of its hands machine (hands.os, hands.capabilities), checked against the environment's candidates when a session is created. A constraint, never a location. Omitted keeps the current value on update, null clears it; a change creates a new agent version. (JSON or YAML, @file, - for stdin)
--body string the whole request body: JSON or YAML, @file or - for stdin; flags override its fields
--description string Description of what the agent does.
--execution-identity string Execution principal for runs of this agent. Omitting it, sending null, or sending {"type": "service_account"} stores the default. (JSON or YAML, @file, - for stdin)
-h, --help help for create
--mcp-servers string MCP servers this agent connects to. Maximum 20. Names must be unique within the array. Every server must be referenced by an mcp_toolset in tools; unreferenced servers are rejected. See the [MCP connector guide](https://platform.claude.com/docs/en/managed-agents/mcp-connector). (JSON or YAML, @file, - for stdin)
--metadata string Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars. (JSON or YAML, @file, - for stdin)
--model string Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison), e.g. claude-opus-5-5, or a model_config object for additional configuration control (JSON or YAML, @file, - for stdin) (required)
--multiagent string Multiagent orchestration configuration. (JSON or YAML, @file, - for stdin)
--name string Human-readable name for the agent. (required)
--skills string Skills available to the agent. (JSON or YAML, @file, - for stdin)
--system string System prompt for the agent.
--tools string Tool configurations available to the agent. Maximum of 256 tools across all toolsets allowed. (JSON or YAML, @file, - for stdin)
bma agents get
Get Agent
GET /v1/agents/{agent_id}
bma agents get <agent_id> [flags]
-h, --help help for get
--version string Agent version. Omit for the most recent version. Must be at least 1 if specified.
bma agents list
List Agents
GET /v1/agents
bma agents list [flags]
--all fetch every page
--created-at[gte] string Return agents created at or after this time (inclusive).
--created-at[lte] string Return agents created at or before this time (inclusive).
-h, --help help for list
--include-archived string Include archived agents in results. Defaults to false.
--limit string Number of items per page.
--page string
bma agents update
Update Agent
POST /v1/agents/{agent_id}
bma agents update <agent_id> [flags]
--bma-auth string Property of an entry of mcp_servers[]. The project secret the MCP server authenticates with. (JSON or YAML, @file, - for stdin)
--bma-harness string The brain for the agent. Omitted keeps the current one on update; changing it creates a new agent version. (JSON or YAML, @file, - for stdin)
--bma-requirements string What the agent requires of its hands machine (hands.os, hands.capabilities), checked against the environment's candidates when a session is created. A constraint, never a location. Omitted keeps the current value on update, null clears it; a change creates a new agent version. (JSON or YAML, @file, - for stdin)
--body string the whole request body: JSON or YAML, @file or - for stdin; flags override its fields
--description string Description. Omit to preserve; send empty string or null to clear.
--execution-identity string Execution principal for runs of this agent. Full replacement. Omit to preserve; send null or {"type": "service_account"} to restore the default. (JSON or YAML, @file, - for stdin)
-h, --help help for update
--mcp-servers string MCP servers. Full replacement. Omit to preserve; send empty array or null to clear. Names must be unique. Maximum 20. Every server must be referenced by an mcp_toolset in the agent's resulting tools; unreferenced servers are rejected. See the [MCP connector guide](https://platform.claude.com/docs/en/managed-agents/mcp-connector). (JSON or YAML, @file, - for stdin)
--metadata string Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars each) with values up to 512 chars. (JSON or YAML, @file, - for stdin)
--model string Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison), e.g. claude-opus-5-5, or a model_config object for additional configuration control. Omit to preserve. Cannot be cleared. (JSON or YAML, @file, - for stdin)
--multiagent string Multiagent orchestration configuration. Full replacement. Omit to preserve; send null to clear. (JSON or YAML, @file, - for stdin)
--name string Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.
--skills string Skills. Full replacement. Omit to preserve; send empty array or null to clear. (JSON or YAML, @file, - for stdin)
--system string System prompt. Omit to preserve; send empty string or null to clear.
--tools string Tool configurations available to the agent. Full replacement. Omit to preserve; send empty array or null to clear. Maximum of 256 tools across all toolsets allowed. (JSON or YAML, @file, - for stdin)
--version string The agent's current version, used to prevent concurrent overwrites. Obtain this value from a create or retrieve response. Must be at least 1 if specified. When supplied, the request fails if it does not match the server's current version; omit to apply the update unconditionally.
bma agents versions
Manage agents versions
Options
-h, --help help for versions
bma agents versions list
List agent versions
List agent versions.
Newest first; each item is the agent as it was at that version.
GET /v1/agents/{agent_id}/versions
bma agents versions list <agent_id> [flags]
--all fetch every page
-h, --help help for list
--limit string
--page string Opaque cursor from next_page.