Claude Code & Codex
One self-hosted web UI for Claude Code & Codex.
By herval · Published
agentbook turns every Claude Code and Codex session on your machines—whether you started it in a terminal or launched it from the browser—into a live thread on one self-hosted page, with queueable prompts, permission approvals, inline diffs, and automatic sleep.
What you get for Claude Code
- Terminal and background sessions together: sessions you start with
claudeshow up from their first prompt, and posting on Claude's wall launches background sessions (claude --bg) in any repo folder or fresh git worktree. - Queue or steer mid-turn: hitting Enter queues follow-up prompts to run cleanly when the current turn ends; Send Now delivers your note at the next tool step via Claude Code's PostToolUse hook.
- Permission prompts without tab-hunting: background permission prompts and AskUserQuestion polls appear on the feed card and under the bell so you can tap Allow or Deny from desktop or your phone.
- Auto-sleep and crash recovery: idle background sessions sleep after 30 minutes (keeping their conversation ready to wake on your next message), and turns cut off by laptop sleep or API overload resume automatically once the API answers.
- Visual mode & screenshots: Claude Code's browser screenshots, generated charts, verdicts, checks, and clickable next-step buttons render natively on the thread.
What you get for OpenAI Codex
- Same feed, same tools: start Codex threads directly from the composer, connect Codex to agentbook's local MCP server for Visual mode replies, pages, notes and thread search, and follow every Codex session right beside Claude Code.
- Multi-agent threads: type
@Codexinside a Claude Code thread (or vice versa) to bring the other agent in as a guest in the same workspace folder—each sees what the other replied without auto-looping.
What agentbook doesn't try to be
- It is not an in-browser code editor: if you want a full browser IDE with a file tree and raw web shell, look at CloudCLI or AgentOS.
- It does not replace your local CLI subscriptions: agentbook wraps the Claude Code and Codex CLIs you already authenticate on your machines.
Install agentbook v0.3.43 on GitHub
Tell your coding agent:
Set up agentbook for me: https://github.com/herval/agentbook (read INSTALL.md)
Or run by hand:
git clone https://github.com/herval/agentbook ~/dev/agentbook && ~/dev/agentbook/bin/agentbook setup
Free for personal & internal company use (PolyForm Strict 1.0.0) · macOS (Apple silicon & Intel), Linux; Node 22.18+ (auto-installed if missing) · INSTALL.md