Vibeleaderboard
← All Intel
Intel / article

nac 0.1.3 isolates each agent session in a git worktree

Source
github.com
Author
Arcee.ai
Date

Context

Version 0.1.3 of nac, the open-source agent harness from Arcee AI, changes where a sandboxed coding session does its work. According to the release notes, a sandboxed session launched from a repository now runs in its own per-session instead of a writable bind mount of the live checkout. A writable bind mount exposes a folder on the host machine directly inside the sandbox, so files the agent changed were changed in the developer's actual . A worktree is a separate working directory attached to the same repository, which gives each session its own files to edit while Git branch and commit workflows keep working, including for repository subdirectories.

The notes also say the host checkout's filters, hooks and writable Git configuration stay outside the Podman boundary, Podman being the container system that forms nac's sandbox. Hooks and filters are programs Git runs automatically during operations, so keeping the host's versions and its writable configuration out of the session separates the agent's workspace from the machine's own Git setup. The notes do not describe this as a security guarantee. They add one recovery behavior: if a persisted worktree goes missing, nac recovers it without discarding commits the session made on a switched or detached branch.

Two other changes affect how sandboxed sessions behave. Stdio servers, the local tool servers an agent can call, now run on the host in sandbox mode, so they stay available without Node or similar runtimes installed in the sandbox image. And the agent now stops after three identical failing tool rounds instead of retrying forever. The release also groups sessions into named projects, expands $skillname references in prompts into the matching session skill, lets vision-capable models read PNG, JPEG, WebP and static GIF files from the workspace, and adds Shiki syntax highlighting for code and diffs.

Terms in this piece · Glossary
  • Git and version control — A system for recording and comparing changes to a codebase.
  • Git worktree — A separate working directory attached to the same Git repository.
  • Working copy — The files that one worker alone changes, its output and its saved evidence, so that its work cannot be overwritten by another worker's.
  • Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from Arcee.ai
Recommended reads