Artificial Intelligence · Open source · Rust
Build AI agents
in Rust
A modular, high-performance library for LLM apps and agents. One unified API across 20+ providers, type-safe tools and structured output — production-ready.
cargo add riguse rig::{completion::Prompt, providers::openai};
let openai = openai::Client::from_env()?;
let agent = openai.agent("gpt-5.5")
.preamble("You are a helpful assistant.")
.build();
let response = agent
.prompt("What is Rust?")
.await?;routing: openai/gpt-5.5 · tokens: 128 · 42ms · response streamed OK
St. Jude Children's Research Hospital
Coral Protocol
Dria
Nethermind
App.build (Neon)
Grafbase
Ryzome
OpenAgents
MCP Rust SDK
Probe
Linera
Microsoft Agent Governance Toolkit
NEAR AI
ilert
Archestra
Syncable
Con
ChatShell
Cairnify
Refresh Agent
nitpik
Cohere
EternalAI
Google Gemini
Galadriel
Groq
Mira
TogetherAI
AWS Bedrock
MongoDB
LanceDB
Neo4j
Qdrant
Milvus
PostgreSQLAdd Rig in one line
Drop it into any Cargo project. Ship it as a single binary or compile to WASM for server, edge, and browser environments.
Then read the quickstart$cargo add rigWhat developers build with Rig
One set of composable primitives, from a single-file script to a production agent — here's where teams put them to work.
Coding agents
AI-powered coding assistants and terminal tools with real tool execution.
ExploreRAGRAG applications
Intelligent search and Q&A over your documents and knowledge bases.
ExplorePipelinesData workflows
Process and analyze data at scale with LLM-powered workflows.
ExploreWASMRuns anywhere
Ship a single Rust binary on servers or compile to WASM for edge devices and browsers.
ExploreOpen source, built together
Join 230+ contributors building the future of AI in Rust.
Ready to build AI applications in Rust?
Join a growing community of Rust + AI developers building the future of AI infrastructure.
