AgentPantheon
Ax logo

Ax开源 TypeScript 框架,用于构建 LLM 代理和代理工作流。

4.4 (5)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年5月

概览

Ax 是一个 TypeScript 框架,帮助开发者构建由大型语言模型驱动的应用,专注于代理和多步骤工作流。它提供结构化的提示、工具和推理链原语,使团队能够超越临时的提示工程,转向更易维护、带类型的代码。 该框架借鉴了提示编程研究的理念,让开发者以声明式方式描述输入和输出,而 Ax 负责格式化、解析以及工具编排。它支持多家 LLM 提供商,并能与现有的 Node.js 与 TypeScript 生态系统集成。 作为开源项目,Ax 适合那些希望拥有透明性、可扩展性,并能够自行托管代理基础设施,而不是依赖封闭平台的工程师。

主要功能

  • 声明式提示和签名定义
  • 代理和工具编排原语
  • 多提供商 LLM 支持
  • 流式输出和结构化输出解析
  • 内置链式推理支持
  • 可通过自定义工具和适配器扩展

价格

模型
Freemium
分类
AI Agents
评分
4.4 / 5 (5)

使用场景

构建带类型的 LLM 代理

使用 TypeScript 签名而非脆弱的临时提示字符串,创建具备结构化输入、输出和工具编排的 AI 代理。

多步骤代理工作流

将链式推理步骤和工具调用组合成可维护的工作流,用于研究、数据抽取或自动决策等任务。

供应商无关的 LLM 应用

开发能够跨多个 LLM 提供商运行的应用,团队无需重写核心逻辑即可切换或比较模型。

自行托管的 AI 集成

在现有的 Node.js 与 TypeScript 堆栈中嵌入开源 LLM 能力,满足透明性、可扩展性和自行托管的需求。

优点 & 缺点

优点

  • 强大的 TypeScript 类型和开发者友好性
  • 开源且可自行托管
  • 兼容多个 LLM 提供商
  • 结构化的代理与工具方法

缺点

  • 需要 TypeScript 和编程知识
  • 生态系统规模小于大型框架
  • 文档可能跟不上快速变化

评测

4.4

5 个评分的平均值。

5
2
4
3
3
0
2
0
1
0

登录以留下评测。

M

Margaret Whitfield

Feb 27, 2026

Years in this space

I've evaluated a lot of these over the years. What stands out here is agent and tool orchestration primitives — handled better than most — and strong TypeScript typing and developer ergonomics. Requires TypeScript and coding knowledge is my one real gripe. Worth the time if this is your use case.

A

Aaliyah Johnson

Nov 10, 2025

Does the job

Pretty happy overall. Agent and tool orchestration primitives just works and open-source and self-hostable. Documentation can lag behind rapid changes can be annoying, but no dealbreakers — I'd recommend it to a friend without hesitating.

P

Pierre Dubois

Nov 9, 2025

Compared a few options

Evaluated this against two competitors. Where it wins: declarative prompt and signature definitions and strong TypeScript typing and developer ergonomics. On balance the feature set — especially agent and tool orchestration primitives — justifies the 5 stars for our use case.

W

Wei Chen

Sep 21, 2025

Years in this space

I've evaluated a lot of these over the years. What stands out here is extensible with custom tools and adapters — handled better than most — and strong TypeScript typing and developer ergonomics. Requires TypeScript and coding knowledge is my one real gripe. Worth the time if this is your use case.

C

Carlos Mendoza

Aug 1, 2025

Use it every day

Honestly didn't expect to like it this much. Declarative prompt and signature definitions is exactly what I needed, and structured approach to agents and tools. I do wish requires TypeScript and coding knowledge, but I reach for it almost every day now and it just clicks.

问答

暂无问题 — 来当第一个提问的人吧。

提问

AI Agents 的替代品