Get a reliable DSPy framework for Typescript with ax, used by developers with 2.8k+ GitHub stars, ideal for startup founders using large language models.
2,808 stars179 forksTypeScriptQuality 8/10Updated 7/4/2026100% free ยท open source
What it does
Ax provides a reliable DSPy framework for building large language models with TypeScript, allowing startup founders to develop and deploy AI-powered applications
Install / run
npm install @ax/core
When to use it
โขYou need a TypeScript-based framework for building large language models
โขYour startup requires a reliable and scalable DSPy framework for AI application development
โขYou want to leverage the power of large language models with a framework that has a strong GitHub community and 2.8k+ stars
Quick start
1Create a new Ax project by running `npx ax init my-project`
2Import the Ax framework in your TypeScript file using `import { Ax } from '@ax/core';`
3Configure the Ax framework by creating an `ax.config.js` file with your model settings
4Train your large language model using the `ax.train()` method, as shown in the Ax examples
5Deploy your trained model using the `ax.deploy()` method, which supports various deployment options
Ready-to-paste prompt
Train a language model using `ax.train({ model: 'my-model', dataset: 'my-dataset' })`
Heads up: Make sure you have the correct version of Node.js installed, as Ax requires Node.js 16 or higher to function properly
Saves to your device
Topics
ai
anthropic
claude
cohere
dspy
gemini
google
google-gemini
gpt-4
javascript
large-language-models
llm
nodejs
ollama
openai
opensource
rag
typescript
vectordb
webllm
What's inside โ free to inspect
No purchase needed
Read the entire source before you build โ unlike paid marketplaces that hide it behind a buy button.