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;
pub use memory::tools::RecallInput;
pub use memory::tools::RememberInput;

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, schema store, and hook orchestration.
ToolRegistry
Schema-only registry of named tools.
ToolRequest
A single tool call request sent by the agent to the runtime’s tool handler.

Enums§

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

Traits§

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§

ToolSender
Sender half of the agent tool channel.