{"repo":"ax-llm/ax","free":true,"listed":false,"github":"https://github.com/ax-llm/ax","clone":"git clone https://github.com/ax-llm/ax.git","description":"The pretty much \"official\" DSPy framework for Typescript","language":"TypeScript","stars":2875,"topics":["ai","cohere","llm","openai","typescript","javascript","nodejs","claude","large-language-models","opensource"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"Ax — DSPy for TypeScript / Python / Java / C++ / Go / Rust and more One programming model for building with LLMs across TypeScript, Python, Java, C++, Go, and Rust. Ax is TypeScript-first and ships today as @ax-llm/ax . The same signatures, provider mappings, agents, flows, runtime contracts, and optimizers are also compiled into verified generated Python, Java, C++, Go, and Rust libraries. 💬 Follow @dosco on X for new releases and to chat about the project. What Ax is - Signatures for typed structured generation: string DSL, fluent f() builder, or any Standard Schema v1 validator — Zod, Valibot, ArkType. - Named deployment profiles across native APIs, routers, hosted inference, configurable runtimes, audio, and realtime event streams. The deployment name selects wire behavior; the model ID is resolved only inside it. - Agents with runtime execution, context budgets, checkpoints, action-log replay, discovery, memory, skills, and delegation. - Flows as typed program graphs with branches, loops, feedback, cache behavior, parallel execution, and .returns(...) projection. - Optimizers including GEPA, few-shot bootstrapping, portable optimizer artifacts, and evaluation/apply flows. - One semantic core compiled into TypeScript, Python, Java, C++, Go, and Rust library shapes, so the same Ax program model can move across runtime stacks. Language Matrix Ecosystem Package / import Status --- --- --- TypeScript / JavaScript @ax-llm/ax import { ai, ax, agent, flow } from \"@ax-llm/ax\" Pu","default_branch":null,"files":null,"tree":[],"storefront":"/r/ax-llm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ax-llm/ax/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}