▗▄▄▄▖
████▖▄▄▄▄ ▄▄▄
▗█▙▄▄▄▄▄▄▄▄▄▄▄▄▄ ▗▄▄ ▗▟██████████▄▝██████████████▙▄
▝▜█████████████▀▘ ▝████▖ ▗▟██▛▘ ▗███▀▘ ▀▀▜██▛▘ ▐███▀▀▘
▜██▛ ▐███ ▄▟██▛▘ ▗███▘ ▐██▌ ▐███
▐██▌ ▐███ ▀▀▀▘ ▗███▙▄▄▄▖ ▗██▛▗▄ ▗███▌
▐██▌ ▐███ ▗▟█████████▀▀█████▖▗██▘ ▝██████
▐██▌ ███▌ ▝███▌ ██▌ ████▀▄▟█ ▜███▀▀▀
▗▄▄▄▄▄▄▄▄▄▄▄▟██▙▄▄▄▄▄▄█████ ▐██▙▄▄██▙▄▄███▌ ▐██▙▄▄███▙▄▄██▙▖
█████████▀▀▀▜██▛▀▀▀▀▀▀▀▀▜██ ▝███▀▀██▛▀▀███ ▟██▀▀▀▜██▛▀▀▀▀▀▘
███▌ ▐██▌ ▐██▌ ██▌ ███ ▟██▘ ▐██▌
███▌ ▐██▌ ▐██▙▄▄████▙███▗██▄▄▄▄▄▟█████████▄
███▌ ▐██▌ ██▛▀▀▀▀ ▐██▌▀███▛▀▀▜██▛▀▀▀▀▀▀▀
███▌ ▐██▌ ▗██▘ ▐██▌ ▐██▌
▗███▘ ▗███▙▄▄▄▄▄▄▄▄▄▄ ▟█▛ ▗▄▄▖ ███▌ ▝██▌
▐███ ▜███████████████▙ ▗██▘ ▀███████▌ ██▌
▀▀ ▀▀ ▀▀▘ ▝▀████▘ ██▘
CLI tool that launches coding agent CLIs with approval-bypass flags.
- Node.js >= 20.12.0
npm install -g bankai-cli
# or: pnpm add -g bankai-cli
# or: bun install -g bankai-cli# Launch a specific agent with bypass flags
bankai claude
# Pass args directly to the target agent
bankai codex -C /path/to/project
# Interactive agent picker
bankai
# List all supported agents
bankai agents
# List only agents installed on your system
bankai agents --installed| Agent | Command | Docs |
|---|---|---|
| Claude Code | claude --dangerously-skip-permissions |
Settings - Claude Code Docs |
| Codex CLI | codex --dangerously-bypass-approvals-and-sandbox |
CLI Reference - OpenAI Codex |
| GitHub Copilot CLI | copilot --allow-all-tools |
Copilot CLI Docs |
| Gemini CLI | gemini --yolo |
Configuration - Gemini CLI |
| OpenHands | openhands --always-approve |
CLI Mode - OpenHands Docs |
| Aider | aider --yes-always |
Options Reference - aider |
| Qwen Code | qwen-code --yolo |
Approval Mode - Qwen Code Docs |
| Kimi Code | kimi --yolo |
Interaction Guide - Kimi Code Docs |
| Agent | Target | Description |
|---|---|---|
| Cursor Agent CLI | .cursor/cli.json / ~/.cursor/cli-config.json |
Writes permission allow-list for Cursor Agent CLI |
| Cursor IDE | SQLite DB (state.vscdb) |
Applies settings below, then launches Cursor |
Unlike CLI agents that pass a flag, Cursor IDE stores its settings in a SQLite DB. bankai cursor modifies the DB directly to apply the following, then opens Cursor:
| Setting | Effect |
|---|---|
| Auto-Run Mode → Run Everything (Unsandboxed) | Agent runs all commands without sandboxing |
| Browser Protection → OFF | Agent can run browser tools automatically |
| MCP Tools Protection → OFF | Agent can run MCP tools automatically |
| File-Deletion Protection → OFF | Agent can delete files automatically |
| External-File Protection → OFF | Agent can create/modify files outside the workspace |
| Dot-files Protection → OFF | Agent can modify dotfiles (.env, etc.) |
Cursor must be restarted after the first apply for changes to take effect.
Register agents not in the built-in list:
# Non-interactive
bankai add --cmd opencode --line "opencode --yolo"
# Interactive
bankai add
# Edit an existing custom agent
bankai edit opencode
# Remove a custom agent
bankai remove opencodeCustom agents are stored in ~/.config/bankai/agents.json (XDG-compliant, varies by OS).
bun install
bun run dev -- claude # Run from source
bun run build # Build to dist/
bun run test # Run tests