ax-llm/ax

The pretty much "official" DSPy framework for Typescript

81
/ 100
Verified

Implements DSPy's declarative programming model through type-safe TypeScript signatures that automatically generate optimized prompts and handle validation—eliminating manual prompt engineering. Supports 15+ LLM providers with zero rewrites, nested structured outputs with full type inference, and includes built-in optimization algorithms (MiPRO, ACE, GEPA), agents with ReAct pattern tools, and RLM mode for handling long-context analysis through recursive sub-queries in persistent JavaScript runtimes.

2,465 stars and 151,495 monthly downloads. Actively maintained with 83 commits in the last 30 days. Available on npm.

Maintenance 25 / 25
Adoption 20 / 25
Maturity 18 / 25
Community 18 / 25

How are scores calculated?

Stars

2,465

Forks

155

Language

TypeScript

License

Apache-2.0

Last pushed

Mar 11, 2026

Monthly downloads

151,495

Commits (30d)

83

Dependencies

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/ax-llm/ax"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.