Runtime Config
Field-by-field specification for runtime configuration used in multi-agent execution, derived from the backend runtime models.
Schema: RuntimeConfig
Runtime configuration for multi-agent execution. Supports global configurations and agent-specific overrides keyed directly by agent UUID. Runtime merges are shallow: agent-level overrides replace entire sibling objects rather than deep-merging nested structures.
Supported Fields
Unknown top-level keys that are not valid UUIDs raise a validation error. Agent IDs are validated for proper UUID format.
Global Configuration Structures
MCP Configs
{
"mcp_configs": {
"mcp-uuid-1": {
"authentication": {
"type": "custom-header",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}
}Tool Configs
Agent Config
Schema: AgentSpecificConfig
Configuration specific to an individual agent. These objects have the same shape as the global fields in RuntimeConfig. When supplied, they override the corresponding global settings for that agent.
object
Additional properties allowed
Agent-specific configuration (e.g., tool_output_sharing, recursion limits)
Validation Rules
Structure Validation
tool_configs,mcp_configs, andagent_configmust be objects when provided.Additional top-level keys must be valid UUID strings. Their values must be objects conforming to
AgentSpecificConfig.Unknown non-UUID keys raise
Unknown top-level key '<key>' in runtime_config.Invalid UUID keys raise
Invalid UUID: <agent_id>.
Configuration Precedence
Tool Config Filtering
Tool configuration dictionaries are validated so each value is an object. Additional filtering (e.g., matching tool_configs keys to stored agent tools) occurs during agent validation.
Examples
Global Configuration Only
Global and Agent-Specific Overrides
Usage in AgentRunRequest
The runtime_config field in AgentRunRequest accepts this schema and automatically supplants legacy top-level tool_configs and mcp_configs fields.
Legacy requests that still provide the deprecated top-level tool_configs/mcp_configs are automatically converted to runtime_config on ingest, but new integrations should send the new structure directly.
Common Validation Errors
Migration from Legacy Format
The legacy tool_configs and mcp_configs fields at the top level of AgentRunRequest are deprecated. Use runtime_config instead.
Legacy Format (Deprecated)
New Format (Recommended)
Related Documentation
REST API: Agents — Endpoint reference
Python SDK Reference — Method signatures and usage
Agents Schema — Agent configuration details
Tools Schema — Tool configuration details
MCPs Schema — MCP configuration details