Skip to main content
ClaudeWave

The pretty much "official" DSPy framework for Typescript

Tools2.8k stars176 forksTypeScriptApache-2.0Updated today
Editor's note

Ax is a TypeScript-first implementation of the DSPy programming model for building structured LLM applications, published as `@ax-llm/ax` on npm and cross-compiled into verified Python, Java, C++, Go, and Rust library shapes from a single source. Developers define typed signatures using a string DSL, a fluent `f()` builder, or Standard Schema validators like Zod or Valibot, then call `.forward()` to get structured outputs without manual prompt engineering. The library connects to Anthropic (Claude), OpenAI, Google Gemini, Mistral, DeepSeek, Cohere, Grok, and other providers through a unified provider abstraction, making it straightforward to swap Claude in or out by changing a single `name` field. Beyond generation, Ax includes agents with memory and delegation, typed program graphs called Flows with branching and parallel execution, and GEPA-based optimizers for few-shot bootstrapping. Streaming is enabled by default, allowing field parsing and early cancellation before a full response completes, keeping overhead close to raw provider SDK latency. The framework targets TypeScript developers building multi-provider LLM pipelines who want DSPy-style optimization without Python.

ClaudeWave Trust Score
100/100
Verified
Passed
  • Open-source license (Apache-2.0)
  • Actively maintained (<30d)
  • Healthy fork ratio
  • Clear description
  • Topics declared
  • Mature repo (>1y old)
Last scanned: 6/11/2026
Get started
Method: Clone
Terminal
git clone https://github.com/ax-llm/ax
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.
aianthropicclaudecoheredspygeminigooglegoogle-geminigpt-4javascriptlarge-language-modelsllmnodejsollamaopenaiopensourceragtypescriptvectordbwebllm

What people ask about ax

What is ax-llm/ax?

+

ax-llm/ax is tools for the Claude AI ecosystem. The pretty much "official" DSPy framework for Typescript It has 2.8k GitHub stars and was last updated today.

How do I install ax?

+

You can install ax by cloning the repository (https://github.com/ax-llm/ax) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is ax-llm/ax safe to use?

+

Our security agent has analyzed ax-llm/ax and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains ax-llm/ax?

+

ax-llm/ax is maintained by ax-llm. The last recorded GitHub activity is from today, with 10 open issues.

Are there alternatives to ax?

+

Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.

Deploy ax to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: ax-llm/ax
[![Featured on ClaudeWave](https://claudewave.com/api/badge/ax-llm-ax)](https://claudewave.com/repo/ax-llm-ax)
<a href="https://claudewave.com/repo/ax-llm-ax"><img src="https://claudewave.com/api/badge/ax-llm-ax" alt="Featured on ClaudeWave: ax-llm/ax" width="320" height="64" /></a>

More Tools