Skip to main content
The Registry endpoint lists code-defined primitives. The Components endpoints manage versioned Agent, Team, and Workflow configurations in the AgentOS database. The demo walks the 3.0 lifecycle over HTTP: create a draft, observe that dispatch refuses it, append a guarded config version, publish, archive with DELETE, and bring it back with the restore route.
registry_and_components.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 registry_and_components.py, then run:
Full source: cookbook/05_agent_os/22_studio/registry_and_components.py