From f0a53e58a2c4f7e130c62806456cf1405eab050d Mon Sep 17 00:00:00 2001 From: Mustafa Esoofally Date: Wed, 15 Apr 2026 11:44:15 -0400 Subject: [PATCH 1/2] feat: expose team specialists as top-level agents in AgentOS --- app/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/main.py b/app/main.py index 5c83e0b..df2a90b 100644 --- a/app/main.py +++ b/app/main.py @@ -14,6 +14,11 @@ from agno.os import AgentOS +from coda.agents.coder import coder +from coda.agents.explorer import explorer +from coda.agents.planner import planner +from coda.agents.researcher import researcher +from coda.agents.triager import triager from coda.team import coda from db import get_postgres_db from tasks.daily_digest import run_daily_digest @@ -101,6 +106,7 @@ async def lifespan(app): scheduler_base_url=scheduler_base_url, db=get_postgres_db(), teams=[coda], + agents=[explorer, researcher, coder, planner, triager], interfaces=interfaces, config=str(Path(__file__).parent / "config.yaml"), lifespan=lifespan, From 58c398e2718760facf3df3c07e0c13fc0bee1bc4 Mon Sep 17 00:00:00 2001 From: Mustafa Esoofally Date: Wed, 15 Apr 2026 11:48:08 -0400 Subject: [PATCH 2/2] fix: narrow Optional[Agent] with filter to satisfy mypy --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index df2a90b..5849c4b 100644 --- a/app/main.py +++ b/app/main.py @@ -106,7 +106,7 @@ async def lifespan(app): scheduler_base_url=scheduler_base_url, db=get_postgres_db(), teams=[coda], - agents=[explorer, researcher, coder, planner, triager], + agents=[a for a in [explorer, researcher, coder, planner, triager] if a is not None], interfaces=interfaces, config=str(Path(__file__).parent / "config.yaml"), lifespan=lifespan,