Skip to main content
ClaudeWave
EN, English
ax-llm / Tools

ax

The pretty much "official" DSPy framework for Typescript

  • 3k stars
  • 199 forks
  • 10 open issues
  • Language: TypeScript
  • License: Apache-2.0
  • updated

Install

Terminal
git clone https://github.com/ax-llm/ax
  1. Clone the repository.
  2. Follow the README for installation and usage instructions.

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.

README

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.
Use cases
Topics
agentsaianthropicclaudecoheredspygeminigooglegoogle-geminigrokjavascriptlarge-language-modelsllmnodejsollamaopenaiopensourcerlmtypescript
Frequently asked

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 3k GitHub stars and its last recorded update is dated 2026-10-21.

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 dated 2026-10-21, 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.

Project homepage
http://axllm.dev