Skip to main content

brainos_backends/
lib.rs

1//! Action backends and resilience primitives for Brain OS.
2//!
3//! Extracted from the CLI crate so they can be reused by adapters and tests.
4
5pub mod fetch;
6pub mod memory;
7pub mod messaging;
8pub mod resilience;
9pub mod scheduling;
10pub mod search;
11
12pub use fetch::BasicUrlFetcher;
13pub use memory::DefaultMemoryBackend;
14pub use messaging::{
15    json_escape, render_message_template, WebhookMessageBackend, DEFAULT_MESSAGE_BODY,
16};
17pub use resilience::{resilient_send, CircuitBreaker};
18pub use scheduling::DefaultSchedulingBackend;
19pub use search::{
20    CustomSearchBackend, DuckDuckGoSearchBackend, SearxngSearchBackend, TavilySearchBackend,
21};