SDK · Rust
Native client. Zero overhead.
The Rust SDK is the reference implementation. Direct daemon access via gRPC + Arrow Flight, zero-copy where possible, the same crate the daemon itself uses internally. tokio-native, feature-gated for slim builds.
Capabilities
What you get.
Production-grade from day one. No flags, no betas — these ship when you adopt Minds.
Zero overhead
The daemon and SDK share the same data structures. No marshaling on shared paths.
Arrow Flight streaming
Vector + analytics streams at 100M+ rows/sec.
Feature-gated
Toggle vector-search, graph-ml, ml-inference, snn at compile time.
tokio-native
Async runtime is bring-your-own, but tokio is the default.
No C deps
Pure Rust — clean cross-compile for musl, wasm32, riscv64.
Errors via thiserror
Typed error variants; no String matching at call sites.
API
A few lines is all it takes.
exampletypescript
use minds::{Minds, RecallRequest, Mode};
#[tokio::main]
async fn main() -> Result<(), minds::Error> {
let minds = Minds::from_env()?;
let memories = minds.recall(RecallRequest::builder()
.query("Why did Q3 revenue dip?")
.modes([Mode::Vector, Mode::Graph, Mode::Episodic])
.timepoint("2026-10-01")
.top_k(5)
.build()).await?;
for m in memories {
println!("{} {} {}", m.confidence, m.source, m.text);
}
Ok(())
}Specs
What it costs, what it guarantees.
At a glance
- Crate
- minds
- MSRV
- 1.78
- Async
- tokio (default) / smol (feature)
- Wire
- gRPC + Arrow Flight
- Targets
- x86_64 · aarch64 · wasm32 · riscv64
Guarantees
- Durability
- fsync per WAL commit
- Isolation
- MVCC · snapshot
- Audit
- BLAKE3 Merkle chain
- Encryption
- AES-256-GCM per-namespace
- Concurrency
- 100K+ ops/sec
Get started in an afternoon.
Run anywhere — Akasha Cloud, on-prem, or air-gapped.