ForkFree

Developer tools

dspy

by stanfordnlp

DSPy is a Python framework for building systems that use language models by writing structured code instead of hand-written prompts. It also includes tools that automatically improve the prompts and model weights, for tasks such as classifiers, retrieval pipelines and agents.

Proof level: ReadWorth a lookMIT

Get it on GitHubProject websiteCompare

No demo yet

Proof level: Read. We read its README and licence and ran our automatic checks. We have not run it yet. So this page is based on its README and our automatic checks.

The catch

Worth a lookEstablished, with a few things to check (listed below).

Check this first: Requires Python programming skills.

Things to check

  • Requires Python programming skills
  • Usually needs paid API keys from a language model provider unless you run a local model
  • Recent language model integration changes include breaking changes, so older guides may not apply

Can you use dspy commercially?

Free to use, change and sell, including in paid products. Keep the copyright notice.

Not legal advice. Read the project's licence file before building a product on it.

What can you do with dspy?

  • Build a text classifier or question-answering pipeline as modular Python code
  • Automatically optimise prompts for better output quality using its built-in optimisers
  • Create retrieval-augmented generation (RAG) systems and agent loops

How do you get dspy running?

Install it with "pip install dspy", then write Python code and connect it to a language model provider.

Follow the official instructions in the project README.

Make money with it

A freelance developer could offer to build and optimise custom AI pipelines, such as document processing or support automation, for small businesses.

An idea, not financial advice. Check the licence before charging for anything built on it.

Ways a business could use it

  • Build more reliable AI features, such as support-ticket sorting or document extraction, without constantly rewriting prompts by hand
  • Tune cheaper language models to match the output quality of costly ones for a specific task, cutting running costs

Who's talking about it

Checked 07 Nov 2026. Summary drafted by AI from the project's README. Proof level 1 of 4, Read: we read its readme and licence and ran our automatic checks. we have not run it yet.

Similar tools in Developer tools

taste-skill Leonxlnx
Worth a look

Taste Skill is an add-on for AI coding agents such as Claude Code, Codex and Cursor. It guides the agent to design more distinctive websites and app screens by choosing an art direction, using credited real photographs and checking its own work in a real browser.

Proof level: Read 119.1k stars +646 a day MIT
gpu-unlock Zagitta
Check the licence

This tool unlocks the FP/BF16 instruction issue rate on Nvidia 3000-series cards, doubling the speed of certain operations.

Proof level: Read 20.5k stars +449 a day Unclear
ui vercel-labs
New and promising

UI SDK is a code library that handles the behaviour of interface parts such as keyboard navigation, focus, popups, drag and drop and accessibility markup. It works with React, Vue, Svelte, Solid and Web Components, and is designed so AI coding agents can build components with it.

Proof level: Read 6.2k stars +485 a day Apache-2.0