II.
AgentRuntimeImpl JSON
Structured · liveagent-runtime-impl:pi.runtime@current
Pi Runtime (current) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "agent-runtime-impl:pi.runtime@current",
"_kind": "AgentRuntimeImpl",
"_file": "agent-stack/runtime-impls/pi-runtime-current.yaml",
"_cluster": "agent-stack",
"attributes": {
"displayName": "Pi Runtime (current)",
"agentVersionId": "agentVersion:pi:ge-0-75-5",
"subagentDispatchMechanism": "none",
"packageRef": "source-ref:pi-github",
"builtInTools": [
"tool-descriptor:read",
"tool-descriptor:write",
"tool-descriptor:edit",
"tool-descriptor:bash"
],
"toolRegistryDiscovery": "static-bundled",
"hookSockets": [],
"internalSessionStateLocation": "~/.pi/agent/sessions/",
"sessionFileFormat": "jsonl-tree",
"sessionFilePathConvention": "~/.pi/agent/sessions/<session-id>.jsonl",
"approvalGatingPrimitive": "per-call",
"subprocessSandboxStrategy": "none",
"runtimeIdentity": "api-key",
"rpcToolOptions": {
"bash": {
"excludeFromContext": {
"supported": true,
"introducedIn": "0.76.0",
"notes": "RPC clients can suppress bash command output from the next prompt context."
}
}
},
"supportedMCPTransports": [
"mcp-transport:stdio"
],
"supportsStreaming": true,
"harnessFeatures": {
"skillInvocation": "Skills are invoked via formatSkillInvocation in the harness layer.\nThe harness formats skill calls into the agent loop and dispatches\nthem as structured tool-use interactions.\n",
"promptTemplates": "Pi's harness includes a prompt-template system for composing system\nprompts, tool descriptions, and context injection. Templates are\nparameterized and resolved at session start.\n",
"compaction": "The AgentHarness implements branch-summarization compaction. When\ncontext window usage exceeds a configurable threshold, older\nconversation branches are summarized and replaced with condensed\nrepresentations. Settings include threshold percentage and\nsummarization strategy.\n",
"sessionManagement": "Session state is managed by the harness with JSONL-tree persistence.\nSessions support resume, fork, and branch operations. The harness\ntracks conversation structure as a tree of turns.\nPi 0.76.0 adds `--session-id <id>` so callers can create or resume\nan exact project-local session instead of relying only on env state.\n",
"executionEnvironment": "The harness provides an execution-env abstraction layer that\nnormalizes OS, shell, and filesystem access across platforms.\nTool implementations (bash, read, write, edit) are dispatched\nthrough this abstraction.\n",
"rpcBashContextControl": "Pi 0.76.0 RPC mode accepts `excludeFromContext` on `bash`.\nWhen true, command output is returned to the RPC caller but omitted\nfrom context sent with the next model prompt.\n"
}
},
"outgoingEdges": [
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "layer:5-agent-runtime",
"kind": "realizes",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "agent:pi",
"kind": "composes",
"attributes": {
"role": "runtime"
}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "tool-descriptor:read",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "tool-descriptor:write",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "tool-descriptor:edit",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "tool-descriptor:bash",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "mcp-transport:stdio",
"kind": "connects",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "capability:supports-mcp",
"kind": "supports",
"attributes": {
"versionRange": ">=1.0.0",
"level": "full",
"notes": "MCP via stdio.\n"
}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "compaction-policy:pi-coding-agent",
"kind": "compaction_policy_applied_by",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "output-guard:pi-coding-agent",
"kind": "output_guard_applied_by",
"attributes": {}
},
{
"from": "agent-runtime-impl:pi.runtime@current",
"to": "mcp-transport:stdio",
"kind": "speaks",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agentVersion:pi:ge-0-75-5",
"to": "agent-runtime-impl:pi.runtime@current",
"kind": "composed_of",
"attributes": {
"role": "runtime"
}
},
{
"from": "agentVersion:pi:ge-0-75-5",
"to": "agent-runtime-impl:pi.runtime@current",
"kind": "composed_of",
"attributes": {
"role": "runtime"
}
},
{
"from": "agent-version:pi-sdk@current",
"to": "agent-runtime-impl:pi.runtime@current",
"kind": "composed_of",
"attributes": {
"role": "runtime"
}
},
{
"from": "mcp-transport:stdio",
"to": "agent-runtime-impl:pi.runtime@current",
"kind": "spoken_by",
"attributes": {}
}
]
}