Skip to content

Claude Code

Show HN: Agent-hop – a Rust TUI that hops a live Claude Code chat into Codex

2 min read

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →

Developer hetpatel-11 has built a terminal app that moves a coding-agent conversation from one harness to another mid-chat. A session started in Claude Code can continue in Codex, Pi, Grok Build or OpenCode. The project, agent-hop, was posted to Show HN on August 26, and the code is on GitHub.

The author’s stated problem is lost context. Switching from Claude Code to another CLI partway through a task normally means abandoning the chat.

Agent-hop doesn’t replace any of the agents. On the project site, it calls itself a runtime for coding-agent harnesses: you start ah, and the harness runs inside it. Claude Code, Codex, OpenCode, Pi and Grok “stay themselves — same binaries, same files,” and agent-hop is the layer around them: “a pty, hop, and one search box over every local chat.” A pty is a pseudo-terminal, so each agent runs as if someone were typing at it directly.

The hop is the main claim. When you switch mid-conversation, the site says the next harness gets “the real turns, tool calls, and attachments, not a summary.” The usual workaround is to ask the first agent for a handoff note and paste it into the second, and agent-hop says it skips that step.

Search and resume came first. The author says agent-hop started as a tool for searching and resuming sessions, then ran into some friction there and decided to build a dedicated TUI. The repository describes the tool as searching and resuming local coding sessions across multiple agents.

The Show HN post names one comparison point, Herdr, and says Herdr doesn’t let you hop between agents live.

According to the site, sessions stay on disk, with “no account, no cloud sync.” The repository’s AGENTS.md, the instruction file the project keeps for coding agents working on its own code, also describes telemetry. Events go to an ingest endpoint at telemetry.agent-hop.com, backed by a Cloudflare D1 database named agent-hop-telemetry.

The same file calls the project a “Rust mux around Claude Code, Codex, OpenCode, Pi, and Grok”. Mux is short for multiplexer, one terminal process that manages several others. It also says the live TUI needs a real terminal with a human at it, and that agents shouldn’t push, bump the version or publish to npm unless asked.

The repository was created on August 7. At the last check it had 11 stars and 3 forks, and the top contributor, hetpatel-11, had 74 contributions, so this is still early code.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.