Ready to try BuildTrace?

Free forever for 1 project. Set up in 30 seconds.

Get Started Free
Documentation

Get started with BuildTrace

Everything you need to set up BuildTrace and start logging commits with AI summaries.

Quick Start

Get up and running in under 60 seconds. Three steps, zero config.

01

Create an account

Sign up at BuildTrace and grab your API key from Settings > API Key.

02

Initialize in your repo

Run npx buildtrace init --key bt_your_key inside any git repo. Works in any terminal, Claude Code, or Cursor.

03

Commit & check

Make a commit like you normally would. BuildTrace captures it automatically. Your project appears on the dashboard after your first commit.

CLI Reference

The BuildTrace CLI installs a git hook that silently logs commits to your dashboard. It never blocks or slows your workflow.

npx buildtrace init

Set up BuildTrace in any git repo. Works in any terminal or IDE.

# Interactive (terminal)

$ npx buildtrace init

# Non-interactive (Claude Code, Cursor, CI)

$ npx buildtrace init --key bt_your_api_key

# With custom project name

$ npx buildtrace init --key bt_your_api_key --name "My App"

# What it does:

  • - Sets your project name (defaults to folder name)
  • - Connects your API key
  • - Installs a .git/hooks/post-commit hook
  • - Saves config to .buildtrace in your repo root

npx buildtrace status

Check the current BuildTrace configuration for this repo. Displays project name, API key status, and hook installation status.

npx buildtrace uninstall

Remove the BuildTrace git hook and config from this repo. Your dashboard data is not deleted — you can re-init anytime.

npx buildtrace export

Export your commit logs to a BUILDLOG.md file in your repo root. Logs are grouped by date with commit details, AI summaries, and next steps included.

# What it does:

  • - Fetches all commit logs for this project from the API
  • - Groups entries by date, newest first
  • - Writes a formatted BUILDLOG.md to your repo root
  • - Includes AI summaries and next steps (paid plans only)

What gets sent on each commit?

BuildTrace sends commit metadata (message, branch, files changed, line counts) and the diff to generate AI summaries. Your full codebase is never sent.

Using with AI IDEs

BuildTrace works inside Claude Code, Cursor, Windsurf, and any AI coding agent that runs shell commands.

Claude Code (in Cursor or terminal)

Copy the setup command from your Settings page and paste it into the Claude Code prompt. If the agent says it can't run interactive commands, just reply "run it" — the --key flag makes it fully non-interactive.

# Paste this into Claude Code

$ npx buildtrace init --key bt_your_api_key

# If the agent hesitates, reply:

run it

Good to know

  • -The project name is auto-detected from your folder name. Override with --name "My App"
  • -Your project appears on the dashboard after your first commit, not after init
  • -Run the same command in every repo you want to track — same API key, each gets its own project
  • -The git hook is silent and never blocks your workflow. If the API is down, commits still go through

Dashboard Guide

The dashboard is where you view all your projects, read AI summaries, and manage your account.

Projects View

Your main dashboard shows a grid of all connected projects. Each card displays the project name, last commit timestamp, and total commit count. Click a project to see its full commit timeline.

Commit Timeline

Inside a project, commits are listed chronologically with the most recent at the top. Each entry shows the commit hash, branch, message, files changed, and lines added/removed. On paid plans, you'll also see the AI-generated summary. Commits with detected decisions show amber diamond indicators.

AI Summaries

Available on Builder ($9/mo) and Pro ($19/mo) plans. Claude AI reads your commit diff and generates a plain-English summary of what changed and why. It also suggests next steps so you always know where to pick up.

Decision Layer & Context Recovery

The "Where Was I?" button on every project page opens Context Recovery — your last session summary, key decisions, and open threads. The Decision Panel shows auto-detected decisions with category filters. Available on Builder and Pro plans.

Settings

Access your API key, manage your subscription, configure Slack/Discord webhook notifications, connect Slack slash commands, set up Notion integration (Pro plan), and invite team members to collaborate on projects (Pro plan — up to 3 members per project).

Decision Layer

BuildTrace doesn't just track what changed — it tracks why. The Decision Layer automatically detects architectural and technical decisions from your commits and builds a searchable decision log.

How it works

Every time you push a commit, BuildTrace's AI analyzes the diff for decision patterns — new dependencies, architecture changes, config updates, removed code, and tradeoffs. Detected decisions are stored with full context.

Auto-Detection

AI scans every commit diff for decision signals: new dependencies added, libraries swapped, architectural patterns changed, code removed, config modified. No manual tagging required.

Decision Categories

Each decision is categorized: Architecture, Dependency, Pattern, Removal, Config, Tradeoff, Refactor, or Other. Filter and search by category in the dashboard.

Reasoning & Alternatives

For each detected decision, the AI infers WHY it was made, what alternatives were likely rejected, and what tradeoffs were accepted.

Confidence Levels

Decisions are marked as Inferred (AI-detected), Confirmed (user-verified), or Manual (user-created). Confirm or edit any inferred decision from the dashboard.

Manual Decisions via API

Log decisions via our API with a title, reasoning, category, and alternatives. See your API docs in the dashboard after signing up.

Viewing Decisions

  • Project Page: A "Recent Decisions" panel appears below the stats cards with category and confidence filters.
  • Commit Timeline: Commits with decisions show amber diamond indicators. Hover to see the decision count.
  • Commit Detail: Scroll down to see decision cards with full reasoning, alternatives, and tradeoffs.
  • Decision Detail: Click any decision for the full view — edit status, confirm inferred decisions, or mark as superseded.

Context Recovery

