Agent Apps Docs

CLI reference

Complete reference for the Agent Apps CLI commands and global options.

CLI reference

Global options

OptionDescription
--config <path>Path to explicit agentapps.json
--cwd <dir>Working directory
--jsonOutput raw JSON
--yamlOutput raw YAML
--rawRaw tool result
--manual-codeForce manual OAuth code entry
--yes, -ySkip confirmation prompts
--verbose, -vShow extra detail
--help, -hShow help

Local state

Stored in .agentapps/ inside your workspace. Add to .gitignore.

FilePurpose
.agentapps/instances.jsonInstalled instances
.agentapps/user-secrets/<alias>.jsonUser secrets per instance
.agentapps/historyREPL command history

Workspace configuration

The CLI reads agentapps.json from the current working directory, searching upward through parent directories.

{
  "apps": [
    { "source": "./apps/hello" },
    { "source": "./apps/gmail" }
  ]
}