neomemx
neomemx is a high-performance, multi-tenant memory layer for AI agents build with a Rust.
Highlights
- High-performance AI memory — Stores facts, full history, and supports semantic search.
- Rust API — Fluent builder style (
store,search,retrieve_all). - Flexible providers — Groq, Jina, ChromaDB; optional OpenAI, HuggingFace, Milvus.
- LLM-assisted extraction — Automatic fact extraction and consolidation.
- Multi-tenant safe — Per-user/agent scoped memory.
- Advanced retrieval — Reranking and relationship-graph generation.
Quick start
- Run ChromaDB:
- Export any provider keys you need:
# or OPENAI_API_KEY, JINA_API_KEY
Rust
Cargo.toml:
[]
= "0.1"
= { = "1", = ["full"] }
Example:
use ;
async
Configuration (env vars)
| Variable | Description | Required |
|---|---|---|
GROQ_API_KEY |
Groq API key | If using Groq |
JINA_API_KEY |
Jina API key | If using Jina |
OPENAI_API_KEY |
OpenAI API key | If using OpenAI |
CHROMA_HOST |
ChromaDB host | No (default: localhost) |
CHROMA_PORT |
ChromaDB port | No (default: 8000) |
License
MIT - see LICENSE