Skip to main content

Crate brainos_backends

Crate brainos_backends 

Source
Expand description

Action backends and resilience primitives for Brain OS.

Extracted from the CLI crate so they can be reused by adapters and tests.

Re-exports§

pub use memory::DefaultMemoryBackend;
pub use messaging::json_escape;
pub use messaging::render_message_template;
pub use messaging::WebhookMessageBackend;
pub use messaging::DEFAULT_MESSAGE_BODY;
pub use resilience::resilient_send;
pub use resilience::CircuitBreaker;
pub use scheduling::DefaultSchedulingBackend;
pub use search::CustomSearchBackend;
pub use search::SearxngSearchBackend;
pub use search::TavilySearchBackend;

Modules§

memory
Memory backend for the action dispatcher.
messaging
Message backend — webhook delivery with resilience.
resilience
Resilience primitives — circuit breaker and retry logic for HTTP backends.
scheduling
Scheduling backend — persists scheduled intents to SQLite.
search
Web search backends — SearXNG, Tavily, and custom endpoint providers.