Components

Save and load Agents, Teams, and Workflows to and from a database, with a Registry for restoring tools, models, and schemas.

ExampleDescription
Save Agent to DatabaseDemonstrates creating an agent and saving it to the database.
Load Agent from DatabaseDemonstrates loading an agent from the database by ID and running it.
Save Team to DatabaseDemonstrates creating a team with member agents and saving it to the database.
Load Team from DatabaseDemonstrates loading a team from the database by ID and running it.
Save Workflow to DatabasePersist a two-step content workflow to PostgresDb with workflow.save(db=db), which versions the workflow on each save.
Load Workflow from DatabaseDemonstrates loading a workflow from the database by ID and running it.
Registry for Non-Serializable ComponentsDemonstrates using Registry to restore tools, models, and schemas when loading.
AgentOS Registry AppDemonstrates configuring AgentOS with a Registry and serving the app.
AgentOS Registry DemoRegister tools, custom functions, Pydantic schemas, models, and a PgVector vector DB in an AgentOS Registry.
WorkflowsExamples for saving and loading workflows with advanced step types.
Auto-Populating the Registry from Agents, Teams, and WorkflowsAgentOS automatically discovers the components (models, tools, databases, and vector databases) used anywhere inside its agents, teams, and workflows and adds them to the registry.
Serving an AgentOS with an Auto-Populated RegistryServe an AgentOS with no explicit registry and read the auto-discovered models, tools, and dbs from the GET /registry endpoint.