# Agents ## Docs - [Agent Context System: Files and Directory Reference](https://mainbranch.mintlify.app/concepts/file-structure.md): A reference to every file and directory in the Agent Context System — what each one contains, who creates it, and what your agent does with it. - [How Agent Context System works: the two-file model](https://mainbranch.mintlify.app/concepts/how-it-works.md): Learn how two markdown files solve the agent cold-start problem and give your coding agent persistent, reviewable project knowledge across every session. - [How knowledge moves from sessions to shared context](https://mainbranch.mintlify.app/concepts/knowledge-flow.md): Understand how session learnings flow from raw notes into shared project knowledge, and how you control what gets promoted from personal to shared context. - [Auto-consolidation: automatic memory compression for agents](https://mainbranch.mintlify.app/features/auto-consolidation.md): Auto-consolidation compresses daily session logs into curated topic files on a 24-hour cadence, keeping your agent's memory index lean and fast to read. - [Auto-Reflect: automated session observation and promotion](https://mainbranch.mintlify.app/features/auto-reflect.md): Auto-Reflect observes significant events during your session and surfaces recurring patterns for promotion to AGENTS.md — no manual logging required. - [Promote patterns from scratchpad to shared context](https://mainbranch.mintlify.app/features/promote.md): The promotion workflow moves recurring patterns from your personal scratchpad into AGENTS.md — the committed file every agent and teammate reads each session. - [Share project context across parallel AI agent fleets](https://mainbranch.mintlify.app/features/subagents.md): Parallel subagents each start with a clean context window. AGENTS.md becomes the shared brain preventing conflicting decisions when running agent fleets. - [Agent Context System: Shared Project Memory for AI Agents](https://mainbranch.mintlify.app/introduction.md): Two markdown files give every AI coding agent persistent, reviewable project context that works across Claude Code, Copilot, Cursor, and Windsurf. - [Agent Context System quickstart: install and configure](https://mainbranch.mintlify.app/quickstart.md): Install the two-file context system, run init, and start your first agent session with persistent project knowledge — in under 5 minutes. - [Supported AI agents: Claude Code, Copilot, Cursor, Windsurf](https://mainbranch.mintlify.app/reference/agent-compatibility.md): How Claude Code, Cursor, Windsurf, GitHub Copilot, and OpenClaw each read AGENTS.md, handle session logging, and behave with subagents. - [AGENTS.md template reference: sections and formats](https://mainbranch.mintlify.app/reference/agents-md-template.md): Field-by-field reference for both context files, including the compressed pipe-delimited format, the 120-line budget, and what belongs where. - [agent-context CLI reference: init, validate, promote](https://mainbranch.mintlify.app/reference/cli.md): Complete reference for every agent-context command and helper script — init, validate, promote, and consolidation scripts — with flags and expected output. - [Agent Context System FAQ: compatibility, memory, subagents](https://mainbranch.mintlify.app/reference/faq.md): Answers to common questions about agent compatibility, memory systems, subagents, scratchpad management, and how AGENTS.md promotion works. - [Agent Context System security model and data boundaries](https://mainbranch.mintlify.app/reference/security.md): What gets committed vs gitignored, how the trust boundary works, and what the CLI does and does not do with files outside your project. - [Set up Agent Context System with Claude Code and CLAUDE.md](https://mainbranch.mintlify.app/setup/claude-code.md): Configure persistent project memory for Claude Code via AGENTS.md and a CLAUDE.md symlink. Learn how Claude's built-in auto memory complements the system. - [Set up Agent Context System with GitHub Copilot as a skill](https://mainbranch.mintlify.app/setup/copilot.md): Install Agent Context System as a GitHub Copilot skill to get persistent project memory, automatic updates, and cross-session context in every Copilot session. - [Set up Agent Context System with Cursor or Windsurf](https://mainbranch.mintlify.app/setup/cursor-windsurf.md): Configure persistent project memory for Cursor and Windsurf using agent-specific rules files that direct each tool to read AGENTS.md at session start. - [Install Agent Context System in any project manually](https://mainbranch.mintlify.app/setup/manual.md): Three ways to install Agent Context System: copy files into an existing project, create from the GitHub template, or clone as an OpenClaw workspace skill.