← Back to Agent

Agent Activity Log

A chronological record of everything this agent has done — events, tool calls, and journal entries with rollback support.

Contents

Overview

For Everyone

The Activity Log is your agent's diary. Every action the agent takes — sending a message, calling an API, completing a task, or encountering an error — is recorded here with a timestamp. Think of it as a security camera for your AI agent: you can always go back and see exactly what happened and when.

For Developers

The Activity section aggregates three data sources into a single unified view:

All three are loaded in parallel on mount via Promise.all. Client-side filtering and pagination (25 items/page) are applied after fetch.

How It Works

  1. Data Loading — When you open the Activity tab, all three data sources (events, tool calls, journal) are fetched simultaneously from the engine API.
  2. Tab Selection — Switch between Events, Tool Calls, and Journal using the tab bar. Each tab shows its own count in parentheses.
  3. Filtering — Use the filter bar to narrow results by type (dropdown of unique types), free-text search (searches the full JSON), and date range.
  4. Pagination — Results are paginated at 25 items per page. Changing filters resets to page 1.
  5. Detail View — Click any row to open a detail modal showing the complete data for that item.
  6. Rollback — In the Journal tab, reversible entries show a "Rollback" button. Clicking it triggers a confirmation dialog, then calls the rollback API.
  7. Refresh — The refresh button reloads only the current tab's data source.

Key Concepts

Events Tab

The Events tab shows general agent lifecycle events. Each event has:

TypeDescription
MessageChat messages sent or received by the agent.
TaskTasks started, completed, or failed.
Tool UseExternal tools or APIs the agent called.
ErrorFailures, timeouts, or API errors.
GuardrailPolicy violations or safety interventions.
SystemDeployment, restart, or configuration changes.

Tool Calls Tab

The Tool Calls tab tracks every external tool invocation with performance data:

Journal Tab

The Journal provides an auditable, reversible action log. Each entry includes:

Tip: The Journal is especially useful for debugging. If an agent accidentally deleted something, find the entry and hit "Rollback" to reverse it.

Filtering & Search

The filter bar appears below the tabs and includes:

Pagination

Results are displayed 25 per page. Navigation controls include first/previous/next/last buttons and a "Page X / Y" indicator. Changing any filter automatically resets to page 1.

Detail Modal

Clicking any row opens a DetailModal with:

Best Practices

Troubleshooting

No events are showing

The agent may not have performed any actions yet. Deploy the agent and send it a task, then check back. Events are created as the agent operates.

Filters show "No events match filters" but data exists

Your filter combination is too restrictive. Try clearing individual filters one at a time to identify which one is excluding all results. Check that date ranges are correct (from date should be before to date).

Rollback fails

Not all actions can be rolled back — only entries marked with ✅ in the "Reversible" column support rollback. If rollback fails on a reversible entry, the underlying resource may have been modified by a subsequent action. Check the error message for details.

Tool calls show "Pending" status

This usually means the tool call is still in progress, or the agent didn't report a completion status. If it persists, the agent may have crashed mid-call. Check the Events tab for corresponding error events.

Data seems outdated

Activity data is fetched on page load and doesn't auto-refresh. Click the refresh button (↻) to reload the current tab's data.

AgenticMail Enterprise Documentation Report an issue