Skip to main content

CLI Reference

The agentvisor CLI provides commands for building images and running agents.

Installation​

# Install via script (recommended)
curl -fsSL https://raw.githubusercontent.com/manetu/agentvisor/main/install.sh | sh

# Or via Homebrew
brew tap manetu/homebrew-tap
brew install manetu/tap/agentvisor

# Verify
agentvisor --help

See Getting Started for installation options.

Commands​

CommandDescription
a2aInteract with configured A2A agents
buildBuild a combined AgentVisor™ image from your agent source
completionGenerate the autocompletion script for the specified shell
execStart an interactive terminal session inside an AgentVisor sandbox
mcpInteract with configured MCP servers
runRun a single agent execution and exit
schemaGenerate schema manifest for agent graphs
serveStart AgentVisor™ and wait for API requests
templateManage agent project templates

Global Options​

FlagDescription
--configConfig overlay file(s) to merge (can be repeated; later files override earlier)
-q, --quietSuppress all output except errors
-v, --verboseShow detailed output including debug info

Examples​

# Build a container image
agentvisor build ./my-agent -t my-agent:v1

# Serve locally for development (docker mode is default, policy auto-loaded)
agentvisor serve ./my-agent

# Run once with input
agentvisor run ./my-agent \
--input '{"messages": [{"role": "user", "content": "Hello"}]}'