Trajectory shows how people use AI coding agents and what that work produces.
Coding agents run in local CLIs, IDEs, and desktop apps that application telemetry mostly misses. Trajectory turns their sessions into local timelines, Datadog LLM Observability traces, operational metrics, and marker results. You see which agents people use and where, their work, its cost and results, their failures, and adoption.
A client is a coding agent. A session is one conversation with it. A turn is one prompt and the agent's work on it.
Trajectory captures sessions, turns, tool calls, tokens, cost, repository context, and outcomes. If a client exposes them, it also captures commands, file edits, tests, permissions, commits, pull requests, compaction, and subagents. It links agent use to people, repositories, tools, commits, pull requests, and completed-session samples in one Datadog format.
One local binary serves many clients through their hooks, plugins, or session files. It captures locally first, and developers keep their tools. Trajectory covers the agent's side of the work, next to APM, logs, infrastructure, and security monitoring.
- Export: LLM Observability traces, and metrics for tokens, cost, duration, tool use, capture health, and attribution.
- Work Insights: adoption, outcomes, task mix, complexity, agent-work cost, pull request attribution, stable JSON, and local pull request evidence.
- Investigation:
trajectory status,trajectory view, diagnostics, support bundles, MCP tools, and backfill. - Privacy: incognito, local-only capture, trace detail, a capture off switch, and controls for Trajectory's own LLM calls.
Follow Getting started to install Trajectory and connect your coding agents.
To turn on Datadog Security for detected Claude Code, Codex, GitHub Copilot
CLI, Cursor, and Kiro CLI, add --security to the installer. Pass --app-key,
or set DD_APP_KEY. Security can block agent actions.
--security-mode observe only records them.
For a managed fleet (MDM or UEM), start with the managed deployment guide. It covers preparation, policy, client selection, and verification. Your MDM tool deploys the binaries and a policy that a job applies for each user, and owns updates.
Each release has these assets:
trajectory-darwin-amd64,trajectory-darwin-arm64,trajectory-darwin-universaltrajectory-linux-amd64,trajectory-linux-arm64trajectory-windows-amd64.exe, and the same binary astrajectory-windows-amd64- a
trajectory-mdm-*administrator helper for each platform, withtrajectory-mdm-windows-amd64.exefor Windows checksums.sha256
Supported clients lists every client. Clients marked (preview) are preview integrations.
- Start: Getting started, user guide
- Settings: configuration, privacy
- Sending data: publishing, traces, security event stream, skill observability, AI Gateway
- Cost, markers, and reports: costs, markers, reports
- Metrics: metrics reference, metrics consistency audit
- Managed fleets: deployment guide, setup, decisions, what goes where, settings
- Agent Security: Agent Security, security plugin
Apache-2.0. See LICENSE, NOTICE, and LICENSE-3rdparty.csv.