#76 · Primary category: LLM Application Frameworks
ax
The pretty much "official" DSPy framework for Typescript
Project last updated:08/30/26
GitHub Stars
2.9K
Forks
191
Contributors
42
License
Apache-2.0
Why we included this project
Ax brings the DSPy approach to TypeScript, letting you define each LLM call as a typed signature backed by a validator like Zod, Valibot, or ArkType, then leaving prompt construction, parsing, validation, streaming, and retries to the library. That is a real relief when your team has been juggling raw prompt strings and brittle JSON parsing. It also includes agents with memory and delegation, typed flow graphs that support branching and caching, and optimizers such as few-shot bootstrapping and GEPA for improving output quality. The same core program model compiles to Python, Java, C++, Go, and Rust packages, so if your stack spans runtimes you can keep one design and a provider abstraction that covers OpenAI, Anthropic, Gemini, Mistral, and local endpoints without rewriting prompts.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform