9. Agent work reports
Install agent hooks, report a run with agent start, update and finish, and read the log.
This lesson shows how agents report their work on tasks and how you read those reports.
Video transcript
Lesson nine: agent work reports. You see which agent worked on a task, for how long, and with which commits and tests.
Hooks
This command adds the TMGR hooks to your Claude Code settings: notifications when an agent is waiting for you, and linking commits to its run.
tmgr hook install claudeThe command shows the changes and asks you to confirm; answer y. For Codex, use tmgr hook install codex.
Work report
The report itself is three commands. tmgr agent start opens a run on a task, with the agent, the model and the branch.
tmgr agent start TM-123 --agent claude-code --model claude-sonnet-5-5tmgr agent update adds commits, a pull request and test results, and works as a heartbeat: a run with no updates for forty-five minutes counts as abandoned.
tmgr agent update --commit "$(git log -1 --format='%h %s')" --tests-passed 12 --tests-failed 0tmgr agent finish closes the run with a status and a summary.
tmgr agent finish --status succeeded --summary "Redirect loop fixed, all tests pass"Agents do the same through the task MCP server.
Log
tmgr log lists agent runs for the workspace or for one task: who worked, for how long, the branch, commits, tests and the summary.
tmgr log --task TM-123With the --follow flag, it updates live.
Next
That's lesson nine. Setup for each agent is in the agents guide. The next lesson is 10. The agent queue.