Skip to main content
Two-step draft-and-edit workflow on Telegram. A Drafter agent writes an initial response, then an Editor agent polishes it for clarity and conciseness before sending the final result to the user.
workflow.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as workflow.py, then run:
Full source: cookbook/05_agent_os/interfaces/telegram/workflow.py