Skip to content

Mattbusel/rust-crates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mattbusel Rust Crates

Star History Chart

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.


AI Agent & LLM Libraries

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 Libraries

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" }

Design principles

All crates in this collection follow the same engineering standards:

  • Zero panics -- every fallible operation returns Result; unwrap and expect are 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

Related


Related Projects by @Mattbusel

About

Production Rust libraries for AI agents and financial systems — zero panics, typed errors, aerospace-grade test coverage

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors