Expand description
The cognitive database for AI agents.
§Quick Start
use clawdb::prelude::*;
let dir = tempfile::tempdir().unwrap();
let db = ClawDB::open(dir.path()).await.unwrap();
let session = db.session(uuid::Uuid::new_v4(), "assistant",
vec!["memory:write".into()]).await.unwrap();
db.remember(&session, "Hello from ClawDB").await.unwrap();Re-exports§
pub use config::ClawDBConfig;pub use engine::ClawDB;pub use engine::ClawDBEngine;pub use engine::ClawDBSession;pub use error::ClawDBError;pub use error::ClawDBResult;pub use types::BranchDiff;pub use types::ClawTransaction;pub use types::HealthStatus;pub use types::MergeResult;pub use types::ReflectSummary;pub use types::RememberResult;pub use types::SearchHit;pub use types::SyncSummary;
Modules§
- api
- Minimal API surface for running local ClawDB servers.
- config
- Configuration for the
clawdbwrapper crate. - engine
- Best-fit
clawdbwrapper over the currently published component crates. - error
- Error types for the
clawdbwrapper. - lifecycle
- Small lifecycle helpers exposed by the wrapper crate.
- plugins
- Minimal plugin system.
- prelude
- Convenience prelude for
clawdbusers. - telemetry
- Telemetry helpers for
clawdb. - types
- Public wrapper types.