Skip to content

Commands

A workspace comes with Agent Fleet’s own commands. Each works from a terminal and for agents alike. Most print their usage with --help; each page shows how to get it.

Command What it does
af-arch-repair Reinstall your own pip, uv and npm installs at the same versions after the CPU architecture changed
af-aws-exec Run one command with the permissions of an AWS profile
af-clean List and remove regenerable build output and caches, as the Console’s low-disk cleanup does
af-db Run PostgreSQL and MySQL in the workspace and print connection URLs
af-gcloud-exec Run one command with a token of a Google Cloud profile
af-memory List, import, write back and lint Agent Fleet memory from a terminal
af-scratch Move build output onto the working disk, on deployments that have one
af-watch-hook Add a webhook to a private repository so watches are poked

These commands use a connection you made in Settings, in a session or a terminal, for every agent. You never log them in from the terminal, and an expiring token is renewed on use.

Command Connection it uses Details
git Git hosting (GitHub, Bitbucket) Connect a Git service
gh Git hosting, GitHub Use the GitHub CLI
bkt Git hosting, Bitbucket Cloud (bitbucket.org) Use the Bitbucket CLI
jira Issue tracker, Jira Use Jira
confluence Issue tracker, Jira (the same Atlassian connection) Use Confluence
af-aws-exec --profile <name> -- <command> AWS profiles/SSM, after you log in to the profile af-aws-exec
af-gcloud-exec --profile <name> -- <command> Google Cloud, after you log in to the profile af-gcloud-exec

Agents are told to use bkt rather than an MCP server for Bitbucket, and jira by default for Jira. A CLI reads your saved connection on every call, so unlike an MCP connector it never needs the session restarted after a login expires. To have agents prefer an Atlassian MCP tool for Jira, see Use Jira.

The other tools in a workspace, with their versions and licences, are in What’s in the workspace.