rig

0xPlaygrounds/rig

⚙️🦀 Build modular and scalable LLM Applications in Rust

7.9k
Stars
870
Forks
80
Open issues
58
Watchers
Rust MITLast pushed Jul 7, 2026

⚙️🦀 Build modular and scalable LLM Applications in Rust

Categories

Tags

Similar tools

Install

cargo add rig

README



       
    stars - rig

 

📑 Docs   •   🌐 Website   •   🤝 Contribute   •   ✍🏽 Blogs   •  

✨ If you would like to help spread the word about Rig, please consider starring the repo!

[!WARNING] Here be dragons! As we plan to ship a torrent of features in the following months, future updates will contain breaking changes. With Rig evolving, we'll annotate changes and highlight migration paths as we encounter them.

Table of contents

  • Table of contents
  • What is Rig?
  • Features
  • Who's using Rig?
  • Get Started
    • Simple example
  • Integrations

What is Rig?

Rig is a Rust library for building scalable, modular, and ergonomic LLM-powered applications.

More information about this crate can be found in the official and crate API reference documentation.

Features

  • Agentic workflows that can handle multi-turn streaming and prompting
  • Full GenAI Semantic Convention compatibility
  • 20+ model providers, all under one singular unified interface
  • 10+ vector store integrations, all under one singular unified interface
  • Full support for LLM completion and embedding workflows
  • Support for transcription, audio generation and image generation model capabilities
  • Integrate LLMs in your app with minimal boilerplate
  • Full WASM compatibility (core library only)

Who is using Rig?

Below is a non-exhaustive list of companies and people who are using Rig:

  • St Jude - Using Rig for a chatbot utility as part of proteinpaint, a genomics visualisation tool.
  • Coral Protocol - Using Rig extensively, both internally as well as part of the Coral Rust SDK.
  • VT Code - VT Code is a Rust-based terminal coding agent with semantic code intelligence via Tree-sitter and ast-grep. VT Code uses rig for simplifying LLM calls and implementing the model picker.
  • Con - Con is a G