Skip to content

WakaTime

Workbench integrates with WakaTime to track your coding activity. Agent sessions are reported as AI coding and terminal commands as human coding, so your WakaTime dashboard shows how much time you spend with AI assistance versus manual work.

  1. Sign up at wakatime.com and copy your API key from Settings.

  2. Recommended: Create ~/.wakatime.cfg with your API key — this is shared by all WakaTime plugins:

    [settings]
    api_key = waka_your-api-key-here
  3. Open Settings → WakaTime in Workbench and enable the toggle. If you used ~/.wakatime.cfg, the key is detected automatically.

    If you prefer not to create the config file, paste your API key directly into the Settings field.

ActivityWakaTime categoryExample
Agent chat turnsAI codingClaude editing files, running tools
Terminal commandsCodingcargo test, git commit, shell commands

Workbench sends the following metadata with each heartbeat:

FieldSourceNotes
ProjectRepository name from SettingsFalls back to the directory name if the repository can’t be resolved
LanguageDetected from tracked files via git ls-filesExtension-based detection, cached for 10 minutes per repository
MachineSystem hostnameOmitted if hostname is unavailable
OSBuild-time platformMac, Linux, or Windows
Prompt countCumulative turns per chat sessionAI coding heartbeats only
EditorAlways “Workbench”Sent via the User-Agent header

For self-hosted WakaTime servers, expand the Advanced section in Settings and set your API endpoint.

  • Only the repo directory path, project name, language name, and branch are sent — no file contents, filenames, command text, or terminal output.
  • Hostname is sent as a machine identifier, consistent with other WakaTime plugins.
  • API keys are never logged, included in error events, or sent to the frontend.