The "Where Was I?" feature helps you recover context after a break. It shows what you were working on, what decisions you made, and what's still unfinished.

Session Tracking

BuildTrace automatically groups your commits into coding sessions. Commits within a 2-hour window are treated as the same session. When a session ends, an AI summary is generated showing what you worked on, key decisions made, and open threads — things left unfinished.

How to use it

  • 1.Click the "Where Was I?" button on any project page (below the stats cards).
  • 2.View your last session summary, including commit count, time range, and AI-generated recap.
  • 3.Review key decisions from your last 3 sessions — what you decided, why, and what tradeoffs you accepted.
  • 4.Check open threads — unfinished work and suggested next actions from your last session.

Context Recovery API

Access context recovery programmatically via our API. Full API reference available in your dashboard.

Integrations

Connect BuildTrace to Slack and Discord for real-time commit notifications and slash commands. Available on Builder and Pro plans.

Slack Notifications (Webhook)

Get a Slack message every time you commit. BuildTrace sends a rich notification with the commit message, branch, files changed, and AI summary.

# Setup:

  1. 1. Go to api.slack.com/apps and create a new app (or select an existing one)
  2. 2. Enable Incoming Webhooks in the sidebar
  3. 3. Click Add New Webhook to Workspace and pick a channel
  4. 4. Copy the webhook URL (starts with https://hooks.slack.com/services/...)
  5. 5. Paste it in Settings > Integrations and enable notifications

Discord Notifications (Webhook)

Get a Discord embed every time you commit with the same rich information as the Slack integration.

# Setup:

  1. 1. Open your Discord server and go to the target channel
  2. 2. Click the gear icon > Integrations > Webhooks > New Webhook
  3. 3. Name it (e.g. "BuildTrace") and click Copy Webhook URL
  4. 4. Paste it in Settings > Integrations and enable notifications

Notion Auto-Sync

Automatically sync every commit to a Notion database. Each commit becomes a page with all the details — hash, message, branch, AI summary, files changed, and next steps. Available on the Pro plan ($19/mo).

# Setup:

  1. 1. Go to notion.so/my-integrations and click New integration
  2. 2. Name it (e.g. "BuildTrace"), select your workspace, and click Submit
  3. 3. Copy the Internal Integration Secret (starts with ntn_...)
  4. 4. In Notion, open the page where you want your commit database to live
  5. 5. Click ··· Add connections → select your BuildTrace integration
  6. 6. In BuildTrace, go to Settings → Notion Auto-Sync
  7. 7. Paste your token, select the project and parent page, then click Create Notion Database

# What gets synced to Notion:

  • - Commit Hash (title)
  • - Message — full commit message
  • - Branch — select property with color coding
  • - AI Summary — plain-English explanation of the change
  • - Next Steps — suggested follow-up actions
  • - Files Changed, Lines Added, Lines Removed
  • - Committed At — date property for filtering and sorting

Once connected, new commits sync automatically. Use the "Sync All" button in Settings to backfill existing commits. Notion sync is non-blocking — if Notion is down, your commits still log normally.

Slack Slash Commands

Query BuildTrace directly from Slack. Connect your workspace in Settings > Slack Commands and use these commands in any channel:

/buildtrace status

Your latest 5 commits across all projects

/buildtrace streak

Current streak, total commits, lines changed, and activity insights

/buildtrace summary

AI-generated recap of what you worked on in the past week

/buildtrace help

Show all available commands

Slash commands require a one-time OAuth connection from your Settings page. Responses are ephemeral (only visible to you).

Plans & Features

All plans include commit logging. Upgrade for AI summaries and integrations.

FeatureFreeBuilder $9/moPro $19/mo
Projects1UnlimitedUnlimited
Commit history30 daysForeverForever
Commit loggingYesYesYes
AI summariesNoYesYes
Next step suggestionsNoYesYes
Decision detectionNoYesYes
Context recoveryNoYesYes
Session trackingNoYesYes
Slack/Discord webhooksNoYesYes
Slack slash commandsNoYesYes
Notion auto-syncNoNoYes
Team sharingNoNoUp to 3
Public changelogsNoNoYes

Troubleshooting & FAQ

My commits aren't showing up in the dashboard

Run "npx buildtrace status" in your repo to verify the hook is installed and your API key is valid. Make sure you're committing (not just saving files). The hook runs on git commit, not on file save.

Can I use BuildTrace with Cursor / Lovable / Replit?

Yes. BuildTrace works with any tool that uses git under the hood. If your tool makes git commits, BuildTrace will capture them automatically.

Does the hook slow down my commits?

No. The post-commit hook sends data asynchronously in the background. Your commit completes instantly — the API call happens after.

I switched machines. How do I reconnect?

Run "npx buildtrace init --key bt_your_key" again in your repo on the new machine. Use the same API key — the project name auto-detects from your folder. Your existing history is preserved.

How do I change my API key?

Go to Settings > API Key in the dashboard and click "Regenerate". Then run "npx buildtrace init --key bt_new_key" again in each repo to update.

What happens if I uninstall?

Running "npx buildtrace uninstall" removes the git hook and local config. Your commit history on the dashboard is preserved. You can re-init anytime.

Is my code sent to your servers?

BuildTrace sends the commit diff (not your full codebase) to generate AI summaries. Diffs are processed to generate summaries and are not stored afterward. You can use the Free plan (no AI) if you prefer not to send diffs.

Can I delete my commit history?

Yes. You can delete individual commit logs from the dashboard. Deleting a project removes all its associated logs.

Ready to start?

Set up in 30 seconds. Free forever for 1 project.

Get Started Free$ npx buildtrace init