Runtime Capability Matrix • AI Agent SDK
RuntimeCapabilityMatrix: Matrix of capabilities supported by a specific runtime implementation.
RuntimeCapabilityMatrix
Defined in the capabilities module.
AI Agent
Matrix of capabilities supported by a specific runtime implementation.
Each runtime (native, plugin harness, managed service) declares its capability set using this matrix. Agent configurations can specify required capabilities, and validation occurs at runtime selection.
Properties
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
boolNo description available.
Dict[str, Any]No description available.
Methods
Convert matrix to set of enabled capabilities.
supports()Check if this runtime supports a specific capability.
supports_all()Check if this runtime supports all required capabilities.
missing_capabilities()Return set of required capabilities that this runtime doesn’t support.
Usage
# Full native runtime
native_matrix = RuntimeCapabilityMatrix(
native_hooks=True,
tool_loop=True,
streaming_deltas=True,
context_compaction=True,
mcp_tools=True,
code_execution=True,
multi_modal=True,
async_execution=True,
session_persistence=True,
memory_management=True
)
# Limited plugin harness
plugin_matrix = RuntimeCapabilityMatrix(
basic_chat=True,
simple_tools=True,
# All other capabilities default to False
)Source
View on GitHubpraisonaiagents/runtime/capabilities.py at line 50