Unified CLI for running AI coding agents with multiple model providers and sandbox options
npm install @xonovex/agent-cliUnified CLI for running AI coding agents with multiple model providers and sandbox options.
``bash`
npm install -g @xonovex/agent-cli
`bashRun with default agent (Claude)
agent-cli run
Commands
$3
Run an AI coding agent.
`
Options:
-a, --agent Agent: claude, opencode (default: claude)
-p, --provider Model provider for the agent
-s, --sandbox Sandbox: none, bwrap, docker, compose, nix (default: none)
-w, --work-dir Working directory
--worktree-branch Create worktree with branch
-t, --terminal Terminal wrapper: tmux
-c, --config Load configuration from file
-n, --dry-run Show configuration without executing
`$3
Generate shell completion script.
`bash
Bash
source <(agent-cli completion)Add to ~/.bashrc for persistence
agent-cli completion >> ~/.bashrc
`Configuration
Create a config file (YAML or JSON):
`yaml
sandbox:
method: bwrap
network: true
bindPaths:
- /home/user/projects
agent: claude
provider: anthropic
`Load with:
`bash
agent-cli run -c config.yaml
``MIT