Menu

Agent Monitoring

Viktor Fási

Agent Monitoring

Real-time monitoring of AI agent sessions with step-by-step progress tracking.


Overview

When the Play Agent runs, Lastest creates an agent session that tracks every step of the 11-step pipeline. You can monitor progress live from the dashboard via the activity feed.


Session States

Status Description
Active Agent is currently executing steps
Paused Agent is waiting for human input (plan approval, error resolution)
Completed Agent finished all steps successfully

Activity Feed

The activity feed provides real-time SSE (Server-Sent Events) streaming of agent progress:

  • Step-by-step tracking -- see which step the agent is on and what it's doing
  • Duration metrics -- how long each step took
  • Artifact tracking -- tests created, builds triggered, diffs generated
  • Error visibility -- see failures as they happen with full context

Event Types

Event Description
Agent step started A new pipeline step begins
Agent step completed A step finishes (with duration)
Test created Agent generated a new test
Build triggered Agent started a test build
Diff approved/rejected Agent or user acted on a visual diff
Plan submitted Agent proposed a test plan for review

Session History

Past agent sessions are stored and viewable:

  • See which sessions ran, when, and their final status
  • Review the steps and outcomes of each session
  • Track how many tests were generated and fixed

How It Works

  1. Play Agent starts -- a new agentSession record is created with all 11 steps initialized
  2. Steps execute -- each step updates the session's currentStepId and steps array
  3. Events stream -- activity events are emitted via SSE for the UI to consume
  4. Session completes -- final status and metadata are recorded

See also


Related

Wiki: AI Configuration
Wiki: Creating Tests
Wiki: Home
Wiki: _Sidebar

MongoDB Logo MongoDB