Mehtagent Docs

Session logs and telemetry

See what Mehtagent keeps for each AI session, where it lives on your Mac, how it is written, and which screens read it.

Every time you work with an AI agent, two records build up on your Mac. The agent writes its own transcript of the session, and Mehtagent keeps a short journal of what it saw happen. Evals, Watchdog and Optimizations read those records to tell you how your tasks went. This page shows where each record lives and what it holds, so you can open any of them yourself.

How a session becomes a logOverview
  1. Mehtagent reads the agent's transcripts, the events it sees, and your own answers and corrections
  2. It keeps one journal line per event, and one row per task built from them
  3. The screens that read the rows and tell you how your tasks went
Solid boxes and lines stay on your Mac. The dashed line points to the terms of use, which list what Mehtagent sends.

What Mehtagent records for each session

A transcript is the agent's full record of one session. The journal is Mehtagent's own diary of events, one line each. Mehtagent reads the transcript where the agent left it, and it writes the journal itself.

RecordWhat it holdsWritten by
Agent transcriptEvery message, tool call and token count in one sessionYour AI agent
Journal eventsOne line per event, such as a task starting, a check passing or failing, or a turn finishingMehtagent
Task rowsOne row per task, with its title, kind, folder, start and end, checks and correctionsMehtagent, from the events
Your answersThe outcome you gave a task in Evals, kept apart from what Mehtagent inferredYou, through Evals
CorrectionsYour corrections, including feedback you saved on a research runMehtagent

A tool call is one action the agent takes, such as reading a file or running a command. Tokens are the small pieces of text a model reads and writes, and they are what an AI company charges for.

A task starts with your first request and runs until you have been quiet for 30 minutes. A correction joins the task it corrects.

Where the logs live on your Mac

RecordLocation
Claude Code transcripts~/.claude/projects/<project>/<session>.jsonl, with helper agents in a subagents folder beside it
Codex transcripts~/.codex/sessions
Journal events~/Library/Application Support/Mehtagent/data/journal/events/<date>.jsonl, one file per day
Task rowsjournal/tasks/tasks.jsonl in the same data folder
Your answersevals/answers.json in the data folder
Correctionscorrections.jsonl in the data folder

Mehtagent reads agent transcripts and leaves them unchanged. Journal files are readable only by your macOS user account. The data folder is encrypted only when FileVault is on.

The log format

Every log above is JSON Lines: plain text with one record per line, written in JSON, so any text editor can open it. Each journal line has a time, a kind, the session and the task it belongs to, and the fields of that kind. Here is one line recording a check that passed:

{"ts": "2026-11-12T10:04:31", "kind": "verified", "session_id": "s-0412", "task_id": "t-0412", "status": "pass", "score": 91}

A line Mehtagent cannot read is skipped, so a damaged line leaves the rest of the day's file usable.

What leaves your Mac

We keep the list of what Mehtagent sends, and in what form, in one place: Process data in the terms of use.

How Watchdog and Evals read the logs

EnterpriseA task row in Evals, built from its session's transcript, with its recorded steps opened. Sample data.

Evals builds one row per task from the agent transcript. It takes active minutes from message times and drops gaps over five minutes. Turns, tokens, cost and steps come from the same transcript, and your own answers come from evals/answers.json. Evals explains the outcomes.

Watchdog reads each running session's screen once a minute to tell its state. Its Effect line counts a nudge as followed by work when a finished turn appears in the journal within 45 minutes. The list of what your AI sessions said to each other reads the new part of each live transcript at most every 30 seconds while Watchdog is open. Watchdog covers the controls.

Example: tracing one task through the logs

Tomas keeps the website for the Eastgate Community Garden, and every name in this example is invented. At 10:02 he asks Claude Code to add the spring planting dates to the events page.

  1. Claude Code writes its transcript. Each message and tool call goes into one file under ~/.claude/projects, with the session's ID as the file name.
  2. Mehtagent starts a task. A task-start line, with the request as the task's title, goes into that day's journal file.
  3. A check runs. At 10:04 a verified line records the check passing with a score of 91.
  4. He corrects one date at 10:20. The correction joins the same task, because it came within 30 minutes of his last request.
  5. He opens Evals that afternoon. The task row shows 14 active minutes, two requests, one correction and its cost. He marks the outcome as met, and evals/answers.json keeps his answer.