Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion agent-os/studio/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,36 @@ Studio connects to your running AgentOS instance and uses a Registry to populate
Build visually, test interactively, and publish when ready.

1. Register your components in a `Registry`
2. Pass the registry to `AgentOS`
2. Pass the registry **and a database** to `AgentOS`
3. Open Studio in the control plane to start building

```python
from agno.os import AgentOS
from agno.db.postgres import PostgresDb
from agno.registry import Registry
from agno.models.openai import OpenAIChat
from agno.tools.websearch import WebSearchTools

db = PostgresDb(db_url="postgresql+psycopg://ai:ai@localhost:5532/ai")

registry = Registry(
name="My Registry",
tools=[WebSearchTools()],
models=[OpenAIChat(id="gpt-5-mini")],
dbs=[db],
)

agent_os = AgentOS(
id="my-app",
db=db,
registry=registry,
)

app = agent_os.get_app()
```

<Warning> The `db` parameter is required for Studio's `/components` API endpoints to be available. Without it, Studio cannot save or load agents, teams, and workflows.</Warning>

## Development Lifecycle

Studio manages the full development lifecycle from building to deploying complex agentic systems with AgentOS components.
Expand Down