AgentWorks documentation
Workflow Monitoring
This doc covers the workflow observability surfaces that still exist in the product today.
It is worth keeping. The workflow UI still exposes execution logs, cost analysis, evaluation reports, learnings, and run history. What changed is the architecture behind them: older validation-heavy and per-step-learning explanations are no longer the right model.
Monitoring Surfaces
There are three practical scopes:
1. Workflow-level views
- Pulse: a database-native popup for current health, decisions, findings, reviews, fixes, verification, finalization, and longitudinal goal impact;
builder/improve.htmlremains the lightweight published executive journal - Costs: aggregated token and USD usage across run folders
- Evaluation reports: benchmark-style scoring across runs, with single-run drill-down
- Learnings: current persisted learning state, including the global workflow skill
2. Run-folder views
- Execution logs: detailed logs for one selected run folder such as
iteration-12oriteration-12/group-a - Final outputs: generated final reports for a run folder
3. Cross-workflow operational views
- Workflow overview: recent run folders, status, timestamps, costs, and evaluation presence across workflows
- Scheduled runs panel: cron job history, latest runs, live sessions, and drill-down into logs/costs/evaluation for scheduled executions
Pulse — structured workspace plus generated dashboard
The Pulse popup is the primary in-app monitoring surface. It reads structured SQLite projections and presents the workflow goal/success criteria, pending user decisions, current findings, lifecycle history, compact review receipts, fix attempts, verification, final-command status, and goal impact over time. Narrative reviewer reports are not persisted; detailed evidence belongs to the finding lifecycle.
builder/improve.html remains a separate required artifact: the Dashboard stage generates a lightweight, publishable, archive-linked executive journal after review and fixing. It contains only the verdict/status summary, three Latest Pulse cells, and up to six material history transitions; the popup owns complete operational details and does not scrape HTML snippets from that file. Every workflow is judged on two independent axes, each stamped with the run it is based on:
- Bug — did it run correctly (errors, skipped steps, missing/empty artifacts, regressions)? Fixed by hardening.
- Goal — is it achieving its success criteria (eval scores and outcome metrics vs
soul.md)? Fixed by refining or replanning.
A Pulse run follows each scheduled workflow run. Pulse Gate selects only the due review modules, those reviewers return evidence without writing, and the parent Pulse Fixer applies bounded verified changes before the final dashboard/backup/publish/notify step. Enable it with the Pulse toolbar control. Current questions are stored as structured human-input requests and rendered by Runloop; answered question/outcome history is preserved under Reflection / Hansei.
Execution Logs
Execution logs are still the main debugging surface for a single run folder.
Current behavior:
- The popup is opened from the workflow toolbar and is scoped to the currently selected run folder when possible.
- Backend data comes from
/api/workflow/logs. - The server scans
runs/{runFolder}/logs/andruns/{runFolder}/execution/, then maps folder names back to plan step metadata fromplanning/plan.json.
The log viewer still supports these file families:
execution/execution-attempt-{A}-iteration-{I}.jsonexecution/execution-attempt-{A}-iteration-{I}-conversation.jsonvalidation.jsonandvalidation-{N}.jsonlearning-execution.jsonorchestration-execution.jsontodo-task-execution.json
Important current nuance:
- validation logs still exist in the execution log viewer, but validation is no longer the main architecture story for workflow docs
- pre-validation remains relevant runtime signal, but the canonical validation doc is pre_validation_guide.md
- execution logs are best thought of as per-run forensic data, not as the source of workflow architecture truth
Costs
Cost analysis is still current and useful.
Current behavior:
- The popup is opened from the workflow toolbar, overview page, and scheduled runs panel.
- Backend data comes from
/api/workflow/costs. - It aggregates token usage across run folders and supports drill-down into individual runs.
- The UI highlights the currently selected run folder when applicable.
The cost UI is still workflow-level, not step-config architecture.
Evaluation Reports
Evaluation reports are still current and should stay documented.
Current behavior:
- Backend data comes from
/api/workflow/evaluation-reports. - The UI supports both All Iterations and Single Iteration views.
- The active run folder is highlighted as Current when present.
This remains a separate testing and benchmarking surface, not part of the learning or pre-validation model.
Learnings
The learnings popup is still relevant, but the old explanation was stale.
Current behavior:
- Backend data comes from
/api/workflow/learnings/all. - The popup shows both step metadata and the global workflow learning entry
_global. _globalis rendered as Workflow Knowledge (Global) in the UI.- Locking and unlocking still exist via step config updates.
- Deleting learnings for a step still exists.
What changed:
- learning is no longer best described as per-step prose memory with complexity caps and exploitation phases
- the main persistent learning surface is now the shared skill at
learnings/_global/SKILL.md - scripted steps can still have step-specific saved code such as
learnings/{step-id}/main.py
The canonical architecture doc for this is learning_architecture.md.
Run Overview And Scheduled Runs
There are now two additional monitoring surfaces worth acknowledging:
Workflow overview
- lists run folders from consolidated workspace state
- reconciles run metadata with active in-memory executions
- shows status, timestamps, cost summary, and evaluation presence across workflows
Scheduled runs panel
- shows cron jobs and run history
- opens the same logs, costs, evaluation, and final-output popups for scheduled executions
- helps operational users inspect automation outcomes without opening each workflow canvas first
Keep Or Remove?
Keep it.
This doc is still relevant because the product clearly has workflow monitoring and observability features. It just needed to stop documenting the older validation-era and complexity-cap model.