Modules§
- agent
- classifier
- context_
analyzer - context_
compressor - cost
- dispatcher
- eval
- history
- history_
pruner - loop_
- loop_
detector - Loop detection guardrail for the agent tool-call loop.
- memory_
loader - memory_
strategy - personality
- Personality system — loads workspace identity files (SOUL.md, IDENTITY.md, USER.md) and injects them into the system prompt pipeline.
- personality_
templates - Default starter templates for the per-workspace personality files.
- prompt
- system_
prompt - System prompt construction for the agent loop and channel subsystem.
- thinking
- Thinking/Reasoning Level Control
- tool_
execution - Tool execution helpers extracted from
loop_. - tool_
receipts - HMAC-SHA256 tool execution receipts for hallucination detection.
Structs§
- Agent
- Agent
Attribution - Borrow-only Attributable holding an agent alias.
Used by entry points (loop_::run, process_message, cron dispatch)
that don’t construct a full
Agentbut still need to open anattribution_span!carrying the agent’s role + alias. - Agent
Builder
Enums§
- Turn
Event - Streaming events emitted during an agent turn.
Functions§
- process_
message - Process a single message through the full agent (with tools, peripherals, memory). Used by channels (Telegram, Discord, etc.) to enable hardware and tool use.
- run