ax

The pretty much "official" DSPy framework for Typescript

20 articles 2.4k View on GitHub ↗
20 articles
How Ax Generates JSON Schema from Signatures for Structured Output

Ax generates JSON Schema from signatures for structured LLM output using declarative field definitions and validation constraints. Learn how Ax delivers precise structured data.

how-to-guide
Feb 25, 2026
How to Leverage Thinking or Reasoning Tokens within Ax: A Complete Guide to Chain-of-Thought AI

Unlock chain-of-thought reasoning in Ax LLM. Configure thinking token budgets for enhanced AI responses. Supports OpenAI, Gemini, and Anthropic.

how-to-guide
Feb 25, 2026
How Context Caching Works with Different LLM Providers in Ax

Learn how Ax enables provider-agnostic context caching for LLMs. Discover how to use the .cache() modifier to serialize reusable prompt segments for efficient LLM interactions.

deep-dive
Feb 25, 2026
How to Configure Rate Limiting for API Calls Made by Ax

Easily configure rate limiting for API calls made by Ax. Ax's token-based rate limiter tracks usage and delays requests to manage your token budget effectively.

how-to-guide
Feb 25, 2026
Migration Strategies for Updating Ax Projects: From v13 Factory Functions to v15

Update Ax projects from v13 to v15 seamlessly. Learn strategies to replace factory functions, adopt new classes, and ensure type safety for future compatibility.

migration-guide
Feb 25, 2026
How to Debug Ax Applications and Trace Operations with OpenTelemetry

Debug Ax applications and trace AI operations with OpenTelemetry. Configure the Node SDK to monitor prompts to responses and control payload visibility for effective troubleshooting.

how-to-guide
Feb 25, 2026
How to Write Unit and Integration Tests for Ax Code: Vitest Patterns and Examples

Learn to write unit and integration tests for Ax code using Vitest patterns. Discover deterministic LLM mocks with AxMockAIService for efficient testing, reducing API dependencies.

how-to-guide
Feb 25, 2026
How to Configure the AxJSRuntime for Secure JavaScript Sandboxing in Ax

Secure your Ax applications by configuring AxJSRuntime for robust JavaScript sandboxing. Block dangerous globals and grant selective permissions to enhance security.

how-to-guide
Feb 25, 2026
How to Add a Custom LLM Provider to Ax: A Complete Implementation Guide

Implement a custom LLM provider for Ax by extending AxAIService and wrapping it with AxAIProvider. Integrate any language model seamlessly with the Ax SDK for full compatibility. Get the complete guide.

how-to-guide
Feb 25, 2026
How to Use the Memory System in Ax for Context Management

Master Ax memory for context management. Learn to track interactions, rewind with tags, and integrate persistence using AxMemory and MCP servers.

how-to-guide
Feb 25, 2026
How to Handle Multi-Modal Inputs (Images, Audio) in Ax Applications

Learn to handle multi-modal inputs like images and audio in Ax applications. Discover how AxChatRequest processes various media or uses fallback strategies for seamless integration.

how-to-guide
Feb 25, 2026
How Streaming Output Works in Ax: Implementation and Handling Guide

Learn how Ax implements streaming output with an asynchronous generator for real-time LLM response consumption. Explore the streamingForward() method and handle incremental deltas efficiently.

how-to-guide
Feb 25, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →