Unified Context Protocol (UCP)
A drop-in context system that makes AI coding assistants actually remember your project.
π― The Problem
AI coding assistants forget everything between sessions. You waste time re-explaining your project architecture, coding standards, and past decisionsβand agents often create conflicting or inconsistent work.
π‘ The Solution
UCP is a standardized governance layer that sits between your codebase and AI agents. It provides a file-system-based protocol for persistent context, enabling agents to:
- Read project state and history
- Write learnings and decisions
- Coordinate across sessions and tools
β¨ Key Features
| Feature | Description | |---------|-------------| | π Boot Protocol | Agents run a startup checklist to load context automatically | | π Multi-Agent Support | Works with 8+ AI assistants (Cursor, Claude, Copilot, Windsurf, Aider, and more) | | π€ Session Handoffs | Incomplete work is savedβnext session picks it up, even with a different agent | | π Monorepo Ready | Define sub-projects with scoped contexts | | π§ Knowledge Persistence | Patterns, gotchas, and decisions survive across sessions | | π Pre-Built Workflows | High-performance pseudo-code for audits, features, bugfixes, refactoring, and maintenance | | β‘ Context Budget System | Tiered loading prevents LLM context overload | | π Agent Learning | Tracks user preferences, what worked/failed, and external dependencies |
π§ Supported AI Assistants
Cursor β’ Windsurf β’ Claude Code β’ GitHub Copilot β’ JetBrains AI β’ Aider β’ Gemini Antigravity β’ Generic LLMs
π What's Included
unified_context_protocol/
βββ boot.md # Agent entry point
βββ context/ # Project state (MASTER.md, tech.md, changelog.md...)
βββ knowledge/ # Persistent learnings & decisions
βββ bin/
β βββ workflows/ # audit, feature, bugfix, refactor, maintenance...
β βββ adapters/ # Per-agent integration guides
βββ archive/ # Historical context storage
π Quick Start
- Install the pack into your project's context directory
- Onboard your agent:
"Read bin/workflows/onboarding.md" - Audit your project:
"Read bin/workflows/audit.md and audit this project" - Done! Your agents now have persistent, coordinated context
π Why UCP?
- Escape vendor lock-in: Your context lives in version-controlled files, not proprietary cloud systems
- Tool-agnostic: Switch between AI assistants without losing context
- Human-readable: All files are markdownβyou can edit them directly
- Version-controlled: Commit your context alongside your code
Installation
To install this package, run:
npx corepackai install @corepackai/ucp --bridgenpx corepackai install @corepackai/ucp --bridge