infra/settings.py
Customization Flow
| Phase | Action |
|---|---|
| Development | Run locally with Docker to iterate on code. |
| Infrastructure | Update resource definitions in infra/. |
| Production | Provision and update resources with Agno CLI. |
| Automation | Use GitHub Actions for continuous deployment. |
Key Areas
1. Infrastructure Settings
Configureinfra_name, aws_region, subnet_ids, and image_repo in infra/settings.py.
Infra Settings guide
2. Environments
Define development resources for Docker ininfra/dev_resources.py and production resources for AWS ECS in infra/prd_resources.py.
Development App | Production App
3. Database
Define tables with SQLAlchemy and manage migrations with Alembic. Production databases migrate during task startup. Database & Migrations guide4. Security
Manage environment variables in resource files. Local secrets are stored in a Git-ignoredsecrets/ directory; production secrets use AWS Secrets Manager.
Environment Variables | Secrets Manager
5. Python Dependencies
Add libraries topyproject.toml. The template includes scripts to sync requirements.txt and rebuild images.
Python Packages guide