Skip to main content

Crate garudust_core

Crate garudust_core 

Source
Expand description

Core traits, types, and error definitions for the Garudust AI agent framework.

This crate is the foundation that all other garudust-* crates build on. It defines the shared interfaces — tools, transports, memory stores, and platform adapters — so that every layer of the stack can be swapped or extended without touching unrelated code.

§Key abstractions

TraitPurpose
tool::ToolA single callable capability the agent can invoke
transport::ProviderTransportLLM backend (Anthropic, Ollama, OpenRouter …)
memory::MemoryStorePersistent facts and user profile storage
platform::PlatformAdapterChat platform (Telegram, Discord, Slack …)

§Feature flags

This crate has no optional features; everything here is always available.

Re-exports§

pub use error::AgentError;
pub use error::PlatformError;
pub use error::ToolError;
pub use error::TransportError;
pub use types::*;

Modules§

budget
config
error
memory
net_guard
platform
pricing
tool
transport
types