You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Establish the kernel's HTTP interface — the sole extensibility boundary through which external services connect to the kernel. This objective expands beyond the original ConnectRPC scope to address foundational architecture decisions that must be resolved before the interface is set.
Scope
Agent registry: Kernel-level named agent registration with capability querying (model-aligned names like qwen3-8b, gpt-5)
Multi-session kernel: Refactor from single-session to multi-session runtime. Sessions as context boundary for all subsystem integrations
Streaming-first: Add ToolsStream to Agent interface. Kernel loop uses streaming by default
Pure HTTP + SSE: Standard net/http handlers with JSON + Server-Sent Events for streaming. OpenAPI for schema documentation
Child session foundation: Session model includes parent ID and inheritance config (full subagent orchestration deferred)
HTTP API Surface
GET /agents List registered agents and capabilities
POST /sessions Create session (agent name, bootstrap context)
GET /sessions/{id} Get session metadata and status
POST /sessions/{id}/run Submit prompt → SSE stream of events
GET /sessions/{id}/memory List memory keys
GET /sessions/{id}/memory/{key...} Get memory entry
PUT /sessions/{id}/memory/{key...} Save memory entry
DELETE /sessions/{id}/memory/{key...} Delete memory entry
GET /tools List registered tools
Objective
Establish the kernel's HTTP interface — the sole extensibility boundary through which external services connect to the kernel. This objective expands beyond the original ConnectRPC scope to address foundational architecture decisions that must be resolved before the interface is set.
Scope
HTTP API Surface
Subsystems
Dependencies
Depends on Objective: Kernel Core Loop (the interface wraps the runtime loop).
Architecture Decisions