Skip to content

How to expose workflow state #290

@romanvanderkrogt

Description

@romanvanderkrogt

It would be nice to be able to monitor an agents progress while it is running -- this is particularly the case for a long-running task, such as a deep-research kinda job. Some output telling the user of the plan, what the agent is working on right now (gathering more info, synthesising the report), and some details on completed steps (e.g. how many documents were retrieved during the query stage). I notice there is a RichProgressDisplay, but that would only work when running from the CLI. I'd like to be able to write a query that would expose the same information in a structured way from a temporal executor so I can present it to the user, and not just have a spinner for them to look at.

Is the best way to achieve this to copy the functionality of the RichProgressDisplay into a new class that keeps a record of events and can be connected to a query?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions