Think in the browser. Land in the editor.
Your Agent, forever equipped with cross-tab long-term memory.
English | 简体中文 | 繁體中文 | 日本語 | Français | Español | Português | 한국어 | Русский | العربية
Note
CoBridge also supports the companion browser extension Voyager, which is specifically designed for Gemini. If you only use Gemini, Voyager is a lightweight alternative. For broader platform support (ChatGPT, Claude, DeepSeek, Doubao), use the CoBridge browser extension.
Extract AI conversation context from web pages, including text, tables, and images
Automatically fill in system prompts for workspace Agents, quickly bootstrapping projects
Supports ChatGPT, Claude, DeepSeek, Doubao and other AI platforms
Supports GitHub Copilot, Cursor, Claude Code and other IDE Agents
- Download or clone this repository
- Run
pnpm install && pnpm --filter chrome-extension buildin the project root - Open
chrome://extensions/, enable Developer Mode - Click Load unpacked and select
packages/chrome-extension/dist
┌─────────────────────┐ ┌─────────────────────┐
│ Browser Extension │ HTTP │ VS Code Extension │
│ (Chrome / Edge) │ ──────► │ (Agent Receiver) │
│ │ :3030 │ │
│ Captures AI chat │ │ Saves to workspace │
│ from web pages │ │ .cobridge/CONTEXT │
└─────────────────────┘ └─────────────────────┘
- Browser Extension: Injects into AI chat pages, extracts conversation content (text, tables, images), and sends it to localhost
- VS Code Extension: Runs a local HTTP server, receives the data, and writes it as Markdown context files that your IDE Agent can read
Click the status bar icon to open the management menu:
Select the Agent you're currently using:
Once selected, the status bar displays the corresponding Agent icon:
Click Start Service from the menu. The local server will run on port 3030 until you stop it.
- Open any supported AI chat page in your browser
- Click the CoBridge browser extension icon
- Hit Sync Context to Agent
- The conversation content lands in
.cobridge/AI_CONTEXT.mdin your workspace
From now on, your Agent will never look at you blankly and ask, "What did you say before?"
If port 3030 is occupied:
- Open VS Code Settings (
Ctrl + ,/Cmd + ,) - Search for
AIContextSync.port - Change the port number (e.g.,
3031) - Restart the service from the status bar menu
Note: VS Code workspace settings override user settings. Modify the port in your Workspace Settings if needed.
The browser extension's popup also allows you to set the port to match.
| function | Status | Notes |
|---|---|---|
| Table Support | ✅ | Tables are converted to Markdown |
| Image Support | ✅ | Images are converted to Base64 |
| File Attachments | ❌ | Not yet supported |
| Other Platforms | ❌ | Platforms with strict anti-scraping are not supported (PRs welcome!) |
- Zero Pollution: CoBridge automatically adds the sync file to
.gitignore, ensuring it never pollutes your Git repository. - Friendly Format: Full Markdown output — tables, images, and text all preserved in a format your IDE Agent can read naturally.
- Auto Configuration: Automatically generates rule files adapted to various Agents, allowing them to seamlessly read context without bloat.
- Local First: All data stays on your machine. No external servers, no telemetry.
This is a pnpm workspace monorepo containing two packages:
CoBridge/
├── packages/
│ ├── chrome-extension/ # Browser extension (Chrome / Edge)
│ └── vscode-extension/ # VS Code extension (Agent receiver)
├── pnpm-workspace.yaml
└── package.json
git clone https://github.com/Winddfall/CoBridge.git
cd CoBridge
pnpm installpnpm --filter chrome-extension buildpnpm --filter vscode-extension compileThink in the browser. Land in the editor. Your Agent, forever equipped with cross-tab long-term memory.
If this project helped you, please give us a Star ⭐ on GitHub.
If you have new requirements, welcome to raise an issue on GitHub.
If you have good suggestions or find a bug, Pull Requests are welcome!
If this project solved your AI collaboration pain points, feel free to buy me a cola! 🥤
Your support will be directly used to maintain subsequent iterations of the project ❤️.
This project is licensed under the MIT License.








