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.
- Mehtagent reads the agent's transcripts, the events it sees, and your own answers and corrections
- It keeps one journal line per event, and one row per task built from them
- The screens that read the rows and tell you how your tasks went
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.
| Record | What it holds | Written by |
|---|---|---|
| Agent transcript | Every message, tool call and token count in one session | Your AI agent |
| Journal events | One line per event, such as a task starting, a check passing or failing, or a turn finishing | Mehtagent |
| Task rows | One row per task, with its title, kind, folder, start and end, checks and corrections | Mehtagent, from the events |
| Your answers | The outcome you gave a task in Evals, kept apart from what Mehtagent inferred | You, through Evals |
| Corrections | Your corrections, including feedback you saved on a research run | Mehtagent |
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
| Record | Location |
|---|---|
| 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 rows | journal/tasks/tasks.jsonl in the same data folder |
| Your answers | evals/answers.json in the data folder |
| Corrections | corrections.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
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.
- 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. - Mehtagent starts a task. A
task-startline, with the request as the task's title, goes into that day's journal file. - A check runs. At 10:04 a
verifiedline records the check passing with a score of 91. - He corrects one date at 10:20. The correction joins the same task, because it came within 30 minutes of his last request.
- 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.jsonkeeps his answer.
Read next
- Evals: how each finished task went.
- Watchdog: what every agent on your Mac is doing now.
- Privacy and your data: your data and the choices you have.
Mehtagent