Ax
A cross-language programming model for building with LLMs, providing typed signatures, agents, optimizers, and flows that compile from one TypeScript-first core into Python, Java, C++, Go, and Rust libraries.
Ax is a DSPy-style programming model for building applications on top of large language models, aimed at replacing hand-written prompts with typed program structure. Signatures describe structured generation using a string DSL, a fluent builder, or a schema validator such as Zod, and named deployment profiles separate wire-level provider behavior from the model actually selected.
Its agents support runtime execution, context budgets, checkpoints, action-log replay, and delegation, and its flows are typed program graphs with branches, loops, and parallel execution. Optimizers tune these programs automatically and produce portable optimizer artifacts. The project is TypeScript-first, with the same semantics compiled into published Python, Java, C++, Go, and Rust libraries.
It is released under the Apache License 2.0.