From 3f4997d6cccf7aefdea4bbdc536c2bee039c08b8 Mon Sep 17 00:00:00 2001 From: ayush0054 Date: Sat, 7 Feb 2026 10:42:00 +0530 Subject: [PATCH 1/2] docs: update Studio introduction to include database requirement --- agent-os/studio/introduction.mdx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/agent-os/studio/introduction.mdx b/agent-os/studio/introduction.mdx index 631c2926..c9bbcb3e 100644 --- a/agent-os/studio/introduction.mdx +++ b/agent-os/studio/introduction.mdx @@ -20,29 +20,37 @@ 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 +# Database connection - required for Studio's /components endpoints +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, # Required for Studio to work registry=registry, ) app = agent_os.get_app() ``` + 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. + ## Development Lifecycle Studio manages the full development lifecycle from building to deploying complex agentic systems with AgentOS components. From 4727265b03c2e4e00020240a8dab1c1423dd1410 Mon Sep 17 00:00:00 2001 From: ayush0054 Date: Sat, 7 Feb 2026 10:50:49 +0530 Subject: [PATCH 2/2] update --- agent-os/studio/introduction.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agent-os/studio/introduction.mdx b/agent-os/studio/introduction.mdx index c9bbcb3e..ffad9dd8 100644 --- a/agent-os/studio/introduction.mdx +++ b/agent-os/studio/introduction.mdx @@ -30,7 +30,6 @@ from agno.registry import Registry from agno.models.openai import OpenAIChat from agno.tools.websearch import WebSearchTools -# Database connection - required for Studio's /components endpoints db = PostgresDb(db_url="postgresql+psycopg://ai:ai@localhost:5532/ai") registry = Registry( @@ -42,7 +41,7 @@ registry = Registry( agent_os = AgentOS( id="my-app", - db=db, # Required for Studio to work + db=db, registry=registry, )