Skip to content

Python: Workflow to implement the Agent interface #350

Description

@ekzhu

Create a WorkflowAgent class with its own builder class to wrap a workflow as an agent that implements the AIAgent protocol.

class AIAgent(Protocol):
"""A protocol for an agent that can be invoked."""

Also, create a sample to show how to implement an agent with customizable retry logics using workflow.

Activity

  1. changed the title [-]Workflow to implement the Agent interface[/-] [+]Python: Workflow to implement the Agent interface[/+] on Aug 5, 2025
  2. removed
    triageUsage: [Issues], Target: All issues that still need to be triaged
    on Aug 12, 2025
  3. linked a pull request that will close this issuePython: Introduce WorkflowAgent #424on Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

pythonUsage: [Issues, PRs], Target: Python

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions