# Every coding agent session, and what it is costing your Mac.

The Agents tab lists every Claude Code, Codex and Gemini CLI session running on your Mac, with the project it is in, how long it has been open, and the CPU and memory it holds.

Source: https://activityplusmac.com/features/coding-agents

## Every session, by project.

Each open session is a row with the agent's name and the project folder it was started in. Sessions you opened last week and forgot are right there with the rest.

- Claude Code, Codex and Gemini CLI
- Aider, opencode, Cursor Agent, Amp and Goose
- The project each session is in
- How long it has been open

## What they are holding.

Each session shows its processor use and memory, including the processes it started. Totals at the top show how many sessions are open and how much memory they hold together.

- CPU and memory per session
- Processes it started counted in
- Total memory held
- How many are working now

## How much Claude Code you have used.

Activity+ counts replies and tokens from the logs Claude Code keeps on your Mac: this 5-hour window and when it resets, today, the last 7 days, and the split by model. It shows what you have used, not a percentage, because Anthropic does not publish exact plan limits.

- This 5-hour window and its reset time
- Today and the last 7 days
- Split by model
- Read from local logs, nothing sent anywhere

## Let your agent ask the Mac itself.

Activity+ includes an activityplus command for Terminal and a Model Context Protocol server. Add it to Claude Code, Cursor or any MCP client and the agent can ask what is slowing the Mac, what holds a port, or what an app is doing. Every tool only reads: an agent cannot quit or change anything through it.

- activityplus status, top, ports, inspect, issues
- JSON output for scripts
- MCP server with five read-only tools
- One setup command, copied from Settings

## Why it matters

Coding agents run as ordinary processes, and they are easy to leave open. A dozen sessions across a few projects can hold several gigabytes without doing anything.

On a Mac that is already short of memory, that is often the difference between running smoothly and swapping to disk. Activity Monitor shows them as rows with the same name and no project.

## Where it is in Activity+

1. **Open the Agents tab.** It is the thirteenth tab in the bar.
2. **Read the totals.** Sessions open, how many are working, and the memory they hold.
3. **Find the idle ones.** Each row shows how long the session has been open and whether it is working.
4. **Close what you do not need.** End a session in its own terminal window.

## Coding agents: Activity Monitor and Activity+

| | Activity Monitor | Activity+ |
|---|---|---|
| Lists agent sessions | As unnamed processes | By agent and project |
| Which project a session is in | No | Yes |
| How long it has been open | No | Yes |
| Total memory held by agents | Add it up yourself | Yes |
| Plan and usage limits | No | No |

## What the terms mean

- **Coding agent:** A command-line AI tool that reads and edits code in a project, such as Claude Code or Codex.
- **Session:** One running copy of an agent, usually in its own terminal window.

## Questions

### Which coding agents does Activity+ recognise?

Claude Code, Codex, Gemini CLI, Aider, opencode, Cursor Agent, Amp and Goose.

### How does it know if an agent is working?

From its processor use. That is a guess: an agent waiting on a network reply can look idle, and Activity+ cannot see whether it is waiting for you.

### Does it show my usage limits or token counts?

For Claude Code it counts replies and tokens from the logs on your Mac: this 5-hour window, today and the last 7 days. It does not show a percentage of your plan, because the exact limits are not published.

### Can I answer an agent's permission request from Activity+?

No. It shows the sessions and does not interact with them.

### Can I stop a session from here?

Not from this tab. Close the session in its terminal, or find it in the Apps tab and quit it there.

### Does it read my code or prompts?

It does not show, keep or send them. For the usage count it reads the token figures in Claude Code's own log files on your Mac and nothing else from them.
