Checkpoint AI
cognitive state.

The version control layer for AI agents. Branch approaches, rollback hallucinations, and persist memory via filesystem.

curl -fsSL https://raw.githubusercontent.com/0xkoda/gitnu/main/install.sh | sh Copy
user@dev:~/ai-agent

Core Primitives

Persistent Memory

Serialize cognitive state into a hidden vault for seamless session resumption.

@@ -12,4 +12,6 @@
  "role": "system",
+ "memory_ref": "8f3a21",
+ "context_window": "active"

Safe Exploration

Branch thought processes. Test complex logic without context pollution.

init: main
feat: auth
exp: graphql

Intelligent Rewind

Rewind the cognitive stack to the last known stable state instantly.

gnu log --oneline
a1b2c3 HEAD
f4e5d6 stable
gnu rewind f4e5d6

Vault Architecture

Native integration with local tools by maintaining a shadow file structure.

Project Root

📁 src/
📄 README.md
📁 .gitnu/
📄 HEAD
📁 objects/
📁 refs/

State Preview

{
  "session_id": "sess_8921",
  "vectors": ["vec_192", "vec_193"],
  "summary": "OAuth flow confirmed"
}