LLM Application Development Framework
2.5k 2026-04-13

ax-llm/ax

Ax is a TypeScript framework that brings DSPy's declarative approach to building reliable AI applications, abstracting prompt engineering and ensuring type-safety across various LLM providers.

Core Features

Declarative AI app development with DSPy in TypeScript
LLM provider agnostic: switch between 15+ providers without code changes
Automated prompt generation and optimization for faster shipping
Production-ready with built-in streaming, validation, error handling, and observability
Supports structured data extraction, complex object handling, and AI agents with tools

Quick Start

npm install @ax-llm/ax

Detailed Introduction

Building applications with Large Language Models often involves tedious prompt engineering, provider-specific rewrites, and complex infrastructure management. Ax addresses these challenges by offering a TypeScript framework that adopts the DSPy paradigm. Developers define inputs and outputs, and Ax automatically handles prompt generation, validation, and error handling. It's designed for production, supports multiple LLM providers, and allows for training programs to improve accuracy, enabling faster, more reliable AI application development.

OSS Alternative

Explore the best open source alternatives to commercial software.

© 2026 OSS Alternative. hotgithub.com - All rights reserved.