
Runtime loop: tools, memory, and delegation running in one isolated session.
Responsibilities
- Tool-loop orchestration
- Skill resolution and loading
- Memory read/write in markdown files
- Channel ingestion and outbound delivery
- Subagent and spawn-based delegation
Runtime configuration
Primary config file:Skills hierarchy
The runtime resolves skills in layered precedence:workspace/skillsself-skills(agent-created)- global user skills
- builtin skill bundles
SKILL.md.
Skills system
See discovery, installation, and agent-created skill workflows.
Tool categories
| Category | Examples |
|---|---|
| Filesystem | read/write/edit/search/list |
| Execution | shell/exec with policy constraints |
| Web | browser automation, web fetch/search |
| MCP | external tool servers and discovery |
| Skills | search/install/manage/create |
| Delegation | spawn, subagent |
Memory model
Runtime memory is markdown-centric:MEMORY.mdfor core persistent memory- Daily notes partitioned by date
- Prompt context can freeze memory snapshots per session for stable caching
Channels and gateway
The runtime gateway receives websocket frames proxied by cloud API. Channel adapters process provider-specific payloads and normalize them into runtime message events.Why this matters
- Gives agents local context and continuity
- Enables recursive improvement via skill and memory writes
- Supports the same autonomy model across app chat, APIs, and external messaging channels

