<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Agent Monitoring</title><link>https://sourceforge.net/p/lastest/wiki/Agent%2520Monitoring/</link><description>Recent changes to Agent Monitoring</description><atom:link href="https://sourceforge.net/p/lastest/wiki/Agent%20Monitoring/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 06 May 2026 09:06:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lastest/wiki/Agent%20Monitoring/feed" rel="self" type="application/rss+xml"/><item><title>Agent Monitoring modified by Viktor Fási</title><link>https://sourceforge.net/p/lastest/wiki/Agent%2520Monitoring/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="h-agent-monitoring"&gt;Agent Monitoring&lt;/h1&gt;
&lt;p&gt;Real-time monitoring of AI agent sessions with step-by-step progress tracking.&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="h-overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;When the Play Agent runs, Lastest creates an &lt;strong&gt;agent session&lt;/strong&gt; that tracks every step of the 11-step pipeline. You can monitor progress live from the dashboard via the activity feed.&lt;/p&gt;
&lt;hr/&gt;
&lt;h2 id="h-session-states"&gt;Session States&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Active&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Agent is currently executing steps&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Paused&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Agent is waiting for human input (plan approval, error resolution)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Completed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Agent finished all steps successfully&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr/&gt;
&lt;h2 id="h-activity-feed"&gt;Activity Feed&lt;/h2&gt;
&lt;p&gt;The activity feed provides real-time SSE (Server-Sent Events) streaming of agent progress:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Step-by-step tracking&lt;/strong&gt; -- see which step the agent is on and what it's doing&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Duration metrics&lt;/strong&gt; -- how long each step took&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Artifact tracking&lt;/strong&gt; -- tests created, builds triggered, diffs generated&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Error visibility&lt;/strong&gt; -- see failures as they happen with full context&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="h-event-types"&gt;Event Types&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Event&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Agent step started&lt;/td&gt;
&lt;td&gt;A new pipeline step begins&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agent step completed&lt;/td&gt;
&lt;td&gt;A step finishes (with duration)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Test created&lt;/td&gt;
&lt;td&gt;Agent generated a new test&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Build triggered&lt;/td&gt;
&lt;td&gt;Agent started a test build&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Diff approved/rejected&lt;/td&gt;
&lt;td&gt;Agent or user acted on a visual diff&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Plan submitted&lt;/td&gt;
&lt;td&gt;Agent proposed a test plan for review&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr/&gt;
&lt;h2 id="h-session-history"&gt;Session History&lt;/h2&gt;
&lt;p&gt;Past agent sessions are stored and viewable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;See which sessions ran, when, and their final status&lt;/li&gt;
&lt;li&gt;Review the steps and outcomes of each session&lt;/li&gt;
&lt;li&gt;Track how many tests were generated and fixed&lt;/li&gt;
&lt;/ul&gt;
&lt;hr/&gt;
&lt;h2 id="h-how-it-works"&gt;How It Works&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Play Agent starts&lt;/strong&gt; -- a new &lt;code&gt;agentSession&lt;/code&gt; record is created with all 11 steps initialized&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Steps execute&lt;/strong&gt; -- each step updates the session's &lt;code&gt;currentStepId&lt;/code&gt; and &lt;code&gt;steps&lt;/code&gt; array&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Events stream&lt;/strong&gt; -- activity events are emitted via SSE for the UI to consume&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Session completes&lt;/strong&gt; -- final status and metadata are recorded&lt;/li&gt;
&lt;/ol&gt;
&lt;hr/&gt;
&lt;h2 id="h-see-also"&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="alink" href="/p/lastest/wiki/Creating%20Tests/"&gt;[Creating Tests]&lt;/a&gt; -- Play Agent details&lt;/li&gt;
&lt;li&gt;&lt;a class="alink" href="/p/lastest/wiki/AI%20Configuration/"&gt;[AI Configuration]&lt;/a&gt; -- AI provider setup&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Viktor Fási</dc:creator><pubDate>Wed, 06 May 2026 09:06:52 -0000</pubDate><guid>https://sourceforge.net3fcad3d1e82771605ef0c3dfb339188f3d530ba7</guid></item></channel></rss>