A collection of production-grade Rust libraries for AI agents, LLM infrastructure, and financial market systems. Each crate is independently usable, zero-panic, and ships with extensive test coverage.
Tokio-native agent memory system -- episodic, semantic, and working memory with decay scheduling, persistence, and a shared memory bus for multi-agent coordination.
tokio-agent-memory = { git = "https://github.com/Mattbusel/tokio-agent-memory", tag = "v0.1.0" }Agent memory primitives with the Ebbinghaus forgetting curve, consolidation pipelines, and pluggable persistence. Full async Tokio runtime integration.
tokio-memory = { git = "https://github.com/Mattbusel/tokio-memory", tag = "v0.1.0" }LLM inference primitives for WebAssembly and edge environments -- FNV-1a cache, TTL cache, retry with backoff, guard chain, model router, cost ledger, template engine, JSON/Markdown formatters.
llm-wasm = { git = "https://github.com/Mattbusel/llm-wasm", tag = "v0.1.0" }Autonomous cost governance -- hard budget enforcement that blocks requests before they exceed spend limits. Per-model, per-agent, and fleet-wide accounting.
llm-budget = { git = "https://github.com/Mattbusel/llm-budget", tag = "v0.1.0" }CRDT and vector clock primitives for distributed LLM agent state synchronization -- GCounter, PNCounter, LWWRegister, ORSet, and deterministic state merge.
llm-sync = { git = "https://github.com/Mattbusel/llm-sync", tag = "v0.1.0" }Output diffing and versioning for LLM responses -- semantic diff, append-only version store, and lineage tracking for prompt engineering workflows.
llm-diff = { git = "https://github.com/Mattbusel/llm-diff", tag = "v0.1.0" }ReAct agent loop for WASM and edge runtimes -- Thought-Action-Observation with tool dispatch, full reasoning traces, and resumable state serialization.
wasm-agent = { git = "https://github.com/Mattbusel/wasm-agent", tag = "v0.1.0" }Knowledge graph primitives -- typed entity nodes, directed relationships, property maps, BFS/DFS traversal, and query by type or property value.
mem-graph = { git = "https://github.com/Mattbusel/mem-graph", tag = "v0.1.0" }Financial market primitives -- Price/Quantity/Symbol newtypes, BTreeMap order book, OHLCV aggregation, SMA/EMA/RSI indicators, position ledger with PnL, and composable risk monitor.
fin-primitives = { git = "https://github.com/Mattbusel/fin-primitives", tag = "v0.1.0" }Real-time market data streaming pipeline -- lock-free SPSC ring buffer, 100K+ ticks/second ingestion, multi-timeframe OHLCV construction, and Lorentz transforms on financial time series.
fin-stream = { git = "https://github.com/Mattbusel/fin-stream", tag = "v0.1.0" }All crates in this collection follow the same engineering standards:
- Zero panics -- every fallible operation returns
Result;unwrapandexpectare banned in production paths - Typed errors -- every crate has a domain-specific error enum with
thiserror - Test coverage -- unit, integration, and property-based test suites ship with every crate
- No unnecessary dependencies -- each crate pulls in only what it needs
- Composable -- designed to work together or standalone
- Special-Relativity-in-Financial-Modeling -- C++20 implementation of special-relativistic geometry applied to OHLCV financial data
- tokio-prompt-orchestrator -- Multi-core Tokio-native orchestration for LLM pipelines
- llm-cpp -- 26 single-header C++ libraries for LLM infrastructure
- tokio-prompt-orchestrator -- Production Rust LLM orchestrator with circuit breakers and self-improving loop
- tokio-agent-memory -- Episodic and semantic memory layer for async Tokio agents
- fin-primitives -- Rust financial primitives: OHLCV, order book, and trading data types