{
"id": "layer:8-execution",
"_kind": "Layer",
"_file": "stack-layers/layers/layer-8-execution.yaml",
"_cluster": "stack-layers",
"attributes": {
"displayName": "Execution",
"position": 8,
"path": "surfacing",
"scope": "Invocation environment for agent-driven tools, commands, and side effects.",
"summary": "The execution layer hosts agent-driven tool calls and shell commands:\nlocal process, Docker container, SSH remote, Kubernetes pod, cloud\nfunction, direct host, or service-side executor. Execution posture includes\nprocess lifecycle, signal propagation, resource limits, isolation, network\npolicy, filesystem access, GPU access, and concrete runtime substrate.\nRealized by `Execution` nodes.\n",
"responsibilities": [
"Start, stream, interrupt, and stop tool/shell/process execution.",
"Own process lifecycle, resource limits, environment variables, and mounts.",
"Route side effects to local, remote, container, or hosted executors."
],
"examples": [
"Local shell, Docker, SSH remote, Kubernetes pod, GitHub Actions runner.",
"Browser automation worker, notebook/kernel executor, cloud function.",
"LangGraph tool node executing inside a host application runtime."
],
"fitNotes": "Frameworks often delegate execution to user-defined tools. Hosted agent\nproducts may make this layer invisible but still need it for auditing and\npolicy mapping.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "mux:agent-launch-mux",
"to": "layer:8-execution",
"kind": "bridges_protocol_type",
"attributes": {}
},
{
"from": "execution:local-host",
"to": "layer:8-execution",
"kind": "realizes",
"attributes": {}
},
{
"from": "execution:docker-default",
"to": "layer:8-execution",
"kind": "realizes",
"attributes": {}
},
{
"from": "execution:codespaces-container",
"to": "layer:8-execution",
"kind": "realizes",
"attributes": {}
},
{
"from": "execution:k8s-job",
"to": "layer:8-execution",
"kind": "realizes",
"attributes": {}
},
{
"from": "execution:firecracker-microvm",
"to": "layer:8-execution",
"kind": "realizes",
"attributes": {}
},
{
"from": "page:agent-generate-universal-agentic-stack",
"to": "layer:8-execution",
"kind": "documents"
},
{
"from": "page:agent-generate-universal-agentic-stack-layers",
"to": "layer:8-execution",
"kind": "documents"
},
{
"from": "page:agent-generate-universal-agentic-stack-source-map",
"to": "layer:8-execution",
"kind": "documents"
}
]
}