Skip to Content
EMA AssistantActivity Tracking

Activity Tracking

EMA automatically tracks what all your agents are doing and can report on it.


Automatic context

Every time you chat with EMA, the system prompt includes the last 10 completed agent runs. This means EMA knows:

  • Which agent ran
  • What task it worked on
  • Which project it belongs to
  • How long it took
  • A preview of the output

You don’t need to ask “check the status” — EMA already knows.


Activity summary tool

For deeper analysis, EMA can call get_agent_activity_summary which returns:

  • Overview — total runs, completed, failed, pending, completion rate, average duration
  • By agent — runs per agent, success rate
  • By project — which projects agents contributed to
  • Recent completed — last 5 runs with output previews
  • Pending runs — what’s currently in progress

Example queries

  • “How are the agents performing this week?”
  • “Which agent has the highest failure rate?”
  • “What projects have agents been working on?”
  • “Are there any pending runs right now?”

Delegation tracking

When agents delegate work to each other, EMA tracks the full chain:

  • parentRunId links child runs to their parent
  • delegationDepth shows how deep the chain goes
  • get_delegation_tree returns the complete tree for any run

Ask EMA: “Show me the delegation tree for the latest research run” and it will display how work flowed between agents.

Last updated on