# Update running AgentOS instances during FastAPI lifecycle to reduce downtime

> You can now update a live AgentOS instance — adding Agents, Teams, and Workflows — inside FastAPI lifespan functions.

- Published: 2025-10-30
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/update-running-agentos-instances-during-fastapi-lifecycle-to-reduce-downtime
- Markdown: https://agno-com-nine.vercel.app/articles/update-running-agentos-instances-during-fastapi-lifecycle-to-reduce-downtime.md

You can now update a live AgentOS instance — adding Agents, Teams, and Workflows — inside FastAPI lifespan functions. This enables safe, zero-downtime configuration changes at application startup/shutdown boundaries, improving deployment velocity and reducing operational risk.

**Details**

- Apply structural changes to your multi-agent system without full restarts or manual orchestration
- Standardizes change management in a predictable, framework-native lifecycle block
- Lowers maintenance effort for services that evolve frequently

**Who this is for:** Teams embedding AgentOS in FastAPI services that need to scale or iterate agent topologies without service disruption.
