Direct and gateway-backed model access
The agent can connect directly to supported providers or route through MiawRouter on 127.0.0.1:21128.
MiawCode keeps standard terminal scrollback while coordinating edits, commands, tools, providers, and subagents.
The runtime combines a Bun and TypeScript CLI, a Go provider daemon, and optional Rust native helpers.
The npm package installs both miaw and miawcode command names.
npm install -g miawcode@0.1.0
miawcode
git clone https://github.com/skutanjir/miawcode.git
cd miawcode
bun install
bun run build
./bin/miaw
The split-footer layout keeps transcript output in normal terminal scrollback. The input, status, effort, and mode controls stay docked at the bottom.
conversation transcript
tool calls and command output
────────────────────────
mode · model · context
prompt input
key hints
The agent can connect directly to supported providers or route through MiawRouter on 127.0.0.1:21128.
Rust hashline anchors make edits fail when the target lines have changed instead of applying to the wrong location.
MiawCode can consume local MCP tools and expose its own tools to another orchestrator.
Native search and walking avoid repeated shell process startup for common repository reads.
Builds and long-running commands stream through an integrated pseudo-terminal.
File mutations create recoverable checkpoints. Credentials use AES-256-GCM storage with owner-only local files.