{"id":28266835,"url":"https://github.com/0xplaygrounds/rig","last_synced_at":"2026-04-14T00:11:20.459Z","repository":{"id":243442502,"uuid":"810861466","full_name":"0xPlaygrounds/rig","owner":"0xPlaygrounds","description":"⚙️🦀 Build modular and scalable LLM Applications in Rust","archived":false,"fork":false,"pushed_at":"2026-02-11T13:20:20.000Z","size":19726,"stargazers_count":5899,"open_issues_count":121,"forks_count":652,"subscribers_count":44,"default_branch":"main","last_synced_at":"2026-02-11T18:25:45.085Z","etag":null,"topics":["agent","ai","artificial-intelligence","automation","generative-ai","large-language-model","llm","llmops","rust","scalable-ai"],"latest_commit_sha":null,"homepage":"https://rig.rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xPlaygrounds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-06-05T13:42:28.000Z","updated_at":"2026-02-11T15:52:09.000Z","dependencies_parsed_at":"2024-07-17T20:06:19.017Z","dependency_job_id":"9829801b-46a2-4236-98e0-28d19cf0196b","html_url":"https://github.com/0xPlaygrounds/rig","commit_stats":null,"previous_names":["0xplaygrounds/rig"],"tags_count":465,"template":false,"template_full_name":null,"purl":"pkg:github/0xPlaygrounds/rig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPlaygrounds%2Frig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPlaygrounds%2Frig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPlaygrounds%2Frig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPlaygrounds%2Frig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xPlaygrounds","download_url":"https://codeload.github.com/0xPlaygrounds/rig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xPlaygrounds%2Frig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29549233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","artificial-intelligence","automation","generative-ai","large-language-model","llm","llmops","rust","scalable-ai"],"created_at":"2025-05-20T15:02:56.960Z","updated_at":"2026-04-14T00:11:20.454Z","avatar_url":"https://github.com/0xPlaygrounds.png","language":"Rust","funding_links":[],"categories":["Libraries","Agentic Systems"],"sub_categories":["Artificial Intelligence"],"readme":"\u003cp align=\"center\"\u003e\n\u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"img/rig-rebranded-logo-white.svg\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"img/rig-rebranded-logo-black.svg\"\u003e\n    \u003cimg src=\"img/rig-rebranded-logo-white.svg\" style=\"width: 40%; height: 40%;\" alt=\"Rig logo\"\u003e\n\u003c/picture\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003ca href=\"https://docs.rig.rs\"\u003e\u003cimg src=\"https://img.shields.io/badge/📖 docs-rig.rs-dca282.svg\" /\u003e\u003c/a\u003e \u0026nbsp;\n\u003ca href=\"https://docs.rs/rig-core/latest/rig/\"\u003e\u003cimg src=\"https://img.shields.io/badge/docs-API Reference-dca282.svg\" /\u003e\u003c/a\u003e \u0026nbsp;\n\u003ca href=\"https://crates.io/crates/rig-core\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/rig-core.svg?color=dca282\" /\u003e\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://crates.io/crates/rig-core\"\u003e\u003cimg src=\"https://img.shields.io/crates/d/rig-core.svg?color=dca282\" /\u003e\u003c/a\u003e\n\u003c/br\u003e\n\u003ca href=\"https://discord.gg/playgrounds\"\u003e\u003cimg src=\"https://img.shields.io/discord/511303648119226382?color=%236d82cc\u0026label=Discord\u0026logo=discord\u0026logoColor=white\" /\u003e\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"\"\u003e\u003cimg src=\"https://img.shields.io/badge/built_with-Rust-dca282.svg?logo=rust\" /\u003e\u003c/a\u003e\n\u0026nbsp;\n\u003ca href=\"https://github.com/0xPlaygrounds/rig\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/0xPlaygrounds/rig?style=social\" alt=\"stars - rig\" /\u003e\u003c/a\u003e\n\u003cbr\u003e\n\n\u003cbr\u003e\n\u003c/p\u003e\n\u0026nbsp;\n\n\n\u003cdiv align=\"center\"\u003e\n\n[📑 Docs](https://docs.rig.rs)\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n[🌐 Website](https://rig.rs)\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n[🤝 Contribute](https://github.com/0xPlaygrounds/rig/issues/new)\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n[✍🏽 Blogs](https://docs.rig.rs/guides)\n\n\u003c/div\u003e\n\n✨ If you would like to help spread the word about Rig, please consider starring the repo!\n\n\u003e [!WARNING]\n\u003e 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.\n\n## Table of contents\n\n- [Table of contents](#table-of-contents)\n- [What is Rig?](#what-is-rig)\n- [High-level features](#high-level-features)\n- [Who's using Rig?](#who-is-using-rig)\n- [Get Started](#get-started)\n  - [Simple example](#simple-example)\n- [Integrations](#supported-integrations)\n\n## What is Rig?\nRig is a Rust library for building scalable, modular, and ergonomic **LLM-powered** applications.\n\nMore information about this crate can be found in the [official](https://docs.rig.rs) \u0026 [crate](https://docs.rs/rig-core/latest/rig/) (API Reference) documentations.\n\n## Features\n- Agentic workflows that can handle multi-turn streaming and prompting\n- Full [GenAI Semantic Convention](https://opentelemetry.io/docs/specs/semconv/gen-ai/) compatibility\n- 20+ model providers, all under one singular unified interface\n- 10+ vector store integrations, all under one singular unified interface\n- Full support for LLM completion and embedding workflows\n- Support for transcription, audio generation and image generation model capabilities\n- Integrate LLMs in your app with minimal boilerplate\n- Full WASM compatibility (core library only)\n\n## Who is using Rig?\nBelow is a non-exhaustive list of companies and people who are using Rig:\n- [St Jude](https://www.stjude.org/) - Using Rig for a chatbot utility as part of [`proteinpaint`](https://github.com/stjude/proteinpaint), a genomics visualisation tool.\n- [Coral Protocol](https://www.coralprotocol.org/) - Using Rig extensively, both internally as well as part of the [Coral Rust SDK.](https://github.com/Coral-Protocol/coral-rs)\n- [VT Code](https://github.com/vinhnx/vtcode) - 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 implement model picker.\n- [Dria](https://dria.co/) - a decentralised AI network. Currently using Rig as part of their [compute node.](https://github.com/firstbatchxyz/dkn-compute-node)\n- [Nethermind](https://www.nethermind.io/) - Using Rig as part of their [Neural Interconnected Nodes Engine](https://github.com/NethermindEth/nine) framework.\n- [Neon](https://neon.com) - Using Rig for their [app.build](https://github.com/neondatabase/appdotbuild-agent) V2 reboot in Rust.\n- [Listen](https://github.com/piotrostr/listen) - A framework aiming to become the go-to framework for AI portfolio management agents. Powers [the Listen app.](https://app.listen-rs.com/)\n- [Cairnify](https://cairnify.com/) - helps users find documents, links, and information instantly through an intelligent search bar. Rig provides the agentic foundation behind Cairnify’s AI search experience, enabling tool-calling, reasoning, and retrieval workflows.\n- [Ryzome](https://ryzome.ai) - Ryzome is a visual AI workspace that lets you build interconnected canvases of thoughts, research, and AI agents to orchestrate complex knowledge work.\n- [deepwiki-rs](https://github.com/sopaco/deepwiki-rs) - Turn code into clarity. Generate accurate technical docs and AI-ready context in minutes—perfectly structured for human teams and intelligent agents.\n- [Cortex Memory](https://github.com/sopaco/cortex-mem) - The production-ready memory system for intelligent agents. A complete solution for memory management, from extraction and vector search to automated optimization, with a REST API, MCP, CLI, and insights dashboard out-of-the-box.\n- [Ironclaw](https://github.com/nearai/ironclaw) - A secure personal AI assistant\n\nFor a full list, check out our [ECOSYSTEM.md file.](https://www.github.com/0xPlaygrounds/rig/tree/main/ECOSYSTEM.md)\n\nAre you also using Rig? [Open an issue](https://www.github.com/0xPlaygrounds/rig/issues) to have your name added!\n\n## Get Started\n```bash\ncargo add rig-core\n```\n\n### Simple example\n```rust\nuse rig::client::{CompletionClient, ProviderClient};\nuse rig::completion::Prompt;\nuse rig::providers::openai;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), anyhow::Error\u003e {\n    // Create OpenAI client\n    let client = openai::Client::from_env();\n\n    // Create agent with a single context prompt\n    let comedian_agent = client\n        .agent(\"gpt-5.2\")\n        .preamble(\"You are a comedian here to entertain the user using humour and jokes.\")\n        .build();\n\n    // Prompt the agent and print the response\n    let response = comedian_agent.prompt(\"Entertain me!\").await?;\n\n    println!(\"{response}\");\n\n    Ok(())\n}\n```\nNote using `#[tokio::main]` requires you enable tokio's `macros` and `rt-multi-thread` features\nor just `full` to enable all features (`cargo add tokio --features macros,rt-multi-thread`).\n\nYou can find more examples in each crate's `examples` directory (for example, [`rig/rig-core/examples`](./rig/rig-core/examples)). Many provider-specific examples now also live as ignored live integration tests under [`rig/rig-core/tests`](./rig/rig-core/tests), organized by provider. When running those provider-backed tests, prefer `cargo test -p rig-core --test \u003cprovider\u003e -- --ignored --test-threads=1` to avoid rate-limiting. More detailed use case walkthroughs are regularly published on our [Dev.to Blog](https://dev.to/0thtachi) and added to Rig's official documentation at [docs.rig.rs](https://docs.rig.rs).\n\n## Supported Integrations\n\nVector stores are available as separate companion-crates:\n- MongoDB: [`rig-mongodb`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-mongodb)\n- LanceDB: [`rig-lancedb`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-lancedb)\n- Neo4j: [`rig-neo4j`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-neo4j)\n- Qdrant: [`rig-qdrant`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-qdrant)\n- SQLite: [`rig-sqlite`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-sqlite)\n- SurrealDB: [`rig-surrealdb`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-surrealdb)\n- Milvus: [`rig-milvus`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-milvus)\n- ScyllaDB: [`rig-scylladb`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-scylladb)\n- AWS S3Vectors: [`rig-s3vectors`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-s3vectors)\n- HelixDB: [`rig-helixdb`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-helixdb)\n\nThe following providers are available as separate companion-crates:\n- AWS Bedrock: [`rig-bedrock`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-bedrock)\n- Fastembed: [`rig-fastembed`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-fastembed)\n- Google Vertex: [`rig-vertexai`](https://github.com/0xPlaygrounds/rig/tree/main/rig-integrations/rig-vertexai)\n\nWe also have some other associated crates that have additional functionality you may find helpful when using Rig:\n- `rig-onchain-kit` - the [Rig Onchain Kit.](https://github.com/0xPlaygrounds/rig-onchain-kit) Intended to make interactions between Solana/EVM and Rig much easier to implement.\n\n\n\u003cp align=\"center\"\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"img/built-by-playgrounds.svg\" alt=\"Build by Playgrounds\" width=\"30%\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xplaygrounds%2Frig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xplaygrounds%2Frig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xplaygrounds%2Frig/lists"}