# 0xplaygrounds/rig

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/0xplaygrounds-rig).**

7,450 stars · 828 forks · Rust · mit

## Links

- GitHub: https://github.com/0xPlaygrounds/rig
- Homepage: https://rig.rs
- awesome-repositories: https://awesome-repositories.com/repository/0xplaygrounds-rig.md

## Topics

`agent` `ai` `artificial-intelligence` `automation` `generative-ai` `large-language-model` `llm` `llmops` `rust` `scalable-ai`

## Description

Rig is a framework for building large language model applications, featuring a multi-provider client and a workflow builder for retrieval-augmented generation systems. It serves as an orchestrator for creating autonomous agents that can maintain conversation state and execute complex tasks through custom prompting and plugins.

The project provides standardized interfaces for both completion and embedding model providers, allowing for unified request and response patterns across different engines. It also includes a vector database integration layer that defines a common interface for indexing and retrieving high-dimensional embeddings across various storage backends.

Its broader capabilities cover generative AI workflows for multimedia content production and tools for unstructured data extraction, including sentiment analysis and text classification. The framework supports modular composition, enabling the integration of third-party plugins and custom provider implementations.

## Tags

### Artificial Intelligence & ML

- [LLM Application Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-application-frameworks.md) — Serves as a comprehensive framework for building LLM-powered applications and agentic RAG systems.
- [AI Agent Development](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-development.md) — Provides a complete environment for creating autonomous entities that use knowledge bases and maintain conversation state.
- [Autonomous Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-orchestration.md) — Offers a framework for building autonomous agents that maintain state and execute multi-step workflows.
- [Agentic Retrieval Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/retrieval-augmented-generation/agentic-retrieval-workflows.md) — Ships a system for constructing retrieval-augmented generation workflows and agent constructs using specialized clients. ([source](https://docs.rig.rs/docs/integrations/model_providers))
- [RAG Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/retrieval-augmented-generation/rag-pipelines.md) — Implements retrieval-augmented generation systems by connecting vector databases and language models to process unstructured data.
- [Multi-Provider Abstractions](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-integrations/multi-provider-abstractions.md) — Implements a unified interface that abstracts multiple completion and embedding model providers.
- [Multi-Model AI Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-model-ai-orchestrators.md) — Manages multiple completion and embedding model providers through a single unified interface to standardize requests.
- [Retrieval Augmented Generation Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/retrieval-augmented-generation-pipelines.md) — Combines vector store retrieval with language model prompting to ground AI responses in external knowledge bases.
- [LLM Completion Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/speech-to-text-integrations/unified-model-interfaces/llm-completion-interfaces.md) — Standardizes request and response formats across multiple AI model providers to enable a single API call for different engines.
- [Stateful Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/stateful-agent-orchestration.md) — Enables the development of AI agents that maintain conversation state and handle multi-turn streaming. ([source](https://cdn.jsdelivr.net/gh/0xplaygrounds/rig@main/README.md))
- [Custom Provider Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/custom-provider-implementations.md) — A framework for extending model capabilities by implementing specific traits for custom model providers or vector stores. ([source](https://docs.rig.rs/))
- [Provider Abstraction Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-network-implementations/lightweight-model-implementations/custom-model-logic-interfaces/provider-abstraction-layers.md) — Defines common traits for language models and vector stores to allow swapping backends without changing application logic.

### Part of an Awesome List

- [Autonomous AI Agents](https://awesome-repositories.com/f/awesome-lists/ai/autonomous-ai-agents.md) — Provides a framework for building autonomous agents that leverage knowledge bases and model wrappers to solve complex tasks. ([source](https://docs.rig.rs/docs/architecture))
- [Artificial Intelligence](https://awesome-repositories.com/f/awesome-lists/ai/artificial-intelligence.md) — Library for building modular, scalable LLM-powered agents.

### Data & Databases

- [Vector Database Integrations](https://awesome-repositories.com/f/data-databases/vector-database-integrations.md) — Provides a standardized interface to route embedding queries across various high-dimensional vector database backends.

### Software Engineering & Architecture

- [Unified Model Wrappers](https://awesome-repositories.com/f/software-engineering-architecture/unified-model-wrappers.md) — Provides a standardized interface to unify request and response patterns across multiple completion and embedding model providers. ([source](https://docs.rig.rs))
- [AI Pipeline Compositions](https://awesome-repositories.com/f/software-engineering-architecture/modular-program-composition/ai-pipeline-compositions.md) — Wraps model providers and retrieval clients into reusable components to build complex AI pipelines.
