Skip to main content
This AgentOS lesson exposes the same three Studio pauses as the console lesson, but serializes them as Agent run tools. The demo updates those tool payloads and posts them to the nested continuation endpoint.
studio_hitl_agent_os.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as studio_hitl_agent_os.py, then run:
Full source: cookbook/05_agent_os/22_studio/studio_hitl_agent_os.py