Agent Session Bridge — AI skill for Claude Code
Bridge local AI coding sessions between Pi, Claude Code, and Codex.
How to install Agent Session Bridge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bohdanpodvirnyi/agent-session-bridge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Session Bridge does
Bridge local AI coding sessions between Pi, Claude Code, and Codex.
Alternatives in AI
- Botmux — Bridge Feishu/Lark to AI coding CLIs — Claude Code, Codex, Gemini, OpenCode… every DM, group or topic spawns i 1.2k ★
- Session Kit — Close the terminal windows, not the AI coding sessions 649 ★
- CLI WeChat Bridge — 将 AI 命令行工具以最为原生的方式,集成到微信 ClawBot / 企业微信 bot 中,目前支持集成 Codex、Claude Code、OpenCode、Pi Agent 478 ★
README
Agent Session Bridge
[](https://github.com/bohdanpodvirnyi/agent-session-bridge/actions/workflows/ci.yml) [](./LICENSE) [](https://www.npmjs.com/package/agent-session-bridge)
Local-first session portability for Pi, Claude Code, and Codex.
`agent-session-bridge` mirrors resumable conversations between the three local coding agents so you can start in one tool, switch tools in the same folder, and keep going from the same thread.

https://github.com/user-attachments/assets/d1b151a4-78e9-42ef-98ee-bb5045809f51
Why
Each agent stores sessions in a different place and in a different format:
- Pi uses session trees in
~/.pi/agent/sessions - Claude Code uses JSONL transcripts in
~/.claude/projects - Codex uses rollout event logs in
~/.codex/sessions
This project sits between them and keeps those local stores in sync.
The goal is simple:
- talk to Pi in a repo
- open Claude Code or Codex in that same repo
- resume the same conversation instead of starting over
What Makes It Different
This repo is not a session viewer, a skills sync, or a live agent-to-agent bridge.
It is focused on one job:
- parse native session formats
- convert them into the other tools' native formats
- keep replay-safe mirror state on disk
- repair older imported sessions when history got messy
The distinctive angle is `local-first durability`.
- The bridge writes directly into each tool's own session store.
- The CLI installs self-contained runtime assets into
~/.agent-session-bridge/runtime. - Sync, repair, and validation are all built around real local agent behavior.
Install
Public npm install:
npx agent-session-bridge setup
npx agent-session-bridge doctor
Related Skills
Session Porter
Move AI coding sessions between Claude Code and Codex CLI
Agents Msger
Cross-machine, cross-network message passing between AI coding-agent sessions — connect context, talk, and rea
Td MCP
Local MCP bridge between AI agents and TouchDesigner: build real networks, set parameters and expressions, val
Kage
Local memory for AI coding agents. Find, replay, fork, bridge, and dispatch Claude Code, Codex, and Qoder sess
Agents Can Communicate
Let your AI coding sessions talk to each other. Coordinate parallel work, exchange reviews, and hand off unfin
Session Loom
Session-Loom 是一个 local-first 的 AI coding session bridge:它持续读取 Claude Code、Codex、OpenCode、DeepSeek Harness 和 Pi
Related Agents
Part 13: Memory Bridge (Give Coding Agents Your Brain)
When you spawn Codex or Claude Code to build something, they start blind. They don't know your architecture de
Opencode
Coding subagent that runs inside opencode, on any provider and model opencode supports (OpenAI, Google, Moonsh
Codex Bridge
把指定工作外包給 gpt-5.5(codex)並忠實回傳其輸出。當需要 gpt-5.5 的批量實作或獨立第二審查視角時使用。這是 plugin 內第三種 codex 路徑:一次性 codex exec CLI 呼叫、輸出