From the process list
gitā learns about an agent from your Mac's process list and, if you turn them on, from hooks the agent calls. It does not read the transcript. You see the tool, the state, and the worktree it has checked out.
On the graph and in the menu bar
An agent at work is marked on the history. The menu bar panel lists what needs you first, then the agents, then every workspace. A task that is waiting is visible without the window being in front.
The pages are Coding agents and the menu bar.
A worktree per task
Agents often check out their own worktree so they do not share your files. Those worktrees show up in the same pane, and you can open one to review what changed before you merge it. Worktrees explains the folders.