Quick Start & Installation
Install Proxicord in Rust, Python, Node.js, or as a standalone CLI binary, and run your first CPU-first semantic search.
Overview
Proxicord is a CPU-first approximate nearest-neighbor (ANN) and semantic vector retrieval engine engineered for high recall (> 0.99 Recall@10) with minimal resident memory and zero GPU or async-runtime dependencies.
Its Rust core compiles into a native CLI binary, a frozen 7-symbol C ABI shared library (include/proxicord.h), and native bindings for Python (pip) and Node.js (npm) — so every language executes the exact same SIMD-dispatched retrieval path.
Verified Performance
On SIFT-1M (16 workers, Intel Core Ultra 7 255H), Proxicord achieves 0.9983 Recall@10 at 13,599 QPS, 830 µs median latency, and 206 MB resident memory.
Installation
Install the full CLI (including the 10-stage benchmark pipeline) directly with Cargo, or add the library to your Rust, Python, or Node.js project.
| Ecosystem | Package | Install Command |
|---|---|---|
| CLI (Full) | proxicord | cargo install --git https://github.com/biforax/proxicord --locked |
| Rust | proxicord | cargo add proxicord |
| Python (≥ 3.9) | proxicord | pip install proxicord |
| Node.js (≥ 18) | proxicord | npm install proxicord |
Your First Semantic Search
You can pass pre-computed float32 vectors directly or use the built-in OpenAI-compatible Embedder to embed text queries and search in one call.
use proxicord::prelude::*;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let embedder = Embedder::new(std::env::var("OPENAI_API_KEY")?)?
.with_model("text-embedding-3-small");
let query_vec = embedder.embed("CPU-first semantic retrieval")?;
let mut engine = ProxicordEngine::new(L2Config::default());
engine.load_index(Some("path/to/index.bin"))?;
let results = engine.search(&query_vec, 10)?;
println!("Top hit: {:?}", results.candidates.first());
Ok(())
}