Expand description
Walrus runtime: agent registry and hook orchestration.
The Runtime holds agents behind a RwLock and provides take/put
semantics for callers to drive execution directly via Agent::run()
or Agent::run_stream().
Re-exports§
pub use hook::Hook;
Modules§
Structs§
- Agent
Config - Serializable agent configuration.
- Agent
Dispatcher - Thin wrapper that implements wcore’s
Dispatcherby forwarding to Hook. - InMemory
- In-memory store backed by
Mutex<Vec<(String, String)>>. - Message
- A message in the chat
- NoEmbedder
- A no-op embedder that always returns an empty vector.
- Request
- A chat completion request.
- Response
- A chat completion response from the LLM
- Runtime
- The walrus runtime — agent registry and hook orchestration.
- Stream
Chunk - A streaming chat completion chunk
- Tool
- A tool for the LLM
Enums§
- Role
- The role of a message
Traits§
- Memory
- Structured knowledge memory for LLM agents.
Type Aliases§
- Handler
- A type-erased async tool handler.