Manage AI coding agent sessions across git repositories and worktrees. Fork conversations, track changes, run quick actions. Supports Claude Code today — extensible for other agents.
Create, resume, rename, and organize AI coding sessions. Import existing sessions. Every session links to a Claude Code session ID for seamless resumption.
Automatically detects git worktrees. Create new worktrees with one click. Organize parallel branches in a dedicated worktrees folder.
Branch your AI conversations just like you branch code. Fork within the same worktree or to a new one with uncommitted changes carried over.
Run Claude prompts or shell commands from the sidebar. Configure custom actions with play/stop controls and dedicated output channels.
View staged and unstaged changes without leaving the sidebar. Inline stage, unstage, and discard actions with side-by-side diffs.
Add and organize multiple git repositories in one sidebar panel. Switch between projects and AI sessions without losing context.
Agntree currently supports Claude Code. The architecture is open-source and extensible — contributions to add other agents are welcome.
| Agent | IDE Support | Session Management | Status |
|---|---|---|---|
| Claude Code | VS Code, Cursor | Full support | Available |
| GitHub Copilot | — | — | Contributions welcome |
| Cline | — | — | Contributions welcome |
| Aider | — | — | Contributions welcome |
| Windsurf | — | — | Contributions welcome |
| Continue.dev | — | — | Contributions welcome |
| Task | Without Agntree | With Agntree |
|---|---|---|
| Switch AI sessions | Find session IDs, run claude --resume <id> |
Click a session in the sidebar |
| Parallel branches | Juggle terminals, manually create worktrees | One-click worktree creation |
| Fork a conversation | Copy session files, create worktree manually | Right-click → Fork Session |
| Track changes | Run git diff repeatedly |
Built-in changes panel with diffs |
| Common prompts | Retype or search history | One-click quick actions |
| Multi-repo management | Separate windows per project | All repositories in one sidebar |
Agntree is a free, open-source VS Code extension that provides a unified interface to manage AI coding agent sessions across git repositories and worktrees. It lets you create, resume, fork, and organize AI conversations alongside your git workflow.
Yes. Cursor is a fork of VS Code and supports VS Code extensions. Agntree works on both VS Code and Cursor without any modification.
Agntree currently supports Claude Code. The architecture is extensible and open-source — contributions to add support for GitHub Copilot, Cline, Aider, Windsurf, Continue.dev, and other AI coding agents are welcome.
Git worktrees let you check out multiple branches of the same repository into separate directories simultaneously. This is useful with AI coding agents because you can have separate AI sessions on separate branches, running in parallel, without conflicts. Agntree makes creating and managing worktrees effortless.
When you fork a session, the full conversation history is copied to the new session. The AI agent retains all context from the original conversation and can continue from that point. Starting a new session means the AI has no memory of previous work. Forking is ideal for exploring alternative approaches while keeping the original session intact.
Yes. Agntree is free and open-source under the MIT license. You need your own Claude Code subscription to use the AI session features.