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_filterstr

Resource filter. Format - ENV:INFRA:GROUP:NAME:TYPE

env_filterstr

Filter the environment to shut down. --env -e

infra_filterstr

Filter the infra to shut down. --infra -i

group_filterstr

Filter resources using group name. --group -g

name_filterstr

Filter resource using name. --name -n

type_filterstr

Filter resource using type --type -t

dry_runbool

Print resources and exit. --dry-run -dr

auto_confirmbool

Skip the confirmation before deleting resources. --yes -y

print_debug_logbool

Print debug logs. --debug -d

forcebool

Force --force -f