Architecture
Core modules:
main.rs— CLI and runtime bootstrapagent.rs— agent loop and tool-call orchestrationtools/*— tool implementationschannels.rs— channel adaptersproviders/*— LLM provider adaptershealth.rs—/healthand/ready
Request flow:
- inbound message is received
- context is built
- model may call tools
- tool results are returned to model context
- final response is emitted and session is persisted