Wakil is a terminal coding assistant. It reads and edits your code, runs your commands, and keeps memory between sessions — with the tool calls running in a sandbox and asks-first safeguards on the gates.
Quick install (Linux and macOS, amd64 and arm64):
curl -fsSL https://github.com/treeol/wakil/releases/latest/download/install.sh | shThe script installs the latest release into ~/.local/bin, verifies its checksum before extracting anything, and runs wakil init if no config exists. To read the script first:
curl -fsSL https://github.com/treeol/wakil/releases/latest/download/install.sh -o install.sh && sh install.shManual install: take a .tar.gz, .deb, .rpm or .apk from the releases page, or build with Go:
go install github.com/treeol/wakil/cmd/wakil@latestThen install hisn 0.6.5 or newer (hisn check must pass), or have Docker available. Wakil uses hisn when it is usable, otherwise Docker; --sandbox direct runs with no sandbox.
wakil initIt asks for a provider (OpenRouter, or any OpenAI-compatible server), a key, and a model, writes ~/.config/wakil/config.json, and makes one test call. Then:
cd your-project && wakil/newstarts a fresh conversation./helplists every slash command.
- Ask and edit. Read files, write and edit code, search the codebase, and run shell commands — the model calls the tools, and Wakil executes them.
- Run in the background. Start long-running jobs with
run_background, read their output withread_process_log, and stop them withkill_process. - Delegate with subagents.
dispatch_subagentspawns a bounded worker (read-only discovery, file-editing, or tools/MCP-capable) to search the codebase, run a build, or fan out parallel tasks. - Remember across sessions. Durable memory entries and global skills persist per project and across projects; new sessions start with what earlier ones learned.
/remembersearches prior sessions,/compactshrinks the active context, and/resumereturns to a saved conversation. - Check your project.
/verifyruns the tests, lint, or build you configured;wakil doctorchecks the container runtime, config and image. - Use the headless mode.
wakil runruns one task without the TUI and exits with a code./planwalks a task through gather, plan, review and implement. - Browse and search. SearXNG web search (
searxng_search,searxng_url_read) whensearxng_urlis configured, andbrowser_*tools for headless-browser verification when Chromium is available. - Connect MCP servers. List them under
mcp_serversin the config;/mcpshows their tools.
- Sandbox. By default tools run in hisn (rootless) or Docker — not directly on your host.
--sandbox directopts out; the confirmation prompt stays on. - Approvals. The shell, file-write and background-process tools ask for confirmation before running.
/autoturns on auto-approval, but destructive commands and counsel calls still gate. Skill and template writes always ask. - Egress consent. Sending session context or a Mashūra briefing to an external host asks first, once per session — even in
/automode. - Data policy.
/zdrturns on OpenRouter zero-data-retention enforcement;/regionpins OpenRouter traffic to a regional host.trusted_local_hoststreats listed host names as local.
Mashūra sends a review, a debugging question, or a decision to models other than the one you are talking to, so you get a second opinion on the same briefing. The models are configured in the mashura block (level plus members), and the model calls the mashura__review, mashura__debug, mashura__decide and mashura__check tools.
/mashura off|low|medium|highchanges the level for the current repo:offcloses the gate,lowsuggests only,mediumenables auto-counsel when the model struggles,highadds debate.- Cost: each call is billed per-token by the members' rates; caps (
mashura_review_budget_usd) stop a panel before it spends more than you set.
The config file is JSON at ~/.config/wakil/config.json (WAKIL_CONFIG or --config point elsewhere). All keys, flags and subcommands are in docs/configuration.md; config.example.json is a commented reference. The rest of the documentation is indexed in docs/README.md.
Patch releases are cut from master with vX.Y.Z tags; CHANGELOG.md lists what each release changed, and the release page body is the matching section of that file. CI gates are in CONTRIBUTING.md.
Apache License 2.0. See LICENSE.
