rig logo

rig

0xPlaygrounds/rig

Build modular and scalable LLM Applications in Rust

GraphCanon updated today · GitHub synced today

8.3k stars937 forksLast push today Rust MIT

Decision brief

Rig is a Rust library designed to create modular and scalable LLM applications with extensive support for agentic workflows, multi-turn streaming, full compatibility with GenAI conventions, and integration capabilities.

Good fit when

  • You should use Rig when you need to work with LLM applications in Rust and want full WASM (core library) compatibility.
  • If your project requires comprehensive integrations with multiple model providers via a single unified interface, Rig is the tool for you.

Avoid when

  • Avoid using Rig if you are working on applications that do not require or support Rust as it is specifically built to facilitate LLM operations within a Rust environment.
  • Rig may not be suitable if your project cannot handle potential breaking changes, which are expected due to its rapidly evolving nature and upcoming feature updates.
Hosting:
self hosted - Self-hosted as a Rust library.
Pricing:
freemium - Free to use under MIT license with potential premium support options.

Observed Jul 9, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

cargo add rig
crates.io

How it fits your stack(12)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Integrates

Related

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A Rust library dedicated to the development of scalable and modular Large Language Model (LLM) applications.

Capability facts

Languages
rust

Source: github.language · Aug 20, 2026

Categories

Tags

README



Badge image   Badge image   Badge image   Badge image   Badge image
Badge image   Badge image   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
  • Runtime choices
  • 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
  • A classic agent runtime enabled by default
  • 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
  • Browser-WASM (wasm32-unknown-unknown) support for the portable core and classic runtime — see target support for the full matrix (WASI is not supported; rmcp is native-only)

Runtime choices

Rig separates portable provider/backend contracts from agent orchestration:

  • rig-core contains provider-neutral messages, completion models, portable tools, memory and vector-store contracts, and built-in provider mappings.
  • rig-agent contains the classic builder, prompt/streaming traits, typed hooks, contextual tools, extraction, and the serializable AgentRun state machine. It remains enabled by default.

The root rig facade re

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.