Getting Started & Installation
This document is a starting point that brings together "how to start Agent Tracer now and where to begin reading code". The actual installation procedures per runtime are more detailed in docs/guide, and this page organizes the minimum path needed from a repository perspective.
Local Development Mode
The most common development loop is running server and web simultaneously.
npm install
npm run build
npm run dev- Server:
http://127.0.0.1:3847 - Web:
http://127.0.0.1:5173 npm run devexecutesdev:serveranddev:websimultaneously.npm run dev:serverstarts the NestJS-based runtime viapackages/server/src/index.ts.
To view server only:
npm run dev:serverTo check MCP server separately, build first then use:
npm run start:mcpAttaching to External Projects
The primary goal of this repository is to connect and use Agent Tracer with other projects. The recommended approach is not to copy code, but to maintain this repository as the monitor server and source repository while creating only minimal configuration files in external projects.
Key entry points:
Automated installation script:
npm run setup:external -- --target /path/to/projectWhat the above script currently actually automates is only Claude settings cleanup in external projects and plugin execution path guidance.
Good Endpoints to Verify Locally
GET /health- server health checkGET /api/overview- dashboard summary statusGET /api/tasks- current task listGET /api/workflows- saved evaluations list
Simple smoke test:
curl -sf http://127.0.0.1:3847/api/overviewStarting Points for Reading Code
When structure is more interesting than installation, this order is fastest:
README.mdpackages/server/src/index.tspackages/core/src/domain/index.ts(barrel, internallypackages/core/src/domain/*)packages/mcp/src/index.tspackages/web/src/App.tsx
Separation of Roles Between Installation and Wiki
- Configuration procedures and per-runtime operational rules are in
docs/guide/* - Code structure and responsibility decomposition are in
docs/wiki/*
In other words, for "how to make something work", check the guide first, and for "why is this structured this way", read the wiki.