agentvc
agentvc가 필요한 이유
Git은 인간이 인간의 속도로 커밋하도록 만들어진 도구입니다. AI 에이전트는 기계의 속도로 작업 공간을 변경합니다. 분당 수십 개의 파일, 잘못된 방향, 완성되지 않은 리팩터링, 요청한 적 없는 삭제까지. 알아차렸을 때는 이미 git stash로는 되돌릴 수 없습니다.
agentvc는 모든 에이전트 세션에 타임머신을 제공합니다. 전체 작업 공간을 밀리초 단위로 스냅샷하고, 병렬 시도를 브랜치로 포크하며, 이전 상태를 즉시 복원합니다 — 설계상 데이터 손실이 전혀 없습니다.
Related MCP server: statecli-mcp-server
기능
⏱ 즉시 체크포인트 | 하나의 명령어나 도구 호출로 모든 파일을 스냅샷합니다. 콘텐츠 주소 지정 방식, 중복 제거, 밀리초 단위. |
↩ 무손실 롤백 | 모든 복원은 먼저 현재 상태를 자동 저장합니다. 롤백 자체도 되돌릴 수 있습니다. |
⑃ 병렬 시도 | 세션을 브랜치로 나누고, B 방식을 시도하고, 비교한 뒤 승자를 유지합니다. |
🤖 MCP 네이티브 | 8개의 도구로 Claude Code, Cursor, Codex가 스스로 체크포인트와 복구를 수행합니다. |
🔍 실제 diff | 에이전트가 두 시점 사이에 건드린 내용을 정확히 확인합니다 — |
🔒 로컬 및 프라이빗 | 모든 것이 |
그냥 git을 쓰면 안 되나요?
git | agentvc | |
설계 대상 | 인간의 커밋 | 머신 속도의 에이전트 단계 |
스테이징 절차 |
| 하나의 명령어로 모든 것을 캡처 |
롤백 안전성 |
| 모든 복원 전에 자동 안전 체크포인트 생성 |
"다른 방식 시도" | 무겁고 얽히기 쉬운 브랜칭 | 도구 호출 한 번 — 에이전트가 스스로 수행 |
에이전트 인터페이스 | 없음 | 일급 MCP 서버 + TypeScript API |
단계별 메타데이터 | 수동 메모 | 구조화된 JSON ( |
agentvc는 코드 출시를 위한 git을 대체하지 않습니다. 에이전트 루프 아래에 위치합니다. git log를 오염시키지 않는 저렴하고 일회용이며 되감을 수 있는 기록입니다.
요구 사항
Node.js 20 이상. 다른 런타임 종속성은 없습니다.
설치
npm install -g agentvc또는 설치 없이 실행하려면:
npx agentvc init빠른 시작
mkdir demo && cd demo
avc init # initialise .avc/
echo "v1" > app.txt
avc save -m "known good state" # checkpoint everything
echo "v2" > app.txt # ...agent goes wrong...
avc status # see what changed
avc diff -p # see exactly which lines changed
avc rollback HEAD # instant undo — nothing lost
avc branch plan-b && avc switch plan-b # fork a parallel attempt
avc save -m "trying redis instead"
avc timeline # every attempt, side by side에이전트에 타임머신을 주세요
번들로 제공되는 MCP 서버를 한 번 등록하면 에이전트가 스스로 체크포인트와 복구를 수행할 수 있습니다.
Claude Code
claude mcp add agentvc -- avc mcpCursor · Codex · 모든 MCP 클라이언트 — .mcp.json에 추가하세요 (또는 examples/mcp-config.json 참조):
{
"mcpServers": {
"agentvc": { "command": "avc", "args": ["mcp"] }
}
}서버가 작업 디렉터리를 사용하지 않아야 한다면 AVC_ROOT=/path/to/project를 설정하세요.
언제 체크포인트할지 가르치기
이 내용을 AGENTS.md / CLAUDE.md에 넣으세요. 좋은 도구와 진짜 안전망의 차이를 만들어 줍니다:
## Session checkpoints (agentvc)
- Before any risky operation (refactors, deletions, dependency upgrades,
schema changes), call `avc_save` with a short message.
- After reaching a working state, call `avc_save` again.
- If an approach fails twice, call `avc_rollback` to the last good checkpoint
and try a different plan — optionally on a new branch via `avc_branch`.
- Never leave more than ~15 minutes of work uncheckpointed.MCP 도구
도구 | 에이전트가 사용하는 용도 |
| 위험한 작업 전이나 성공 후에 작업 공간을 스냅샷합니다. |
| 마지막 체크포인트 이후 변경된 내용을 확인합니다. |
| 현재 브랜치의 최근 체크포인트를 검토합니다. |
| 현재 상태를 잃지 않고 병렬 시도를 포크합니다. |
| 시도 간에 이동합니다 (먼저 저장되지 않은 작업을 자동 저장). |
| 모든 파일을 알려진 정상 체크포인트로 복원합니다. |
| 두 시점을 비교하며, 선택적으로 줄 단위 패치를 제공합니다 ( |
| 모든 브랜치의 모든 시도를 확인합니다. |
CLI 참조
명령어 | 설명 |
| 현재 디렉터리에 저장소를 초기화합니다. |
| 전체 작업 공간을 체크포인트합니다. |
| 마지막 체크포인트 이후 저장되지 않은 변경 사항을 표시합니다. |
| 현재 브랜치의 체크포인트를 나열합니다. |
| 브랜치를 생성하거나 나열합니다. |
| 브랜치를 전환하고 파일을 복원합니다. |
| 파일을 체크포인트로 복원합니다 (기본값 |
| ref들을 비교하거나, ref를 작업 트리와 비교합니다. |
| 동일하되 |
| 모든 브랜치의 모든 체크포인트를 표시합니다. |
| MCP stdio 서버를 시작합니다. |
ref는 HEAD, 브랜치 이름, 전체 체크포인트 ID, 또는 고유 ID 접두사를 허용합니다.
avc diff -p는 표준 통합 diff(--- a/path, +++ b/path, @@ 헝크)를 출력하므로, 결과를 patch -p1 또는 git apply로 바로 파이프할 수 있습니다. 바이너리 파일은 Binary files … differ로 보고됩니다. 2MB / 50,000줄을 초과하는 파일은 내용 없이 목록으로 표시되며, 정확한 줄 diff에 너무 큰 재작성은 전체 파일 교체로 표시됩니다.
라이브러리로 사용하기
import { AgentVCS, formatPatch } from "agentvc";
const avc = new AgentVCS(projectRoot);
await avc.ensureInit();
const cp = await avc.save({
message: "before db migration",
meta: { task: "upgrade-postgres", attempt: 2 },
});
const { clean, modified } = await avc.status();
if (!clean) console.log("agent touched:", modified);
await avc.branch("plan-b");
await avc.checkout("plan-b");
await avc.rollback(cp.id); // instant, lossless
for (const p of await avc.diffPatch(cp.id, "work")) {
console.log(formatPatch(p)); // unified diff per file, with hunks available on p.hunks
}완전한 타입 지원. AgentVCS, diffTrees, computePatch, formatPatch 및 모든 결과 타입이 내보내집니다.
작동 방식
콘텐츠 주소 지정 저장소, git의 의식 절차 없이 git의 좋은 아이디어만 담았습니다:
.avc/
├── objects/ab/c3ef… blobs + trees, deduplicated by SHA-256
├── checkpoints/ parents, tree, message, structured meta
├── refs/heads/main branch tips
└── index.json id → summary, for fast prefix lookups동일한 파일 콘텐츠는 모든 체크포인트와 브랜치에 걸쳐 한 번만 저장됩니다.
변경되지 않은 파일은 복원 시 다시 쓰이지 않습니다.
기존
.gitignore를 존중하며,.git/과node_modules/는 건너뜁니다..avc/를 삭제해도 작업 공간은 그대로 유지됩니다.
[!IMPORTANT] 안전 보장. 모든
rollback과switch는 단 하나의 파일도 건드리기 전에 저장되지 않은 변경 사항을 자동 안전 체크포인트로 스냅샷합니다. 롤백은 되돌릴 수 있습니다. agentvc에는 작업을 잃을 수 있는 코드 경로가 없습니다.
로드맵
터미널에서 줄 단위 diff (
avc diff -p)브랜치 병합 (현재 fast-forward, 다음은 3-way)
자동 저장 훅: 파일 감시자 또는 각 에이전트 턴 이후
멀티 에이전트 조정 — 두 에이전트, 하나의 저장소, 별도의 브랜치
이름이 있는 마일스톤과 세션 태그
MCP와 동일한 기능의 Python SDK
체크포인트 저장소의 선택적 암호화 원격 백업
아이디어와 PR을 환영합니다 — CONTRIBUTING.md를 참조하세요.
기여하기
git clone https://github.com/nintechio/agentvc.git
cd agentvc && npm install
npm run typecheck && npm test && npm run build버그 리포트, 기능 요청, 풀 리퀘스트 모두 환영합니다. CONTRIBUTING.md와 Code of Conduct를 읽어 주세요. 보안 이슈: SECURITY.md를 참조하세요.
라이선스
Nintech가 만들고 유지 관리합니다
만드는 엔지니어가 직접 운영합니다.
적용형 AI · 고복원성 소프트웨어 엔지니어링 · 관리형 호스팅 — 영국 및 EU
nintech.io · GitHub · X · YouTube · admin@nintech.io
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Your versioned memory across every AI tool — context maps, personal memory, and tasks over MCP.
System-of-record notebook for AI coding agents: pages, datastores, tasks, skills over MCP.
Coordinate coding agents through MCP using existing AI plans, saved work, and independent checks.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides operational continuity for AI coding agents, preserving task state, decisions, checkpoints, and project context across sessions and model switches via MCP.1Apache 2.0

statecli-mcp-serverofficial
AlicenseNot gradedqualityDmaintenanceGives AI agents memory, undo, and self-awareness by tracking file changes and enabling checkpoints and rollbacks.742MIT- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides on-demand safety for AI coding workflows, enabling inspection, review, checkpointing, and rollback of risky actions.211MIT
- FlicenseBqualityCmaintenanceMCP server for file checkpointing and undo, enabling AI agents to safely read, write, and edit files with full snapshot history and revert capabilities.10
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nintechio/agentvc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server