Wakil
A multi-model, terminal-native AI coding agent that reads and edits code, runs commands in a sandbox, and keeps memory across sessions.
At a Glance
Wakil terminal coding assistant, licensed under Apache License 2.0. Model provider costs (OpenRouter or OpenAI-compatible server) are external and billed separately.
Engagement
Available On
Listed Nov 2026
About Wakil
Wakil is an open-source terminal coding assistant written in Go and released under the Apache License 2.0. It reads and edits code, runs shell commands, and keeps memory between sessions, with tool calls running in a sandbox and confirmation prompts on risky actions. The latest release listed in the repository is v0.8.12.
What It Is
Wakil is a terminal-based AI agent with a TUI and a headless mode. After running wakil init, you choose a provider (OpenRouter or any OpenAI-compatible server), supply a key and a model, and then start it inside a project directory. The model calls tools to read files, write and edit code, search the codebase, and run shell commands, and Wakil executes them.
Workflow and Capabilities
Long-running jobs can be started in the background, with output read from process logs and processes stopped on demand. Subagents can be dispatched as bounded workers for read-only discovery, file editing, or MCP-capable tasks, including parallel fan-out. Durable memory entries and global skills persist per project and across projects, and slash commands such as /remember, /compact and /resume manage context and past sessions. /verify runs configured tests, lint or build, /plan walks a task through gather, plan, review and implement, and wakil run executes a single task headlessly and exits with a code. Optional SearXNG web search, headless-browser tools when Chromium is available, and MCP servers configured in the config extend its reach.
Safety Model
By default tools run inside hisn (rootless) or Docker rather than directly on the host; --sandbox direct opts out while keeping confirmation prompts. Shell, file-write and background-process tools ask for confirmation, and /auto enables auto-approval while destructive commands still gate. Sending session context to an external host asks for consent once per session. /zdr enforces OpenRouter zero-data-retention and /region pins traffic to a regional host.
Second Opinions (Mashūra)
Mashūra sends a review, debugging question or decision to other configured models for a second opinion. Levels from off to high control whether it only suggests, auto-counsels when the model struggles, or adds debate, and a configurable budget cap limits spend per panel.
Community Discussions
Be the first to start a conversation about Wakil
Share your experience with Wakil, ask questions, or help others learn from your insights.
Pricing
Open Source
Wakil terminal coding assistant, licensed under Apache License 2.0. Model provider costs (OpenRouter or OpenAI-compatible server) are external and billed separately.
- Apache License 2.0
- Terminal coding assistant that reads and edits code and runs commands
- Sandboxed tool calls via hisn or Docker
- Persistent memory across sessions
- Subagents and headless mode (wakil run)
Capabilities
Key Features
- Read, write and edit code and run shell commands
- Sandboxed tool execution via hisn or Docker
- Approval prompts and egress consent
- Background process management
- Subagent dispatch for parallel tasks
- Persistent memory and global skills across sessions
- /verify for tests, lint and build
- Headless mode with exit codes
- /plan workflow
- SearXNG web search and headless browser tools
- MCP server support
- Mashūra multi-model second opinions with budget caps
- OpenRouter zero-data-retention and region pinning
