TraceRoot AI观测平台 是 AI Skill Hub 本期精选AI工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
TraceRoot AI观测平台 是一款基于 TypeScript 开发的开源工具,专注于 AI观测、智能体调试、工作流监控 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
TraceRoot AI观测平台 是一款基于 TypeScript 开发的开源工具,专注于 AI观测、智能体调试、工作流监控 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:npm 全局安装 npm install -g traceroot # 方式二:npx 直接运行(无需安装) npx traceroot --help # 方式三:项目依赖安装 npm install traceroot # 方式四:从源码运行 git clone https://github.com/traceroot-ai/traceroot cd traceroot npm install npm start
# 命令行使用
traceroot --help
# 基本用法
traceroot [options] <input>
# Node.js 代码中使用
const traceroot = require('traceroot');
const result = await traceroot.run(options);
console.log(result);
# traceroot 配置说明 # 查看配置选项 traceroot --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export TRACEROOT_CONFIG="/path/to/config.yml"
Open Source AI Agent Improvement Platform
[![Y Combinator][y-combinator-image]][y-combinator-url] [![License][license-image]][license-url] [![X (Twitter)][twitter-image]][twitter-url] [![Discord][discord-image]][discord-url] [![Documentation][docs-image]][docs-url] [![PyPI SDK Downloads][pypi-sdk-downloads-image]][pypi-sdk-downloads-url]
</div>
<p align="center"> <a href="./README.md"><img alt="README in English" src="https://img.shields.io/badge/English-f8f8f8"></a> <a href="./README.zh.md"><img alt="简体中文版自述文件" src="https://img.shields.io/badge/简体中文-f8f8f8"></a> <a href="./README.ko.md"><img alt="한국어 README" src="https://img.shields.io/badge/한국어-f8f8f8"></a> </p>
<p align="center">⭐ Help us reach more developers and grow the TraceRoot community. Star this repo!</p>
Once you have a TraceRoot instance (cloud or self-hosted), create a project in your dashboard and choose how to send your first trace: let your coding agent set up instrumentation through the CLI, or configure an SDK manually.
Prefer to configure instrumentation yourself? Use the Python SDK or TypeScript SDK. The example below sends one traced model call from a TypeScript application.
<details> <summary>Run a minimal TypeScript example</summary>
You need Node.js and npm, a TraceRoot project API key, and an OpenAI API key. For self-hosting, replace the cloud host URL below with your instance URL.
1. Install the SDK in your TypeScript project:
npm install @traceroot-ai/traceroot openai
2. Set your API keys:
export TRACEROOT_API_KEY="your-project-api-key"
export TRACEROOT_HOST_URL="https://app.traceroot.ai"
export OPENAI_API_KEY="your-openai-api-key"
3. Trace an agent call. Save this as example.ts:
import OpenAI from 'openai';
import { TraceRoot, observe } from '@traceroot-ai/traceroot';
TraceRoot.initialize({ instrumentModules: { openAI: OpenAI } });
const openai = new OpenAI();
const myAgent = observe({ name: 'my_agent', type: 'agent' }, async (query: string) => {
const response = await openai.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: query }],
});
return response.choices[0].message.content;
});
async function main() {
try {
await myAgent("What's the weather in SF?");
} finally {
await TraceRoot.shutdown();
}
}
main().catch(console.error);
4. Run it with npx tsx example.ts, then open your project's Traces page to inspect the agent run. This example makes one OpenAI API call.
</details>
| Language | Repository |
|---|---|
| Python | [traceroot-py](https://github.com/traceroot-ai/traceroot-py) |
| TypeScript | [traceroot-ts](https://github.com/traceroot-ai/traceroot-ts) |
<details open> <summary>Supported frameworks and model providers</summary>
TraceRoot填补AI智能体可观测性空白,集观测与自愈于一体,架构设计先进。YC背景保证质量,TypeScript技术栈现代化。生态完善度待提升。
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,TraceRoot AI观测平台 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | traceroot |
| 原始描述 | 开源AI工作流:TraceRoot - open-source observability and self-healing layer for AI agents. YC S。⭐580 · TypeScript |
| Topics | AI观测智能体调试工作流监控自愈系统TypeScript |
| GitHub | https://github.com/traceroot-ai/traceroot |
| License | NOASSERTION |
| 语言 | TypeScript |
收录时间:2026-05-22 · 更新时间:2026-05-30 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。