Who It's For
This tool helps Rust developers build applications with Large Language Models (LLMs). It's for those creating efficient, full-stack AI systems. Developers valuing type safety, clear APIs, and modular design will find Rig very useful.
What You Get
Rig gives you a consistent API to work with various LLM providers like OpenAI and Cohere. You get pre-built, modular components for complex AI systems such as Retrieval-Augmented Generation (RAG) and multi-agent setups. It also includes easy tools for vector stores and embeddings, key for smart search.
How It Works
Rig uses Rust's safety and strong type system to ensure your AI code is correct before it runs, avoiding errors. Its asynchronous design efficiently handles many tasks at once. You set up a client, create an "agent" for an AI model, then send prompts and manage responses smoothly.
