Agno Infra provides a standard for codebases of Agentic Systems. It uses AgentOS locally using Docker and cloud deployment environments in production. It allows you to manager your Agentic System as Python code. workspace

Create a new Agno Infra project

Run ag infra create to create a new infra project, the command will ask your for a starter template and infra project name.
ag infra create

Start infra resources

Run ag infra up to start i.e. create infra resources
ag infra up

Stop infra resources

Run ag infra down to stop i.e. delete infra resources
ag infra down

Patch infra resources

Run ag infra patch to patch i.e. update infra resources
ag infra patch

The patch command in under development for some resources. Use restart if needed

Restart infra

Run ag infra restart to stop resources and start them again
ag infra restart

Setup existing infra

If you clone the codebase directly (eg: if your coworker created it) - run ag infra setup to set it up locally
ag infra setup

Command Options

Run ag infra up --help to view all options

Environment (--env)

Use the --env or -e flag to filter the environment (dev/prd)
ag infra up --env dev

Infra (--infra)

Use the --infra or -i flag to filter the infra (docker/aws/k8s)
ag infra up --infra docker

Group (--group)

Use the --group or -g flag to filter by resource group.
ag infra up --group app

Name (--name)

Use the --name or -n flag to filter by resource name
ag infra up --name app

Type (--type)

Use the --type or -t flag to filter by resource type.
ag infra up --type container

Dry Run (--dry-run)

The --dry-run or -dr flag can be used to dry-run the command. ag ws up -dr will only print resources, not create them.
ag infra up --dry-run

Show Debug logs (--debug)

Use the --debug or -d flag to show debug logs.
ag infra up -d

Force recreate images & containers (-f)

Use the --force or -f flag to force recreate images & containers
ag infra up -f