ax-llm/ax
The pretty much "official" DSPy framework for Typescript observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 87
- Longevity 91
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 1287
- days_rel: 8
- days_push: 8
- n_releases_24m: 413
Adoption not part of the score
2885 stars · 190 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Ax is a TypeScript-first LLM programming framework implementing the DSPy model, providing typed signatures, agents, flows, and optimizers like GEPA across many LLM providers. The same semantic core is also compiled into Python, Java, C++, Go, and Rust libraries.
Use cases
- build typed structured LLM calls with validated outputs
- create DSPy-style prompt programs in TypeScript
- build LLM agents with memory and tool use
- optimize prompts and few-shot demos with GEPA
- build multi-step LLM workflows with branching and loops
- switch between OpenAI, Anthropic, Gemini, and local models
- build RAG pipelines with vector databases
When to choose
- you want DSPy-style prompt programming in TypeScript or Node.js
- you need typed, validated structured outputs from LLMs
- you want one framework spanning multiple LLM providers
- you need prompt optimization with metrics and teacher/student models
- you want the same LLM program model across several languages
When to avoid
- you only need raw chat completions without structure or optimization
- you need a language not covered by the compiled libraries
- you prefer Python-native DSPy with its full ecosystem
- you want a no-code or UI-driven LLM builder
Facets
framework · maturity active
llm-inference agent-framework rag prompt-engineering sdk machine-learning large-language-models artificial-intelligence developer-tools python jvm go rust cpp cross-platform dspy typed-signatures llm-optimization gepa multi-provider structured-output llm-workflows ai-agents retrieval-augmented-generation nodejs typescript
6 sources
- readme: https://github.com/ax-llm/ax · fetched 2026-08-28 · 84f46c08a3c8
- homepage: http://axllm.dev · fetched 2026-08-29 · 43baf3cf8940
- site_page: http://axllm.dev/typescript/api/ai · fetched 2026-08-29 · a20e47b7055f
- site_page: http://axllm.dev/typescript/skills · fetched 2026-08-29 · 3d4999a6a367
- site_page: http://axllm.dev/typescript/concepts/optimization · fetched 2026-08-29 · ff47f087449f
- site_page: http://axllm.dev/typescript/concepts/telemetry · fetched 2026-08-29 · 99bd7645d3ff
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ax-llm/ax | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem