Rig is a modular Rust library for developers who want to build applications and agents powered by large language models. It offers a single API that works with more than 20 providers, so you can switch models without rewriting your code.
It includes type-safe tools, structured output and support for over ten vector stores, with performance suited to production use. Rig is MIT licensed and installed with Cargo, making it a free option for teams already working in Rust.