Agent Session Bridge
Description
Bridge local AI coding sessions between Pi, Claude Code, and Codex.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI