EveryDev.ai
Subscribe
Home
Tools

3,750+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2780
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research522
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Ax LLM
    Ax LLM icon

    Ax LLM

    Agent Frameworks
    Featured

    An open-source DSPy-inspired framework for building typed, validated LLM calls and agents natively in TypeScript, Python, Java, C++, Go, and Rust.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully open-source under Apache 2.0. Free to use, modify, and distribute.

    Engagement

    Available On

    Windows
    iOS
    Web
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent FrameworksAI Development LibrariesLLM Orchestration

    Alternatives

    Search-R1Hermes-Function-Callingspec-ptc
    Developer
    ax-llmSaratoga, CAEst. 2024

    Updated Aug 2026

    About Ax LLM

    Ax is an open-source LLM programming framework built around typed signatures — a one-line contract that declares what data goes in and what typed data comes out. Instead of writing raw prompts, developers write signatures like "review:string -> sentiment:class \"positive, negative, neutral\"" and Ax handles prompt rendering, provider calls, output parsing, validation, retries, streaming, and tracing. The TypeScript package (@ax-llm/ax) is the reference implementation, and the same programming model is compiled via the AxIR intermediate representation into verified native packages for Python, Java, C++, Go, and Rust.

    What It Is

    Ax is described by its authors as "DSPy for TypeScript" — a framework that brings the declarative, self-improving pipeline ideas from the DSPy research lineage into a multi-language, production-ready library. The core abstraction is the signature: a typed input/output contract that Ax lowers into a full pipeline including prompt rendering, streaming parsers, validators, retry feedback loops, trace metadata, and optimization hooks. The same contract scales from a single typed generation call to long-running RLM-grade agents operating on large datasets without stuffing bulk data into the prompt.

    The AxIR Compiler Architecture

    Rather than porting TypeScript code six times, Ax uses a portable intermediate representation (AxIR). The TypeScript runtime is the source of truth; the AxIR compiler emits native package surfaces for each target language — native names, native error types, native builders, and native runtime profiles — while sharing the same Ax semantics. A conformance gate (axir verify) checks generated package examples, API metadata, capability manifests, and conformance fixtures to ensure every backend earns its place in the language matrix. Packages are published on npm, PyPI, Maven Central, crates.io, and Go modules, and are installable via CMake FetchContent for C++.

    Agent Harness and Runtime Model

    Ax ships a three-stage agent pipeline — distiller → executor → responder — built around the principle that the model computes on data rather than reading it. Bulky inputs live in a runtime session; the agent writes small code steps against them; only compact evidence enters the prompt. Key agent capabilities include:

    • Context maps: a persistent orientation cache for recurring long-context work, with configurable evolve steps and snapshot persistence
    • Memories: vector/BM25/KV lookup via recall(...), with results injected into the next turn
    • Skills: on-demand guidance bodies loaded via consult(...), persisted across .forward() calls
    • Sandboxed JS runtime (AxJSRuntime): hardened by default, portable across Node, Bun, Deno, and browser, with opt-in permissions for network, filesystem, storage, and child process access
    • Function discovery: large tool catalogs, MCP servers, child agents, and runtime state are discovered and loaded as needed rather than stuffed into the base prompt

    Optimization and Research Lineage

    Ax incorporates ideas from several research papers, including DSPy (Stanford), DSPy Assertions, GEPA (Genetic-Pareto prompt evolution from Stanford/Berkeley), ACE (Agentic Context Engineering from Stanford), RLM (Recursive Language Models from MIT/Stanford), and PEEK (context maps from MIT/Stanford). The AxGEPA optimizer tunes prompts, demos, flows, and agents against evals, returning a Pareto front that makes quality, latency, cost, and brevity tradeoffs explicit. AxFlow provides typed, chainable workflow graphs with branching, loops, parallel execution, and mermaid diagram round-trip support.

    Provider Coverage and Operational Features

    Ax supports 15+ LLM providers through a unified ai() abstraction: OpenAI (including Responses API and realtime), Anthropic/Claude, Google Gemini (including Live API), Mistral, Cohere, Reka, DeepSeek, Grok/xAI, Azure OpenAI, and any OpenAI-compatible endpoint. Audio is a first-class citizen — batch speech-to-text (ai.transcribe), batch text-to-speech (ai.speak), typed speech:audio signature outputs, and conversational/realtime audio turns are all supported. Operational features built in include OpenTelemetry distributed tracing (40+ metrics), cost tracking per request, streaming with field-boundary parsers, rate limiting, provider routing, and enterprise-grade error handling. The repo ships 1,000+ tests and 220+ runnable examples across all six languages.

    Update: Release 23.0.9

    The latest published release is 23.0.9, published on 2026-07-31, with the repository last updated on 2026-08-03. The project is under active development with recent additions including the GEPA optimizer, mermaid-based flow definitions, the AxIR multi-language compiler pipeline, and the PEEK-inspired context map system. The GitHub repository reports 2,855 stars and 90,400+ npm downloads per week as stated on the project homepage.

    Ax LLM - 1

    Community Discussions

    Be the first to start a conversation about Ax LLM

    Share your experience with Ax LLM, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully open-source under Apache 2.0. Free to use, modify, and distribute.

    • All Ax features included
    • TypeScript, Python, Java, C++, Go, Rust packages
    • 15+ LLM provider integrations
    • Agent harness, flows, optimizers
    • MCP integration

    Capabilities

    Key Features

    • Typed signature DSL for structured LLM generation
    • Multi-language support: TypeScript, Python, Java, C++, Go, Rust
    • AxIR compiler for cross-language semantic consistency
    • Agent harness with distiller → executor → responder pipeline
    • Sandboxed JS runtime (AxJSRuntime) for agent code execution
    • Context maps for persistent orientation in long-context agents
    • Memory and skills system for agents
    • Function/tool discovery for large tool catalogs
    • MCP (Model Context Protocol) client integration
    • AxFlow typed workflow graphs with branching, loops, and parallelism
    • Mermaid diagram round-trip for flow definitions
    • GEPA multi-objective Pareto optimizer
    • AxBootstrapFewShot few-shot optimizer
    • Streaming output with field-boundary parsers
    • Validation with auto-retry and correction feedback
    • Standard Schema v1 support (Zod, Valibot, ArkType)
    • Audio: batch STT/TTS, signature audio artifacts, realtime audio
    • 15+ LLM provider integrations
    • OpenTelemetry distributed tracing with 40+ metrics
    • Cost tracking per request
    • Provider routing and rate limiting
    • 220+ runnable examples across all six languages
    • 1,000+ tests

    Integrations

    OpenAI
    Anthropic Claude
    Google Gemini
    Mistral
    Cohere
    Reka
    DeepSeek
    Grok/xAI
    Azure OpenAI
    AWS Bedrock
    Vercel AI SDK
    Ollama (OpenAI-compatible)
    MCP servers
    GraphJin
    OpenTelemetry
    Zod
    Valibot
    ArkType
    npm
    PyPI
    Maven Central
    crates.io
    Go modules
    CMake FetchContent
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Ax LLM and help others make informed decisions.

    Developer

    ax-llm

    ax-llm builds the Ax framework, an open-source TypeScript library for constructing production-ready LLM agents and pipelines. The project brings DSPy-style prompt optimization and multi-provider support to the Node.js ecosystem. Ax emphasizes type safety, composability, and developer ergonomics for teams shipping AI-powered applications at scale.

    Founded 2024
    Saratoga, CA
    10 employees
    Read more about ax-llm
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    Search-R1 icon

    Search-R1

    An open-source reinforcement learning framework for training LLMs to interleave reasoning with real-time search engine calls, enabling autonomous multi-turn retrieval-augmented reasoning.

    Hermes-Function-Calling icon

    Hermes-Function-Calling

    An open-source Python library enabling the Hermes Pro LLM to perform structured function calling and JSON mode inference using a ChatML prompt format.

    spec-ptc icon

    spec-ptc

    Speculative programmatic tool calling (sPTC) library that queues and executes tool calls asynchronously while an LLM streams code, overlapping execution with generation time.

    Browse all tools

    Related Topics

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    664 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    296 tools

    LLM Orchestration

    Platforms and frameworks for designing, managing, and deploying complex LLM workflows with visual interfaces, allowing for the coordination of multiple AI models and services.

    212 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    45views