Feeling Lazy? ask it to Wiz.
Wiz is a small assistant living in your terminal that can be invoked with CTRL+space.
Wiz aims to be the fzf for llms living in your terminal that is portable and local-llm friendly.
Features • Installation • Usage • Configuration • Tool Approval
🧙 Terminal Keybindings — Press Ctrl+Space anywhere to summon the wizard
⚡ Dual modes — Beautiful TUI or simple CLI, your choice
🔧 Tool execution — AI runs shell commands with your approval
✅ Allow list — Type a to trust a tool for the entire session
🔌 MCP Protocol — Connect external AI tool servers
📟 Tmux support — Seamless splits and popups
🐚 Multi-shell — zsh, bash, and fish supported
📦 0 dependencies — Portable, single binary, easy to install and upgrade
curl -fsSL https://raw.githubusercontent.com/mudler/wiz/master/install.sh | bashOr, if you use zsh:
curl -fsSL https://raw.githubusercontent.com/mudler/wiz/master/install.sh | zshgit clone https://github.com/mudler/wiz
cd wiz
go build -o wiz .
sudo mv wiz /usr/local/bin/go install github.com/mudler/wiz@latestAfter installation, in your terminal, Press CTRL+Space to start `wiz.
You can also run wiz manually by running wiz.
Add to your shell config to enable Ctrl+Space (only needed if you did not install with install.sh and want to have shell bindings):
zsh (~/.zshrc):
eval "$(wiz --init zsh)"bash (~/.bashrc):
eval "$(wiz --init bash)"fish (~/.config/fish/config.fish):
wiz --init fish | sourceNow wiz will be ready when you press Ctrl+Space anywhere in your terminal!
Create a config file at ~/.config/wiz/config.yaml, ~/.wiz.yaml or at /etc/wiz/config.yaml for global settings:
# Required: Your LLM configuration
model: gpt-4o-mini
api_key: your-api-key
base_url: https://api.openai.com/v1
# Optional: Custom system prompt
prompt: |
You are a helpful terminal wizard...
# Optional: Agent behavior
agent_options:
iterations: 10
max_attempts: 3
max_retries: 3
force_reasoning: false
# Optional: Additional MCP servers
mcp_servers:
filesystem:
command: npx
args:
- "-y"
- "@anthropic/mcp-filesystem"
- "/home/user"
env:
foo: barYou can also configure via environment variables:
export MODEL=gpt-4o-mini
export API_KEY=your-api-key
export BASE_URL=https://api.openai.com/v1When the wizard wants to run a command, you'll see a prompt:
┌──────────────────────────────────────┐
│ 🔧 bash │
│ │
│ Arguments: {"script": "ls -la"} │
│ 💭 Listing directory contents... │
│ │
│ [y]es [a]lways [n]o or adjust │
└──────────────────────────────────────┘
Options:
yoryes— Approve this executionaoralways— Approve and add to session allow list (won't ask again)norno— Deny execution- anything else — Treated as an adjustment to the command
Wiz uses the Model Context Protocol for tool execution.
- bash — Execute shell scripts
Add to your config:
mcp_servers:
my_server:
command: /path/to/mcp-server
args:
- --some-flag
env:
API_KEY: secretWhen running inside tmux, wiz automatically uses a split pane for the TUI. Use --no-tmux to disable this behavior.
MIT
