// agents · stanfordnlp/dspy

dspy

dspy é um projeto de agentes de IA de código aberto de stanfordnlp (stanfordnlp/dspy no GitHub). Tem 38.554 estrelas no GitHub e 3.406 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 7 de outubro de 2026.

Program language models with code and compilers — not fragile prompts.

★ 38,6 mil estrelas⑂ 3,4 mil forksMITatualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
stanfordnlp/dspy
Estrelas no GitHub
38.554
Forks
3.406
Licença
MIT
Última atualização no GitHub
7 de outubro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  1. Pick a use case

    Choose one concrete task — narrow beats ambitious for a first run.

  2. Clone and explore

    Fetch the source and skim the docs folder.

  3. Configure credentials

    Set the environment variables or keys the project needs.

  4. Launch your first run

    Execute the example workflow and watch what happens.

// recursos

Por que as pessoas gostam tanto

Program, don't prompt

LM behavior as code with signatures.

Automatic optimizers

Compile and tune programs with data.

Multi-model support

Not tied to a single provider.

Composable modules

Build complex pipelines from simple parts.

Evaluation built in

Measure what your tuning actually did.

Research pedigree

From Stanford NLP, with papers behind it.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/stanfordnlp/dspy.git
    cd dspy
  2. Step 2 — Create a venv and install

    Isolate dependencies, then install requirements.

    python -m venv .venv && source .venv/bin/activate
    pip install -r requirements.txt
  3. Step 3 — Run it

    Launch using the entry point shown in the README.

    python -m dspy  # check README for the exact command
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains dspy?

It is an open-source project at stanfordnlp/dspy with 3406 forks. Check the contributors tab and recent commits to judge how active maintenance is.

Is dspy free to use?

Yes — it's MIT licensed: free to use, modify, and ship commercially. Just keep the license notice in copies.

Do I need ML expertise?

Some — DSPy is a programming framework with optimizers, aimed at engineers comfortable with data-driven iteration.

Which models does it support?

Many major providers; programs are model-agnostic by design. Check the docs for the current list.

How do I get started?

Clone the repo and follow the README quickstart — the docs at https://dspy.ai walk through setup.

// continue explorando

Ferramentas semelhantes

Agentes de IA

system-prompts-and-models-of-ai-tools

FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Q…

★ 144,0 mil estrelasGPL-3.0
Ver o guia →
Agentes de IA

openpi

Physical Intelligence's open vision-language-action models (pi0, pi0-FAST, pi0.5) for robot policies.

★ 14,1 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

magentic

Use LLMs as plain Python functions: prompts become typed, testable code.

★ 2,4 mil estrelasMIT
Ver o guia →
Agentes de IA

unstructured

Turn messy documents into clean, structured data for language models.

★ 15,5 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

ida-pro-mcp

AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.

★ 12,5 mil estrelasMIT
Ver o guia →
Agentes de IA

lerobot

Hugging Face's LeRobot: datasets, models and tools to make real-world robotics AI accessible

★ 28,0 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se dspy não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de dspy: continue explorando dos dois lados dele.

Baixe o dspy

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.