Skip to main content
Use standard git commands to diff what changed last session, revert a bad write, or audit the full history. memory/MEMORY.md is the primary file. It’s loaded automatically into every conversation.

Directory Structure

Memory Layers

When a layer exceeds max_lines, old entries are auto-archived to memory/archive/<YYYY-MM>.md.

Other Memory Files

GitAgent also writes to a few other files automatically:

Memory Commands

Rolling Back Memory

Use git revert rather than git reset --hard — revert preserves the audit trail while reset destroys it.

Browsing the Archive

Schedules & Cron

Automate agent runs on a cron schedule or as one-time tasks

Integrations

Connect GitAgent to Composio, Telegram, WhatsApp, and Twilio

Compliance & Audit

Audit logging and human-in-the-loop approval for regulated workflows

GitAgent Overview

Identity, memory, rules, and skills as plain files in a repo