Anthropic · claude
Run Claude Code with Wisp Agents
Hand Claude Code a task and close the tab. Wisp Agents runs it headless in its own git worktree, routes its questions and permission prompts to you, and hands back a one-screen report with the real diff and the test run.
wisp "fix the flaky test" --agent claudeHow Wisp Agents runs it
claude -p --output-format stream-json \
--permission-mode acceptEdits \
--append-system-prompt "<wisp protocol>" \
--mcp-config '{"mcpServers":{"wisp":…}}' --verbose
| Wisp Agents mode | What Claude Code gets |
|---|---|
| Plan (read-only) | --permission-mode plan |
| Edits | --permission-mode acceptEdits |
| Full auto | --permission-mode bypassPermissions |
Questions and permissions
An MCP tool, mcp__wisp__ask_user, added with --mcp-config. The run pauses, you get a notification, and your answer goes straight back into the same session.
In Edits mode, Claude Code’s permission prompts go to Wisp Agents’ approve tool (--permission-prompt-tool). The card asks Allow Claude Code to run npm publish? with Allow, Always allow in this task and Deny.
Models
Opus, Sonnet or Haiku (or whatever Claude Code is set to), plus a thinking level passed as --effort.
Ask on the side, pick it up yourself
A btw question is answered on a copy of the conversation (--resume <id> --fork-session), so it knows what the run did and why. Open in Claude Code (o in the TUI) resumes the same conversation in its own CLI: claude --resume <id>.
Also
- Several folders in one task: the others are passed as
--add-dir. - Claude in Chrome: when it is on by default in your Claude settings, Wisp Agents adds
--chrome, which headless runs need. - Delegate: a Claude Code lead can hand work to Codex, opencode or another Claude, here or on your other machines, through Wisp Agents’
delegatetool.