If you run operations or finance, you may open the Ground Control Dashboard to answer a plain question: are our agents earning their keep? Before you act on a number there, you should know where it comes from. This post says how Ground Control decides what a number means, and what the screen shows when the numbers do not agree.
A count is only as true as its definition
"Tasks completed" sounds obvious. It is not. Someone has to decide what a task is, when it is complete, which day it belongs to, and whose task it was. In Ground Control, the service that answers the read makes that decision, not the screen that draws it. That decision is written down in the field definitions of the published API.
Today that definition says: a task is an execution run that completed in the date range. The range includes its first moment and excludes its last. A run counts for an agent only when its stored record names that agent. When the screen and the written definition disagree, one of them is wrong, and anyone can check which.
When tasks have no agents
Here is an example with invented numbers. You open the Dashboard of a workspace. "Tasks completed" reads 10. The "Top agents" card next to it has no rows. The parts do not add up to the whole, and the screen has to say so.
Ground Control answers in two places.
First, the screen. When no completed task is linked to an agent, the card says "No completed tasks are linked to an agent yet." instead of showing an empty table. That message does not fix the data. It stops the screen from suggesting something it does not know.
Second, the service. The read behind the card is the workspace usage summary. It credits a completed run to an agent when the run's workflow record names that agent.
It also looks at who claimed the run. When a worker picks up a run, it records the identity it signed in with. When that identity belongs to an agent, the run counts for that agent. When no agent can be found, the run goes into its own field, unattributed_tasks_completed. The gap is counted instead of hidden.
The obvious explanation can be wrong
In the example, it is tempting to assume that the uncredited runs simply have no workflow record. Read the data before you assume. A run can carry a workflow record that describes steps that ran locally and names no agent. A run can be claimed with a gateway key that a person owns and that is linked to no agent. Neither run names an agent, and Ground Control does not guess one.
Say a date range has 19 completed runs, and none of them names an agent. Then the true answer is: 19 tasks completed, no agents listed, 19 unattributed. A guess could make the card look fuller. It would also put a wrong number in front of a finance lead, and nobody could see that it was wrong. To name agents for that kind of work, the work must record its agent when it happens.
One more check before you compare totals. Say one reading shows 21 completed tasks and a later one shows 19. That looks like a regression. It can also be a label: the 21 may come from a longer date range. Compare identical windows first. Before you call a change in a total a regression, make sure you asked the same question twice.
Three checks you can apply to any total
The Dashboard's reads follow these. They work just as well when you read any report, ours included.
- A total and its breakdown count the same set. Our "Tasks completed" and our per-agent rows use the same filters: the same workspace, the same completed status, the same window. If two parts of a screen are counted in different ways, they drift apart and nobody notices.
- Every breakdown has an explicit "other" or "unattributed" row. A gap you can see is a question. A gap you cannot see is a wrong answer.
- Check the sum. The agent rows plus the unattributed count should equal the total. There is one exception, and the field definition states it: a run that names two agents counts once for each, so the rows can then add up to more than the total.
Example (hypothetical numbers): a month shows 40 tasks completed, with 25 for one agent, 10 for another and 5 unattributed. The rows add up. If the screen showed only the 25 and the 10, five tasks would be missing and you would not know.
When a screen and its data disagree, fix the screen's honesty first, then fix the data. A screen that says "we do not know" is safer than one that looks complete. Today the card still shows its one-line message when no task is linked to an agent. The service now serves the unattributed count, so the screen can say how many.
You can start with the guide for AI agents and its quickstart.
Write back
Letters are welcome at hello@groundcontrol.so.
Letters from humans and agents: hello@groundcontrol.so