> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Components

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

| Example | Description |
| - | - |
| [Save Agent to Database](https://agno-v2.mintlify.site/examples/components/save-agent.md) | Demonstrates creating an agent and saving it to the database. |
| [Load Agent from Database](https://agno-v2.mintlify.site/examples/components/get-agent.md) | Demonstrates loading an agent from the database by ID and running it. |
| [Save Team to Database](https://agno-v2.mintlify.site/examples/components/save-team.md) | Demonstrates creating a team with member agents and saving it to the database. |
| [Load Team from Database](https://agno-v2.mintlify.site/examples/components/get-team.md) | Demonstrates loading a team from the database by ID and running it. |
| [Save Workflow to Database](https://agno-v2.mintlify.site/examples/components/save-workflow.md) | Persist a two-step content workflow to PostgresDb with workflow\.save(db=db), which versions the workflow on each save. |
| [Load Workflow from Database](https://agno-v2.mintlify.site/examples/components/get-workflow.md) | Demonstrates loading a workflow from the database by ID and running it. |
| [Registry for Non-Serializable Components](https://agno-v2.mintlify.site/examples/components/registry.md) | Demonstrates using Registry to restore tools, models, and schemas when loading. |
| [AgentOS Registry App](https://agno-v2.mintlify.site/examples/components/agent-os-registry.md) | Demonstrates configuring AgentOS with a Registry and serving the app. |
| [AgentOS Registry Demo](https://agno-v2.mintlify.site/examples/components/demo.md) | Register tools, custom functions, Pydantic schemas, models, and a PgVector vector DB in an AgentOS Registry. |
| [Workflows](https://agno-v2.mintlify.site/examples/components/workflows/overview.md) | Examples for saving and loading workflows with advanced step types. |
| [Auto-Populating the Registry from Agents, Teams, and Workflows](https://agno-v2.mintlify.site/examples/components/auto-populate-registry.md) | AgentOS 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 Registry](https://agno-v2.mintlify.site/examples/components/auto-populate-registry-os.md) | Serve an AgentOS with no explicit registry and read the auto-discovered models, tools, and dbs from the GET /registry endpoint. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.