// agents · stanfordnlp/dspy

dspy

dspyは、stanfordnlpが公開しているオープンソースのAIエージェントプロジェクトです(GitHub: stanfordnlp/dspy)。GitHubスターは38,554、フォークは3,406で、MITライセンスの下で公開されています。GitHubでの最終更新は2026年10月7日です。

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

★ 38.6k スター⑂ 3.4k フォークMIT更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
stanfordnlp/dspy
GitHubスター
38,554
フォーク
3,406
ライセンス
MIT
GitHubでの最終更新
2026年10月7日
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  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.

// 機能

選ばれる理由

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
// 自分で実行

自分で実行してみる

  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
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

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.

// さらに探索

似ているツール

AIエージェント

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.0k スターGPL-3.0
ガイドを見る →
AIエージェント

openpi

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

★ 14.1k スターApache-2.0
ガイドを見る →
AIエージェント

magentic

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

★ 2.4k スターMIT
ガイドを見る →
AIエージェント

unstructured

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

★ 15.5k スターApache-2.0
ガイドを見る →
AIエージェント

ida-pro-mcp

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

★ 12.5k スターMIT
ガイドを見る →
AIエージェント

lerobot

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

★ 28.0k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: AIエージェント

LibreAIカタログに掲載されたAIエージェントプロジェクトの中で最もスターの多いもの — dspyが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る agents

さらに見る: AIエージェント

カタログの中でdspyとスター数が近いAIエージェントプロジェクト — 前後の棚もそのまま見て回れます。

dspyを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。