nac: an agent harness that keeps long tasks on their original goal
nac is an open-source harness[1] for long tasks such as experiments, model training, infrastructure setup and prototyping, designed to keep the work aligned with its original intent. A central orchestrator plans the whole task, while command execution and file edits are handled by separate Threads[2], and a continued task reuses the Thread that holds its earlier history. When a Thread finishes its part, it saves the key result as an Episode[3], which the orchestrator uses to choose the next step or passes to another Thread as context. In a Git repository, each session by default gets its own worktree[4] created from HEAD, separate from uncommitted changes, and deleting a session removes the temporary worktree but keeps the branches it committed. The project is written in Rust, can run in a Podman sandbox, connects to existing agent clients through MCP, and by default serves its web interface at 127.0.0.1:3210.
Read the original github.comDiscussion on GeekNews
Sources
-
KRGeekNews KO
nac - 긴 작업에서 원래 목표를 잃지 않게 하는 에이전트 하네스


