Core Concepts
The agent kernel in rho-core is built on a small set of interlocking concepts.
- Agent Loop — the state machine that drives the conversation, returning
AgentResultwith structured output - Tool Trait — the interface all tools implement
- Provider Architecture — provider-agnostic model access
- Approval Policy — the gate between tool calls and execution
- Context Management — keeping the conversation within the context window
- Sessions — persistent, tree-structured conversation state
- Project Context Files — loading and trusting project-level instructions