| Crates.io | rexis-rag |
| lib.rs | rexis-rag |
| version | 0.1.0 |
| created_at | 2025-11-09 11:31:21.60652+00 |
| updated_at | 2025-11-09 11:31:21.60652+00 |
| description | Rexis RAG - High-performance Retrieval-Augmented Generation framework with memory-first agents, vector search, and LLM integration |
| homepage | https://github.com/0xteamhq/rexis |
| repository | https://github.com/0xteamhq/rexis |
| max_upload_size | |
| id | 1924030 |
| size | 2,433,149 |
RRAG (Rust RAG) is a high-performance, enterprise-ready framework for building Retrieval-Augmented Generation applications in Rust. Built from the ground up with safety, performance, and developer experience in mind.
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Documents βββββΆβ Processing βββββΆβ Vector Store β
β (Input) β β Pipeline β β (Storage) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β
βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Responses ββββββ Agent ββββββ Retriever β
β (Output) β β (rsllm) β β (Search) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
Add RRAG to your Cargo.toml:
[dependencies]
rrag = { version = "0.1", features = ["rsllm-client"] }
tokio = { version = "1.0", features = ["full"] }
use rrag::prelude::*;
#[tokio::main]
async fn main() -> RragResult<()> {
// Create a RAG system
let rag = RragSystem::builder()
.with_rsllm_client("http://localhost:8080")
.with_vector_store(InMemoryStorage::new())
.with_chunk_size(512)
.build()
.await?;
// Add documents
rag.ingest_documents(vec![
Document::new("Rust is a systems programming language..."),
Document::new("RAG combines retrieval with generation..."),
]).await?;
// Query the system
let response = rag.query("What is Rust?").await?;
tracing::debug!("Response: {}", response.text);
Ok(())
}
Visit docs.rs/rrag for complete API documentation and examples.
[dependencies.rrag]
version = "0.1"
features = [
"rsllm-client", # rsllm integration
"http", # HTTP tools and clients
"concurrent", # Concurrent data structures
"multimodal", # Multi-modal processing
"observability", # Monitoring and metrics
"security", # Authentication and rate limiting
]
This project is licensed under the MIT License.
Contributions welcome! Please see our contributing guidelines for details.