Docs
/
Architecture
/
Agent runtime
20260503 repo split decision
Previous
Components
Next
On this page
Overview
Key Interfaces
IAgentOrchestrator (Public API)
IAgentRuntime (Internal Abstraction)
Default Implementation: DefaultAgentRuntime
Architecture Diagram
Component Roles
Execution Flow: Two-Phase Strategy
Phase 1: First Model Call (with Skill Context)
Phase 2: Tool Iterations (No Skill Re-injection)
Streaming Pipeline
Request Context: AgentContext & AgentRequest
AgentRequest
AgentContext
Context Compaction
Integration Points
With IAgentProvider (Model Routing)
With IToolExecutor (Tool Execution)
With ISummaryService (Context Compaction)
With IPromptComposer (Prompt Assembly)
Isolated Sessions
Error Handling
Model Unavailable
Tool Execution Failure
Context Overflow
Key Design Principles
References
Scroll to top
Ask AI about this page
Copy as Markdown
Was this page helpful?
Yes
No