Anvilwing

Terminal coding agent

The coding agent that lives in your terminal.

Anvilwing is a Claude Code–class agent that reads code, edits files, runs commands, and searches the web — rendered with the transcript shape, permission modes, and colored diffs you already know. It runs on your own API key, with no login and no approval-nag layer in the way.

$ npm install -g anvilwing-coder View on GitHub →
anvilwing
add a --json flag to the status command
 
Read src/commands/status.ts
⎿ 62 lines
Edit src/commands/status.ts
@@ -18,6 +18,11 @@
const s = await collectStatus();
+ if (flags.json) {
+ process.stdout.write(JSON.stringify(s, null, 2));
+ return;
+ }
renderStatus(s);
Bash npm test -- status
Tests: 14 passed, 14 total
Added --json to status; verified the snapshot round-trips and the suite is green.

Looks and works like Claude Code

Familiar where it counts, yours where it matters.

An Ink-rendered TUI with the exact / transcript, plan/accept-edits permission modes, and colored diffs — under your control, on your key.

Ink TUI parity

Action bullets, result summaries, a rounded input box, and a live working spinner — the terminal UX you already know.

± Colored diffs

Every write and edit shows a green/red diff with line numbers before it touches your tree.

⇧⇥ Permission modes

Cycle default → accept-edits → plan. Plan mode is genuinely read-only: writes and shell are blocked at the tool runtime.

Adversarial verifier

An always-on critic reviews the finished answer and high-impact tool calls, and refutes its own output before reporting done.

Ultracode, always on

Baked in — max thinking budget, phased execution, and a living TODO plan tuned for long-horizon, multi-file work.

Real tools

Read · Write · Edit · Bash · Grep · Glob · Web search & fetch · TodoWrite · persistent Memory · Git — the agent does the work, not just the talking.

Bring your own key

No account, no login, no hosted-refusal layer. Your key hits the API directly; secrets live in your OS keychain, never in the source.

Live follow-up queue

Keep typing while it works — follow-ups queue and process at the next turn boundary, no waiting for the current task.

Install & run

Up in three steps.

1
Install the CLI globally.

npm install -g anvilwing-coder — exposes the anvilwing command on your PATH.

2
Add your key.

In-shell /key sk-…, or export ANVILWING_API_KEY. An optional TAVILY_API_KEY turns on web search.

3
Run it.

anvilwing launches the interactive shell. That's the whole surface — configuration lives in slash commands.