Skip to content
SecondStack SecondStack Docs

Agent Activity: agent observability

Updated · Checked against SecondStack v3.7.2This page as Markdown
On this page
Labels on this page
the record of every run
Agent Activity
one run
Invocation
who started a run
Invoked by
where a run came from
Channel
the model calls of a run
Context audit
Aster, the personal agent
Personal Assistant
the project agent
Project Assistant

Agent Activity is the ControlTower record of every agent run: invocations, sessions and ingress, each with its model calls, tokens, cost and a context audit. Administrators read it and nobody edits it, and it covers Aster (Personal Assistant in the app), the project agents and named agents alike. The mockup below shows the Invocations tab at v3.7.2.

Agent Activity· ControlTower

Agent Activity

Trace agent sessions, execution and delivery across channels.

Invocations Sessions Ingress
All usersAll channelsAll identitiesAny execution stateLast 7 days Audit only
Invocation Turn Invoked by Agent and model Channel Status Admitted
inv_8f2c…41 3 Scheduled task @finance-analyst gpt-6.1 Sol Chat Done Mon 07:02
inv_7a90…c3 1 m.kim Personal Assistant Claude Sonnet 5.5 Slack Done Mon 06:48
inv_61bd…9e 2 a.novak @legal-adviser Claude Opus 5.5 Telegram Issue Mon 06:31

Invocation investigation inv_8f2c…41

OverviewExecutionContext auditDelivery & usageConfiguration

Model calls

Sensitive fields redacted.

# Model Input Cache read Output Value Timestamp
1 gpt-6.1 Sol 4,812 3,900 318 $0.09 07:02:14
2 gpt-6.1 Sol 6,140 4,812 1,206 $0.22 07:02:41
Agent Activity at v3.7.2: the Invocations tab with its filters, a scheduled run of a named agent selected, and its Context audit open on the Model calls table, with the line that says sensitive fields were redacted.

What the three tabs record

Agent Activity has three tabs, and each one answers a different question about a run. Invocations lists every turn an agent was asked to take, Sessions groups the turns of one identity on one channel, and Ingress lists what arrived at a channel before any agent ran.

TabColumnsWhat a row is
InvocationsInvocation, Turn, Invoked by, Agent and model, Channel, Status, AdmittedOne request to an agent, from the moment the platform admitted it
SessionsSession, Identity, Channel, Invocations, First admission, Last admissionThe run of invocations one person or agent had on one channel
IngressObservation, Channel, Outcome, Reason, Correlation, TimeOne message that reached Slack, Telegram or Yandex Telemost, admitted or refused, with the reason

Status folds three checks into one badge, Done, In progress or Issue, and its tooltip shows Execution, Delivery and Accounting separately, so an answer that ran but never reached its channel reads as an issue.

How you find one run

Each tab opens with filters, and a run is found in a few clicks:

  1. Search by ID, agent name or model; on Ingress, by observation ID, correlation ID or reason.
  2. Narrow the list with All users, All channels (Chat, Slack, Telegram, Yandex Telemost) and All identities (Personal Assistant, Project Assistant, Named Agent). Invocations adds Any execution state.
  3. Pick a time window: Any time, Last hour, Last 24 hours, Last 7 days, Last 30 days or Custom range.
  4. Turn on Audit only to limit the list to audited runs.
  5. Open a row. The invocation opens with its own tabs, described next.

What one invocation shows

An open invocation has five tabs: Overview, Execution, Context audit, Delivery & usage and Configuration. Overview names the people and the origin: the People & ownership card lists the Triggering actor, the Owner and the Sponsor, and a scheduled run names the person whose authority it ran under after the words “Scheduled task · authorized by”. The Origin & participants card names the channel it came from.

Context audit holds the Model calls table, one row per call to a model through SecondGate, with the columns #, Model, Messages, Context, Input, Cache write, Cache read, Output, Value and Timestamp. Value is the priced value of the call’s last gateway attempt; a call that a subscription served is not charged, and its value is the API equivalent. Cache read shows the prompt cache hits, and a call is flagged Cache miss or After compaction where that applies. A message longer than 16,000 characters is kept to that length in the audit, while the model received the full text.

Execution loads the run’s own records on request: its model calls, its tool calls with their arguments and output, and the context it retained, filtered as Calls & messages, Model calls, Tool calls or All records. The page says what these are: the platform’s records of the run, not the channel transcript and not an exact provider request. Delivery & usage shows where the result went and what the gateway metered, and Configuration shows the agent’s configuration and resources at the time of the run. Gateway rows can arrive after the run, and the page says so: missing usage never means zero.

How the context audit is kept

The context audit copies the prepared model input of a run for a bounded time, so that an administrator can see what the model was given. It is a site-level setting since v3.7.0: agent_context_audit is on in the default site, and agent_context_audit_retention_days keeps the copies for 14 days. Sync Job 11, Agent context audit retention, deletes older calls every hour and keeps running after the audit is switched off. A site without the setting captures nothing.

The audit captures runs that a person started. It never captures guests, Applications calling the Agents API or the memory learning that runs between conversations.

What stays out of the record

Agent Activity redacts credentials and proofs before it writes a record, and a record then carries the line Sensitive fields redacted. The redaction covers fields named as a secret, password, authorization header, cookie, credential, token, API key, private key or signature, bearer strings, known token forms, JSON Web Tokens and the query part of URLs. It makes no claim about the text people wrote: a secret pasted into a message is not found by it.

When a conversation is deleted, its history and its model context read as empty in Agent Activity, and the audit copy goes with it. The admission record of the invocation stays, so an administrator still sees that a run happened, who asked for it and what it cost.

What Agent Activity does not do

  • Agent Activity does not let anyone change a record. ControlTower reads it, and the agent platform refuses every write.
  • Agent Activity does not keep a transcript of conversations. The chat itself lives in your database, and the context audit is the one bounded-time copy of model input.
  • Agent Activity does not scan user-written text for secrets. SecondGuard does that on the request path, and SecondGate describes it.
  • Agent Activity does not show to anyone outside the admin group. Team supervisors and users see their own usage under Your dashboard.
  • Agent Activity does not record Applications, guests or memory learning in the context audit.
  • Agent Activity appears only on a site where the agent platform’s web role is deployed.