
- Not just a port: DSRs reimagines DSPy’s abstractions with Rust’s strengths in mind.
- Modern Rust API: Take advantage of Rust’s ecosystem, async support, and strong typing.
- Core features: Includes signatures, modules, adapters, etc.
- Easy to get started: Install via Cargo, and follow the Quickstart to build your first pipeline in minutes.
Inspired by the original DSPy framework, DSRs brings LM application development to the Rust community.
Quickstart
Start here
Get up and running with DSRs in under 5 minutes. Install, configure, and run your first pipeline.
Learn more
Dive deeper into DSRs to gain an in-depth understanding.Building Blocks
Learn about the foundational concepts of DSRs
Data
Understand data currency in DSRs.
Optimizers
Optimize your LM applications with COPRO, MIPROv2, and GEPA.