Rig
the six Ws · specification
Rust developers building performance-sensitive LLM applications, agents, and retrieval pipelines.
Rig is an open source Rust library providing a unified interface for building LLM-powered applications, agents, and RAG pipelines across multiple model providers.
Embedded directly into Rust binaries or services, self-hosted wherever the compiled application runs.
Used when a team needs LLM orchestration with Rust's performance and safety guarantees rather than a Python stack.
It fills a gap in the LLM tooling ecosystem, which is overwhelmingly Python and JavaScript focused, for Rust-native teams.
Integrates with providers like OpenAI, Anthropic, Cohere, and vector stores such as Qdrant and LanceDB via provider crates.
Open source, MIT licensed, self-hosted as a library, maintained by 0xPlaygrounds with over 8000 GitHub stars.
alternatives
works with