Skip to main content

Crate walrus_core

Crate walrus_core 

Source
Expand description

Walrus agent library.

Re-exports§

pub use memory::Embedder;
pub use memory::Memory;
pub use memory::MemoryEntry;
pub use memory::RecallOptions;

Modules§

memory
Memory abstractions for Walrus agents.
model
Unified LLM interface types and traits.
protocol
Walrus wire protocol — message types and API traits.
utils
Shared utilities for markdown-based configuration parsing.

Structs§

Agent
A stateful agent execution unit.
AgentBuilder
Fluent builder for Agent<M>.
AgentConfig
Serializable agent configuration.
AgentResponse
Final response from a complete agent run.
AgentStep
Data record of one LLM round (one model call + tool dispatch).
Runtime
The walrus runtime — agent registry, tool registry, and hook orchestration.
ToolRegistry
Registry of named tools with their async handlers.

Enums§

AgentEvent
A fine-grained event emitted during agent execution.
AgentStopReason
Why the agent stopped executing.

Traits§

Dispatcher
Generic tool dispatcher.
Hook
Lifecycle backend for agent building, event observation, and tool registration.

Functions§

parse_agent_md
Parse an agent markdown file (YAML frontmatter + body) into an AgentConfig.

Type Aliases§

Handler
Type-erased async tool handler.