# Agntree > Agntree is a free, open-source extension for VS Code and Cursor that manages Claude Code, Codex, opencode, and Pi sessions across git repositories and worktrees: one sidebar to start, resume, fork, find, and review coding-agent sessions. - Install: search for "Agntree" in the VS Code Extensions view, or run `code --install-extension subhashkhileri.agntree`. - Works in VS Code 1.93+ and Cursor, on macOS and Linux; Windows support is partial. - Supported agents: Claude Code (2.1.310 or newer), OpenAI Codex, opencode (v2), and Pi. Each keeps its own native sessions; Agntree copies nothing into a format of its own. - Free, MIT licensed, no telemetry. Source: https://github.com/subhashkhileri/agntree - Current version: 4.0.0 ## Start here - [Overview](https://subhashkhileri.github.io/agntree/docs/README.md): Guides and reference for Agntree, the VS Code session and git worktree manager for Claude Code, Codex, opencode, and Pi. - [Getting started](https://subhashkhileri.github.io/agntree/docs/getting-started.md): Install Agntree in VS Code or Cursor, add a repository, and start your first Claude Code, Codex, opencode, or Pi session in under two minutes. ## Features - [Sessions](https://subhashkhileri.github.io/agntree/docs/sessions.md): Start, resume, rename, star, import, and clean up coding-agent sessions from the Agntree sidebar, grouped by repository and git worktree. - [Worktrees and repositories](https://subhashkhileri.github.io/agntree/docs/worktrees.md): Create a git worktree per task, check out pull requests, merge, rebase, and delete worktrees from the Agntree sidebar, with each agent session beside its branch. - [Fork a session](https://subhashkhileri.github.io/agntree/docs/fork-sessions.md): Fork a coding-agent conversation with its full history, in the same worktree or into a new git worktree that carries your uncommitted changes. - [Find Session](https://subhashkhileri.github.io/agntree/docs/find-session.md): Describe what you worked on and Agntree has an agent search your Claude Code, Codex, opencode, and Pi history in every folder, then resume the match. - [Notifications](https://subhashkhileri.github.io/agntree/docs/notifications.md): Agntree shows which agents are working, notifies you when a turn ends or Claude Code asks for permission, and jumps to the session that has waited longest. - [Agent panels](https://subhashkhileri.github.io/agntree/docs/agent-panels.md): Move a session between its terminal and the Claude Code or Codex extension's chat panel, start new sessions in either, and choose the default. - [Changes and files](https://subhashkhileri.github.io/agntree/docs/changes-and-files.md): The Changes and All Files panels follow the worktree you select: diff, stage, unstage, and discard agent edits, or browse and edit files in the sidebar. ## Agents - [Claude Code](https://subhashkhileri.github.io/agntree/docs/agents/claude-code.md): Use Agntree with Claude Code: resume and fork sessions, run them in parallel on git worktrees, get permission-prompt alerts, and open the Claude Code panel. - [Codex](https://subhashkhileri.github.io/agntree/docs/agents/codex.md): Use Agntree with OpenAI Codex: list, resume, and fork Codex threads per git worktree, get finished-turn alerts, and hand a thread to the Codex panel. - [opencode](https://subhashkhileri.github.io/agntree/docs/agents/opencode.md): Use Agntree with opencode: list, resume, and fork opencode sessions per git worktree through its own CLI and API, with finished-turn notifications. - [Pi](https://subhashkhileri.github.io/agntree/docs/agents/pi.md): Use Agntree with the Pi coding agent: start, resume, and fork Pi sessions per git worktree, find old ones, and get notified when a turn finishes. ## Guides - [Run agents in parallel](https://subhashkhileri.github.io/agntree/docs/guides/parallel-agents-git-worktrees.md): A step-by-step workflow for running several coding agents at once without conflicts: one git worktree and one session per task, all in one VS Code window. - [Resume a session](https://subhashkhileri.github.io/agntree/docs/guides/resume-a-session.md): The CLI command that resumes a session in each coding agent, how to find the session ID, and how to resume any session with one click in VS Code. ## Reference - [Settings](https://subhashkhileri.github.io/agntree/docs/reference/settings.md): Every Agntree setting with its default: default agent, where sessions open, auto-import and retention, notifications, Find Session, and agent commands. - [Commands](https://subhashkhileri.github.io/agntree/docs/reference/commands.md): Every Agntree command in the VS Code Command Palette, plus the actions on repository, worktree, session, change, and file rows. - [Keyboard shortcuts](https://subhashkhileri.github.io/agntree/docs/reference/keyboard-shortcuts.md): Default Agntree keyboard shortcuts on Windows, Linux, and macOS: new session, next session that needs you, Find Session, starred sessions, and tree keys. ## More - [Comparison](https://subhashkhileri.github.io/agntree/docs/comparison.md): How Agntree, a VS Code extension, differs from standalone agent apps such as Orca and Paseo and from running coding-agent CLIs by hand. - [FAQ](https://subhashkhileri.github.io/agntree/docs/faq.md): Answers to common questions about Agntree: supported agents and editors, resuming and forking sessions, git worktrees, pricing, and what leaves your machine. - [Troubleshooting](https://subhashkhileri.github.io/agntree/docs/troubleshooting.md): Fixes for common Agntree problems: an agent that is not detected, sessions that do not appear, a session that will not resume, and missing notifications. - [Privacy](https://subhashkhileri.github.io/agntree/docs/privacy.md): Agntree collects no telemetry and keeps its state in VS Code. What it reads, what it stores, and the one feature that sends session text to a model. ## Optional - [Full documentation in one file](https://subhashkhileri.github.io/agntree/llms-full.txt): every page above, concatenated - [Changelog](https://github.com/subhashkhileri/agntree/blob/main/CHANGELOG.md): what changed in each release - [Architecture](https://github.com/subhashkhileri/agntree/blob/main/ARCHITECTURE.md): how the extension is built