Skip to content

Getting started

Quickstart

Run your first traced agent in under five minutes.

Install

npm i @trace/runtime
export TRACE_KEY=sk_live_...

Your first traced run

import { agent } from '@trace/runtime';

const run = await agent('orchestrator').run(
  'Summarize Q3 churn and draft the customer email.'
);

console.log(run.trace.url); // a shareable, auditable trace

That’s it. The run.trace object holds the plan, every tool call, and the verification result, the same trace your teammates and auditors will read.

Next

Head to Core concepts to understand what each line of that trace means, then Defining tools to give your agent real capabilities.