FastAPI + AgentOS: Pattern for Production #7891
user1500177
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
We've built a production-ready AgentOS integration for FastAPI using the
mount()pattern with explicit MCP lifecycle management. We want to validate this approach with the community—is it the best practice, or should we is there something we can indeed use that we missed from agno side without breaking the present features?Our Current Approach
Architecture: What We Do
Is
mount()the right pattern for production? Or should we usebase_appwith modifications (which i saw now , can we use that and be able to sure to add the tracing , middlewares and the extra routes prefixes etc )Agno docs say "automatic connection management"—should we trust it more?
Is there anything that we should have done so as to make it more production ready CODE - keeping my logic for the middlewares , extra routes prefixes (as needed for checking health states , that version of the app is important. ,)
Beta Was this translation helpful? Give feedback.
All reactions