CorePack AI Logo
v3.4.5β€’Updated about 1 month ago

Unified Context Protocol

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

FeatureDescription
🧠 Smart Kernel v3.1High-speed boot with auto-fix for stale context, broken locks, and missing data
πŸ”Œ Multi-Agent SupportWorks with 8+ AI assistants via unified adapter
🀝 Session HandoffsIncomplete work is savedβ€”next session picks it up
πŸ”„ Auto-MaintenanceAgents self-correct: break stale locks, trigger audits, prune old learnings
πŸ“‚ Monorepo ReadyDefine sub-projects with scoped contexts
🧠 Knowledge PersistencePatterns, gotchas, and decisions survive across sessions
⚑ Context Budget SystemTiered loading prevents LLM context overload
πŸ” /reset CommandClear working context and start fresh

πŸ”§ Supported AI Assistants

See Universal Adapter.

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, development, maintenance...
β”‚   └── adapters/     # Per-agent integration guides
└── archive/          # Historical context storage

πŸš€ Quick Start

1. Install

Via CLI (Recommended):

npx corepackai install @corepackai/ucp
# OR for a full team setup:
npx corepackai install @corepackai/startup-team

Or Manual: Copy the pack into your project's context directory (e.g., .context/ or .ai/).

2. Initialize

Tell your agent:

"Read bin/workflows/onboarding.md"

3. Audit

Tell your agent:

"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

πŸ“– Documentation

ResourceDescription
User GuideDetailed setup and usage for humans
boot.mdAgent entry point (boot protocol, structure)
CLI GuideAutomation tool instructions

Installation

To install this package, run:

npx corepackai install @corepackai/ucp --bridge
PriceFree
npx corepackai install @corepackai/ucp --bridge

Details

Downloads31
LicenseMIT
Version3.4.5
Tags
#official#ucp#context#memory#protocol