> ## Documentation Index
> Fetch the complete documentation index at: https://mainbranch.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Context System: Persistent Memory for AI Coding Agents

> Give your AI coding agents persistent, version-controlled project context that works across Claude Code, Copilot, Cursor, and Windsurf.

Agent Context System solves the cold-start problem for AI coding agents. Every session, your agent starts from zero — forgetting everything it learned about your project the day before. This system gives agents a shared, reviewable, version-controlled memory that persists across sessions and works across every major agent tool.

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/quickstart">
    Get your agent reading persistent project context in under 5 minutes.
  </Card>

  <Card title="How It Works" icon="lightbulb" href="/concepts/how-it-works">
    Understand the two-file system and how knowledge flows from sessions to shared context.
  </Card>

  <Card title="Setup Guides" icon="gear" href="/setup/copilot">
    Step-by-step setup for GitHub Copilot, Claude Code, Cursor, and Windsurf.
  </Card>

  <Card title="CLI Reference" icon="terminal" href="/reference/cli">
    Commands for init, validate, and promoting patterns to shared context.
  </Card>
</CardGroup>

## What You Get

Two markdown files. One committed, one gitignored. Your agent reads both at the start of every session and updates the local one at the end.

<CardGroup cols={2}>
  <Card title="AGENTS.md" icon="file-lines">
    Your project's source of truth. Committed and shared. Always loaded into every agent session. Under 120 lines of compressed project knowledge.
  </Card>

  <Card title=".agents.local.md" icon="notebook">
    Your personal scratchpad. Gitignored. Grows over time as the agent logs what it learns each session — patterns, gotchas, dead ends.
  </Card>

  <Card title="Auto-Reflect" icon="eye" href="/features/auto-reflect">
    Agents observe significant events during sessions and surface patterns worth promoting to shared context at session end.
  </Card>

  <Card title="Auto-Consolidation" icon="compress" href="/features/auto-consolidation">
    Daily logs compress automatically into curated topic files. 9:1 compression ratio, zero infrastructure required.
  </Card>
</CardGroup>

## Supported Agents

Agent Context System works with every major AI coding tool:

<Steps>
  <Step title="GitHub Copilot">
    Install via the official Copilot skill registry with `npx skills add`.
  </Step>

  <Step title="Claude Code">
    Wired up automatically via `CLAUDE.md` symlink during init.
  </Step>

  <Step title="Cursor & Windsurf">
    Configured via `.cursorrules` and `.windsurfrules` pointing to `AGENTS.md`.
  </Step>

  <Step title="OpenClaw">
    Clone into your skills directory — reads `AGENTS.md` natively.
  </Step>
</Steps>

<Note>
  No plugins, no infrastructure, no background processes. The convention lives inside the files themselves, and the agent follows it.
</Note>
