What it does
Rig is a code library for the Rust programming language that helps developers build apps powered by AI language models. It offers one common way to talk to over twenty AI providers and more than ten vector stores, which are databases for search by meaning.
It supports AI agents that work over several turns, and also transcription, audio and image generation. The README warns that upcoming updates will include breaking changes.
Who it's for
Rust developers adding AI features or agents to their software.
Can I use it without coding?
Developers only. It's a programming library for Rust. New to this? Start here.
Can I run it?
- Cost
- Free, but needs an AI accountThe software is free, but it uses an online AI service (like OpenAI or Anthropic), which usually charges for use.
- Runs on
- Mac, Windows, Linux, Server
- Computer
- An ordinary computer is fine
- Privacy
- Your choice: run it on your device or use an online service
- API key
- Needed. An API key is a password-like code from an online AI service. What's that?
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- Keep your API key private. Never paste it into websites or share it, and set a spending limit with the AI service.
- More on staying safe