app_registry to mount custom FastAPI routers in the same process as your agent server.
When to Use
- Add custom health or diagnostics endpoints.
- Expose supplemental API routes used by your integrations.
- Keep custom routes close to the agent module that is loaded by
aion.yaml.
Example
aion.yaml:
agent.py: