Expand description
Core traits for OpenRustClaw.
All major subsystems are defined as traits here, allowing for pluggable implementations and easy testing via mocks.
Structs§
- Tool
Context - Context provided to tools during execution.
Traits§
- Batch
Provider - For providers that support batch processing (e.g. Anthropic Batch API — 50% cheaper).
- Channel
- Trait for messaging platform integrations (WebChat, Telegram, Discord, etc.).
- Core
Memory Store - Trait for the core memory tier (tiny, always in prompt, ~500 tokens).
- Embedding
Provider - Trait for text embedding providers used by the memory/RAG system.
- LlmProvider
- Trait for LLM completion providers (Anthropic, OpenAI, OpenRouter, Ollama).
- Memory
Store - Trait for the recall memory storage backend.
- Tool
- Trait for executable tools that the agent can invoke.