{
  "slug": "dspy",
  "name": "DSPy",
  "company": "Stanford NLP",
  "website": "https://dspy.ai/",
  "category": "platforms",
  "business_model": "open",
  "availability": "unknown",
  "launched": null,
  "tags": [
    "framework",
    "developer-tools"
  ],
  "updated": "2026-11-03",
  "sources": [
    {
      "title": "DSPy — official product",
      "url": "https://dspy.ai/"
    },
    {
      "title": "DSPy — official documentation and terms",
      "url": "https://github.com/stanfordnlp/dspy"
    }
  ],
  "selection": {
    "tasks": [
      "automation-agents"
    ],
    "form_factor": "library",
    "platforms": [
      "unknown"
    ],
    "deployment": [
      "unknown"
    ],
    "offline": "unknown",
    "regions": [
      "unknown"
    ],
    "api": "unknown",
    "license": "unknown",
    "commercial_use": "unknown",
    "languages": [
      "unknown"
    ],
    "billing": {
      "models": [
        "open-source"
      ],
      "free_allowance": "yes",
      "requires_subscription": "no"
    }
  },
  "selection_evidence": {
    "tasks": {
      "status": "editorial_inference",
      "note": "Editorial classification of the documented features; not a product-performance test."
    },
    "form_factor": {
      "status": "editorial_inference",
      "note": "Editorial classification of the documented features; not a product-performance test."
    },
    "platforms": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "deployment": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "offline": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "regions": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "api": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "license": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "commercial_use": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "languages": {
      "status": "unknown",
      "note": "This product-specific field was not established in this entry’s source review."
    },
    "billing": {
      "status": "editorial_inference",
      "note": "Editorial classification of the documented features; not a product-performance test."
    }
  },
  "facts": [
    {
      "id": "dspy.capability.primary",
      "field": "capability",
      "value": "Structured task signatures instead of hand-written prompts",
      "status": "verified",
      "evidence_type": "official_page",
      "checked": "2026-11-03",
      "sources": [
        "https://dspy.ai/"
      ]
    }
  ],
  "description": "Python framework that expresses language-model tasks as modules and optimizes them against metrics.",
  "overview": "Typical uses include Development of tool-using agents; Construction of retrieval-augmented applications. Documented capabilities: Structured task signatures instead of hand-written prompts; Composable prediction, reasoning and retrieval modules; Optimizers that improve prompts using examples and metrics.",
  "features": [
    "Structured task signatures instead of hand-written prompts",
    "Composable prediction, reasoning and retrieval modules",
    "Optimizers that improve prompts using examples and metrics"
  ],
  "use_cases": [
    "Development of tool-using agents",
    "Construction of retrieval-augmented applications"
  ],
  "pricing_notes": "The open-source software can be run on your own infrastructure. Compute, storage and any external model API usage are separate costs; a managed service is not included.",
  "faq": [
    {
      "q": "Where does DSPy fit in a workflow?",
      "a": "Python framework that expresses language-model tasks as modules and optimizes them against metrics. Structured task signatures instead of hand-written prompts."
    },
    {
      "q": "What costs and limits should I compare before choosing DSPy?",
      "a": "The open-source software can be run on your own infrastructure. Compute, storage and any external model API usage are separate costs; a managed service is not included."
    }
  ],
  "i18n": {
    "zh": {
      "description": "将语言模型任务表达为模块并按指标优化的Python框架。",
      "overview": "典型用途包括工具调用智能体开发、检索增强应用构建。文档列明的能力包括：通过结构化任务签名替代手写提示词；可组合预测、推理及检索模块；利用示例和指标改进提示词的优化器。",
      "features": [
        "通过结构化任务签名替代手写提示词",
        "可组合预测、推理及检索模块",
        "利用示例和指标改进提示词的优化器"
      ],
      "use_cases": [
        "工具调用智能体开发",
        "检索增强应用构建"
      ],
      "pricing_notes": "开源软件可在自己的基础设施运行。计算、存储和外部模型API用量另计，不包含托管服务。",
      "faq": [
        {
          "q": "DSPy适合工作流中的哪个环节？",
          "a": "将语言模型任务表达为模块并按指标优化的Python框架。 通过结构化任务签名替代手写提示词."
        },
        {
          "q": "选择DSPy前应比较哪些费用和限制？",
          "a": "开源软件可在自己的基础设施运行。计算、存储和外部模型API用量另计，不包含托管服务。"
        }
      ],
      "selection_evidence": {
        "tasks": {
          "note": "依据所记录功能作出的编辑归类，非产品性能实测。"
        },
        "form_factor": {
          "note": "依据所记录功能作出的编辑归类，非产品性能实测。"
        },
        "platforms": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "deployment": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "offline": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "regions": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "api": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "license": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "commercial_use": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "languages": {
          "note": "本条目的来源核查尚未确认这一产品字段。"
        },
        "billing": {
          "note": "依据所记录功能作出的编辑归类，非产品性能实测。"
        }
      },
      "facts": {
        "dspy.capability.primary": {
          "value": "通过结构化任务签名替代手写提示词"
        }
      }
    },
    "es": {
      "description": "Framework Python que expresa tareas LLM como módulos optimizables con métricas.",
      "overview": "Usos habituales: Desarrollo de agentes con herramientas; Aplicaciones con recuperación aumentada. Funciones documentadas: Firmas estructuradas en vez de prompts manuales; Módulos de predicción, razonamiento y recuperación; Optimizadores con ejemplos y métricas.",
      "features": [
        "Firmas estructuradas en vez de prompts manuales",
        "Módulos de predicción, razonamiento y recuperación",
        "Optimizadores con ejemplos y métricas"
      ],
      "use_cases": [
        "Desarrollo de agentes con herramientas",
        "Aplicaciones con recuperación aumentada"
      ],
      "pricing_notes": "El software abierto puede ejecutarse en infraestructura propia. El cómputo, almacenamiento y las API de modelos se pagan aparte; no incluye servicio gestionado.",
      "faq": [
        {
          "q": "¿En qué parte del flujo encaja DSPy?",
          "a": "Framework Python que expresa tareas LLM como módulos optimizables con métricas. Firmas estructuradas en vez de prompts manuales."
        },
        {
          "q": "¿Qué costes y límites debo comparar antes de elegir DSPy?",
          "a": "El software abierto puede ejecutarse en infraestructura propia. El cómputo, almacenamiento y las API de modelos se pagan aparte; no incluye servicio gestionado."
        }
      ],
      "selection_evidence": {
        "tasks": {
          "note": "Clasificación editorial de las funciones documentadas; no es una prueba de rendimiento."
        },
        "form_factor": {
          "note": "Clasificación editorial de las funciones documentadas; no es una prueba de rendimiento."
        },
        "platforms": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "deployment": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "offline": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "regions": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "api": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "license": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "commercial_use": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "languages": {
          "note": "La revisión de fuentes de esta entrada no estableció este dato del producto."
        },
        "billing": {
          "note": "Clasificación editorial de las funciones documentadas; no es una prueba de rendimiento."
        }
      },
      "facts": {
        "dspy.capability.primary": {
          "value": "Firmas estructuradas en vez de prompts manuales"
        }
      }
    },
    "fr": {
      "description": "Framework Python exprimant les tâches LLM en modules optimisés par métriques.",
      "overview": "Usages courants : Développement d’agents utilisant des outils; Applications augmentées par recherche. Fonctions documentées : Signatures structurées plutôt que prompts manuels; Modules de prédiction, raisonnement et recherche; Optimiseurs utilisant exemples et métriques.",
      "features": [
        "Signatures structurées plutôt que prompts manuels",
        "Modules de prédiction, raisonnement et recherche",
        "Optimiseurs utilisant exemples et métriques"
      ],
      "use_cases": [
        "Développement d’agents utilisant des outils",
        "Applications augmentées par recherche"
      ],
      "pricing_notes": "Le logiciel open source s’exécute sur votre infrastructure. Calcul, stockage et API de modèles externes sont à financer séparément ; aucun service géré n’est inclus.",
      "faq": [
        {
          "q": "Quelle place occupe DSPy dans un parcours de travail ?",
          "a": "Framework Python exprimant les tâches LLM en modules optimisés par métriques. Signatures structurées plutôt que prompts manuels."
        },
        {
          "q": "Quels coûts et limites comparer avant de choisir DSPy ?",
          "a": "Le logiciel open source s’exécute sur votre infrastructure. Calcul, stockage et API de modèles externes sont à financer séparément ; aucun service géré n’est inclus."
        }
      ],
      "selection_evidence": {
        "tasks": {
          "note": "Classement éditorial des fonctions documentées ; aucun test de performance."
        },
        "form_factor": {
          "note": "Classement éditorial des fonctions documentées ; aucun test de performance."
        },
        "platforms": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "deployment": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "offline": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "regions": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "api": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "license": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "commercial_use": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "languages": {
          "note": "L’examen des sources de cette fiche n’a pas établi ce point du produit."
        },
        "billing": {
          "note": "Classement éditorial des fonctions documentées ; aucun test de performance."
        }
      },
      "facts": {
        "dspy.capability.primary": {
          "value": "Signatures structurées plutôt que prompts manuels"
        }
      }
    },
    "ja": {
      "description": "言語モデルのタスクをモジュールで表し、指標に基づき最適化するPythonフレームワーク。",
      "overview": "主な用途はツール利用エージェントの開発、検索拡張アプリの構築です。資料に記載された機能：手作業プロンプトに代わる構造化タスク署名；予測、推論、検索モジュールの組合せ；例と指標でプロンプトを改善する最適化器。",
      "features": [
        "手作業プロンプトに代わる構造化タスク署名",
        "予測、推論、検索モジュールの組合せ",
        "例と指標でプロンプトを改善する最適化器"
      ],
      "use_cases": [
        "ツール利用エージェントの開発",
        "検索拡張アプリの構築"
      ],
      "pricing_notes": "オープンソースソフトウェアは自前の基盤で実行できます。計算資源、ストレージ、外部モデルAPIは別費用で、マネージドサービスは含みません。",
      "faq": [
        {
          "q": "DSPyはワークフローのどの部分に向いていますか？",
          "a": "言語モデルのタスクをモジュールで表し、指標に基づき最適化するPythonフレームワーク。 手作業プロンプトに代わる構造化タスク署名."
        },
        {
          "q": "DSPyを選ぶ前に比較すべき費用や制限は何ですか？",
          "a": "オープンソースソフトウェアは自前の基盤で実行できます。計算資源、ストレージ、外部モデルAPIは別費用で、マネージドサービスは含みません。"
        }
      ],
      "selection_evidence": {
        "tasks": {
          "note": "記録された機能に基づく編集上の分類であり、性能の実測ではありません。"
        },
        "form_factor": {
          "note": "記録された機能に基づく編集上の分類であり、性能の実測ではありません。"
        },
        "platforms": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "deployment": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "offline": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "regions": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "api": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "license": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "commercial_use": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "languages": {
          "note": "この項目の資料確認では、この製品固有の情報は未確認です。"
        },
        "billing": {
          "note": "記録された機能に基づく編集上の分類であり、性能の実測ではありません。"
        }
      },
      "facts": {
        "dspy.capability.primary": {
          "value": "手作業プロンプトに代わる構造化タスク署名"
        }
      }
    },
    "de": {
      "description": "Python-Framework für modular beschriebene, metrisch optimierte Sprachmodellaufgaben.",
      "overview": "Typische Anwendungen: Entwicklung werkzeugnutzender Agenten; Aufbau retrievalgestützter Anwendungen. Dokumentierte Funktionen: Strukturierte Signaturen statt manueller Prompts; Kombinierbare Vorhersage-, Denk- und Retrievalmodule; Optimierer mit Beispielen und Metriken.",
      "features": [
        "Strukturierte Signaturen statt manueller Prompts",
        "Kombinierbare Vorhersage-, Denk- und Retrievalmodule",
        "Optimierer mit Beispielen und Metriken"
      ],
      "use_cases": [
        "Entwicklung werkzeugnutzender Agenten",
        "Aufbau retrievalgestützter Anwendungen"
      ],
      "pricing_notes": "Die Open-Source-Software läuft auf eigener Infrastruktur. Rechenleistung, Speicher und externe Modell-APIs kosten separat; ein verwalteter Dienst ist nicht enthalten.",
      "faq": [
        {
          "q": "Wo passt DSPy in den Arbeitsablauf?",
          "a": "Python-Framework für modular beschriebene, metrisch optimierte Sprachmodellaufgaben. Strukturierte Signaturen statt manueller Prompts."
        },
        {
          "q": "Welche Kosten und Limits sollte ich vor der Wahl von DSPy vergleichen?",
          "a": "Die Open-Source-Software läuft auf eigener Infrastruktur. Rechenleistung, Speicher und externe Modell-APIs kosten separat; ein verwalteter Dienst ist nicht enthalten."
        }
      ],
      "selection_evidence": {
        "tasks": {
          "note": "Redaktionelle Einordnung dokumentierter Funktionen; kein Leistungstest."
        },
        "form_factor": {
          "note": "Redaktionelle Einordnung dokumentierter Funktionen; kein Leistungstest."
        },
        "platforms": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "deployment": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "offline": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "regions": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "api": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "license": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "commercial_use": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "languages": {
          "note": "Die Quellenprüfung dieses Eintrags hat dieses Produktfeld nicht belegt."
        },
        "billing": {
          "note": "Redaktionelle Einordnung dokumentierter Funktionen; kein Leistungstest."
        }
      },
      "facts": {
        "dspy.capability.primary": {
          "value": "Strukturierte Signaturen statt manueller Prompts"
        }
      }
    },
    "pt": {
      "description": "Framework Python que expressa tarefas LLM como módulos otimizados por métricas.",
      "overview": "Usos comuns: Desenvolvimento de agentes com ferramentas; Aplicações com recuperação aumentada. Recursos documentados: Assinaturas estruturadas em vez de prompts manuais; Módulos de previsão, raciocínio e recuperação; Otimizadores com exemplos e métricas.",
      "features": [
        "Assinaturas estruturadas em vez de prompts manuais",
        "Módulos de previsão, raciocínio e recuperação",
        "Otimizadores com exemplos e métricas"
      ],
      "use_cases": [
        "Desenvolvimento de agentes com ferramentas",
        "Aplicações com recuperação aumentada"
      ],
      "pricing_notes": "O software aberto pode rodar em infraestrutura própria. Computação, armazenamento e APIs externas de modelos têm custos separados; serviço gerenciado não está incluído.",
      "faq": [
        {
          "q": "Em que parte do fluxo DSPy se encaixa?",
          "a": "Framework Python que expressa tarefas LLM como módulos otimizados por métricas. Assinaturas estruturadas em vez de prompts manuais."
        },
        {
          "q": "Quais custos e limites comparar antes de escolher DSPy?",
          "a": "O software aberto pode rodar em infraestrutura própria. Computação, armazenamento e APIs externas de modelos têm custos separados; serviço gerenciado não está incluído."
        }
      ],
      "selection_evidence": {
        "tasks": {
          "note": "Classificação editorial dos recursos documentados; não é um teste de desempenho."
        },
        "form_factor": {
          "note": "Classificação editorial dos recursos documentados; não é um teste de desempenho."
        },
        "platforms": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "deployment": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "offline": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "regions": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "api": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "license": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "commercial_use": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "languages": {
          "note": "A revisão de fontes desta entrada não estabeleceu este dado do produto."
        },
        "billing": {
          "note": "Classificação editorial dos recursos documentados; não é um teste de desempenho."
        }
      },
      "facts": {
        "dspy.capability.primary": {
          "value": "Assinaturas estruturadas em vez de prompts manuais"
        }
      }
    },
    "ko": {
      "description": "언어 모델 작업을 모듈로 표현하고 지표로 최적화하는 Python 프레임워크입니다.",
      "overview": "주요 용도는 도구 사용 에이전트 개발; 검색 증강 앱 구축입니다. 문서에 명시된 기능: 수동 프롬프트 대신 구조화 작업 서명; 조합 가능한 예측, 추론, 검색 모듈; 예제와 지표로 프롬프트를 개선하는 최적화기.",
      "features": [
        "수동 프롬프트 대신 구조화 작업 서명",
        "조합 가능한 예측, 추론, 검색 모듈",
        "예제와 지표로 프롬프트를 개선하는 최적화기"
      ],
      "use_cases": [
        "도구 사용 에이전트 개발",
        "검색 증강 앱 구축"
      ],
      "pricing_notes": "오픈 소스 소프트웨어는 자체 인프라에서 실행할 수 있습니다. 컴퓨팅, 저장 공간, 외부 모델 API 비용은 별도이며 관리형 서비스는 포함되지 않습니다.",
      "faq": [
        {
          "q": "DSPy은(는) 워크플로의 어느 단계에 적합한가요?",
          "a": "언어 모델 작업을 모듈로 표현하고 지표로 최적화하는 Python 프레임워크입니다. 수동 프롬프트 대신 구조화 작업 서명."
        },
        {
          "q": "DSPy 선택 전에 어떤 비용과 제한을 비교해야 하나요?",
          "a": "오픈 소스 소프트웨어는 자체 인프라에서 실행할 수 있습니다. 컴퓨팅, 저장 공간, 외부 모델 API 비용은 별도이며 관리형 서비스는 포함되지 않습니다."
        }
      ],
      "selection_evidence": {
        "tasks": {
          "note": "문서화된 기능에 따른 편집상 분류이며 성능 실측이 아닙니다."
        },
        "form_factor": {
          "note": "문서화된 기능에 따른 편집상 분류이며 성능 실측이 아닙니다."
        },
        "platforms": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "deployment": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "offline": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "regions": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "api": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "license": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "commercial_use": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "languages": {
          "note": "이 항목의 출처 검토에서 해당 제품 정보를 확인하지 못했습니다."
        },
        "billing": {
          "note": "문서화된 기능에 따른 편집상 분류이며 성능 실측이 아닙니다."
        }
      },
      "facts": {
        "dspy.capability.primary": {
          "value": "수동 프롬프트 대신 구조화 작업 서명"
        }
      }
    }
  },
  "verification": {
    "last_checked": "2026-11-03",
    "batch": "catalog-500-20261103",
    "source_review": "Official product pages read; no product-performance test.",
    "reviewed_sources": [
      "https://dspy.ai/",
      "https://github.com/stanfordnlp/dspy"
    ],
    "egress_region": "unknown",
    "owner": "technical",
    "gap_note": "Only documented product scope and supplied claims were reviewed. Fields left unknown were not established for this entry; no launch date, geographic guarantee or licence is inferred."
  },
  "url": "https://globalaiproductindex.com/products/dspy/"
}