Comparison
ax vs dspy
Verdict
Unverified catalog guidance: ax: ax is a multi-language, open-source framework for TypeScript supporting numerous large language models and AI frameworks. dspy: DSPy is a Python framework for programming language models, offering an alternative to prompting-based approaches.
Markdown twin · ax alternatives · dspy alternatives
GraphCanon updated Sep 20, 2026
Trust & integrity
| Signal | ax | dspy |
|---|---|---|
| Maintenance | Very active (1d since push) As of Sep 20, 2026 · github_public_v1 | Very active (0d since push) As of Sep 18, 2026 · github_public_v1 |
| Provenance | Not a fork · Organization account As of Sep 20, 2026 · github_public_v1 | Not a fork · Organization account As of Sep 18, 2026 · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of Jul 15, 2026 · osv@v1 | No lockfile (source not queried) As of Sep 18, 2026 · osv@v1 |
| deps.dev advisories | Not queried deps.dev@v1 | Not queried deps.dev@v1 |
| OpenSSF Scorecard | Not queried openssf-scorecard@v1 | Not queried openssf-scorecard@v1 |
Tagline
- ax
- The pretty much official DSPy framework for TypeScript
- dspy
- Framework for programming language models
Stars
- ax
- 2.9k
- dspy
- 38k
Forks
- ax
- 195
- dspy
- 3.3k
Open issues
- ax
- 8
- dspy
- 706
Language
- ax
- TypeScript
- dspy
- Python
Adopt for
- ax
- Unverified catalog guidance: ax is a multi-language, open-source framework for TypeScript supporting numerous large language models and AI frameworks.
- dspy
- Unverified catalog guidance: DSPy is a Python framework for programming language models, offering an alternative to prompting-based approaches.
Persona
- ax
- -
- dspy
- -
Runtime
- ax
- -
- dspy
- -
License
- ax
- Apache-2.0
- dspy
- DSPy is available under the MIT License, allowing for broad usage with attribution.
Last pushed
- ax
- Sep 18, 2026
- dspy
- Sep 17, 2026
Categories
- ax
- LLM Frameworks
- dspy
- LLM Frameworks
Trust and health
Days since push
- ax
- 1d
- dspy
- 0d
Open issues (recorded)
- ax
- 8
- dspy
- 706
Stars delta
- ax
- +58 (30d)
- dspy
- +1.4k (30d)
Open issues delta
- ax
- 0 (30d)
- dspy
- +61 (30d)
Full report
- dspy
- Trust report
Shared compatibility
- Python · ax: Python runtime · dspy: Python runtime
Choose ax if…
- ax is primarily TypeScript; dspy is Python.
- License: ax is Apache-2.0, dspy is MIT.
- Tags unique to ax: ai, anthropic, claude, cohere.
- Unverified catalog guidance: When you require support for large language models such as Claude, Gemini, GPT-4, and others within a TypeScript environment
When NOT to use ax
- Unverified catalog guidance: When your project is predominantly in another language that lacks native support through packages checked into this repository
- Unverified catalog guidance: If limited to environments not supporting Apache-2.0 licensed software or requiring frameworks without external dependencies for certain features like real-time audio in Go 1.23+
Choose dspy if…
- dspy is primarily Python; ax is TypeScript.
- License: dspy is MIT, ax is Apache-2.0.
- Pricing: DSPy is free to use and modify due to its MIT License, but users might incur costs related to model training and deployment..
- Requirements: Min 4 GB RAM; Python environment is required for installation and use..
- Tags unique to dspy: ai development tools, language models, programming framework.
- Unverified catalog guidance: Use DSPy when you need a framework that allows for direct programming of language models, rather than relying on prompting techniques.
When NOT to use dspy
- Unverified catalog guidance: Avoid DSPy if your project benefits more from natural language prompting and less from direct programming of the model.
- Unverified catalog guidance: Do not use DSPy if you prefer frameworks that focus on enhancing model performance through advanced prompting strategies.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (ax-llm/ax) · observed Sep 20, 2026
- GitHub forks (ax-llm/ax) · observed Sep 20, 2026
- Last push (ax-llm/ax) · observed Sep 18, 2026
- License file (Apache-2.0) · observed Sep 20, 2026
- Decision facts (enrichment) · observed Jul 16, 2026
- Trust scan (lockfile / OSV) · observed Jul 15, 2026
- GitHub stars (stanfordnlp/dspy) · observed Sep 20, 2026
- GitHub forks (stanfordnlp/dspy) · observed Sep 20, 2026
- Last push (stanfordnlp/dspy) · observed Sep 17, 2026
- License file (MIT) · observed Sep 20, 2026
- Decision facts (enrichment) · observed Sep 18, 2026
- Trust scan (lockfile / OSV) · observed Sep 18, 2026
GitHub stars on cards: ax 2.9k · dspy 38k (synced Sep 20, 2026).
Common questions
- What is the difference between ax and dspy?
- ax: The pretty much official DSPy framework for TypeScript. dspy: Framework for programming language models. See the comparison table for recorded GitHub metadata and shared categories.
- When should I choose ax over dspy?
- For ax, compare these recorded points with dspy: ax is primarily TypeScript; dspy is Python; License: ax is Apache-2.0, dspy is MIT; Tags unique to ax: ai, anthropic, claude, cohere; Unverified catalog guidance: When you require support for large language models such as Claude, Gemini, GPT-4, and others within a TypeScript environment.
- When should I choose dspy over ax?
- For dspy, compare these recorded points with ax: dspy is primarily Python; ax is TypeScript; License: dspy is MIT, ax is Apache-2.0; Pricing: DSPy is free to use and modify due to its MIT License, but users might incur costs related to model training and deployment.; Requirements: Min 4 GB RAM; Python environment is required for installation and use.; Tags unique to dspy: ai development tools, language models, programming framework; Unverified catalog guidance: Use DSPy when you need a framework that allows for direct programming of language models, rather than relying on prompting techniques.
- When should I avoid ax?
- Unverified catalog guidance: When your project is predominantly in another language that lacks native support through packages checked into this repository Unverified catalog guidance: If limited to environments not supporting Apache-2.0 licensed software or requiring frameworks without external dependencies for certain features like real-time audio in Go 1.23+
- When should I avoid dspy?
- Unverified catalog guidance: Avoid DSPy if your project benefits more from natural language prompting and less from direct programming of the model. Unverified catalog guidance: Do not use DSPy if you prefer frameworks that focus on enhancing model performance through advanced prompting strategies.
- Is ax or dspy more popular on GitHub?
- dspy has more recorded GitHub stars (38,116 vs 2,927). Stars measure visibility, not whether either tool fits your constraints.
- Which licenses are recorded for ax and dspy?
- ax: Apache-2.0. dspy: MIT. Check each repository's current license and terms before use. Public GitHub hosting alone does not establish open-source licensing.
- Where can I find alternatives to ax or dspy?
- GraphCanon lists candidates at ax alternatives and dspy alternatives (ax markdown twin, dspy markdown twin). The discovery order uses stored relationship proposals and shared categories; it is not a verified replacement ranking.
- Is there a machine-readable version of this comparison?
- Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
- Which is better maintained, ax or dspy?
- ax: Very active. dspy: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
- Where are the full trust reports for ax and dspy?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: ax trust report; dspy trust report.