Agents In A Chest.Nvim banner
cyphersnake cyphersnake

Agents In A Chest.Nvim

AI community

Description

Neovim plugin to run LLM coding agents in isolated Git work trees with auto‑commit, tabbed sessions, and safe cleanup.

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

agents-in-a-chest.nvim

agents-in-a-chest logo

**Launch LLM coding agents in isolated Git worktrees**

[!WARNING] **⚠️ Unstable - Early Development**

This plugin is in active development and has not been extensively tested in production environments. While core functionality works, you may encounter bugs or breaking changes. Use at your own risk and please report any issues you find!

[![Neovim](https://img.shields.io/badge/Neovim-0.10+-blueviolet.svg?style=flat-square&logo=Neovim&logoColor=white)](https://neovim.io) [![Lua](https://img.shields.io/badge/Lua-blue.svg?style=flat-square&logo=lua)](http://www.lua.org) [![MIT License](https://img.shields.io/badge/License-MIT-green.svg?style=flat-square)](LICENSE) [![Codeberg](https://img.shields.io/badge/Codeberg-2185D0?style=flat-square&logo=codeberg&logoColor=white)](https://codeberg.org/cyphersnake/agents-in-a-chest.nvim)

[Features](#features) • [Installation](#installation) • [Usage](#usage) • [Configuration](#configuration) • [Contributing](#contributing)

✨ Features

A focused flow: create a few agents, close them, then cherry-pick their work back to your base branch.

  • 🎯 Isolated worktrees: each agent runs in its own Git worktree
  • 🚀 Multiple agents: start several sessions in parallel (one tab each)
  • 🔄 Auto-commit on exit: closing the tab finalizes the session safely
  • 🧭 Cherry-pick landing: use Neogit to land changes onto your base branch
  • 🌳 Branch provenance: aic/... branches are preserved for review/audits
  • 🧹 Smart cleanup: worktrees are cleaned; base branch is auto-stashed/restored if dirty
  • 🦀 Rust smart cache: optionally share a single Cargo target/ at repo root across all sessions

🎬 Demo

" 1) Start a couple of agents
:AICSession claude --name refactor-auth
:AICSession codex  --name add-tests

" 2) Work with each agent in its tab