ag infra down
Options for ag infra down: delete resources for the active AgentOS codebase, filtered by env, infra, group, name, or type.
This command belongs to the legacy agno-infra package (reviewed source version 1.1.1). Use its own Python environment; installing current agno does not provide this ag infra group. Resource-engine operations need the appropriate agno-infra[docker] or agno-infra[aws] dependencies and provider configuration. New AgentOS starters use the current CLI.
Delete resources for active AgentOS codebase
When this legacy command finds Compose files, it operates on every matching conventional Compose file in the current directory. Positional resource filters and named environment/infra/group/name/type selectors do not limit that path. Compose down preserves volumes; Compose up does not forward the legacy --pull or --force options. The resource selectors below apply to the legacy resource-engine path. The Compose path requires Docker and its Compose plugin.
Params
resource_filterstrResource filter. Format - ENV:INFRA:GROUP:NAME:TYPE
env_filterstrFilter the environment to shut down. --env -e
infra_filterstrFilter the infra to shut down. --infra -i
group_filterstrFilter resources using group name. --group -g
name_filterstrFilter resource using name. --name -n
type_filterstrFilter resource using type --type -t
dry_runboolPrint resources and exit. --dry-run -dr
auto_confirmboolSkip the confirmation before deleting resources. --yes -y
print_debug_logboolPrint debug logs. --debug -d
forceboolForce --force -f