AI Context Protocol

A machine-readable context protocol for AI-assisted development. Enhance your codebase with structured comments that AI models understand.

Why ACP Protocol?

Bridge the gap between developers and AI coding assistants with structured, machine-readable context.

Protect Critical Code

Use graduated lock levels to prevent AI from modifying sensitive or critical code sections.

Token Efficient

Reduce AI token usage by 50-90% with compact, structured context through variables and caching.

Language Agnostic

Works with any programming language through standard comment syntax. TypeScript, Python, Rust, and more.

Tool Agnostic

Compatible with Claude, GPT, Copilot, Cursor, and any AI development tool through the primer system.

How It Works

Three simple steps to enhance your AI-assisted development workflow.

1

Add ACP Annotations

Insert structured ACP directives using standard comment syntax in your code.

2

AI Reads Context

AI assistants parse the .acp.cache.json to understand constraints and context.

3

Better Assistance

Get more accurate, context-aware suggestions while protecting critical code.

auth.ts

Common Use Cases

ACP Protocol helps teams maintain code quality and safety across various scenarios.

Security-Critical Code

Lock authentication, encryption, and payment processing logic to prevent unintended modifications.

Legacy System Integration

Document complex integration points with rich context for AI assistants navigating legacy code.

Team Collaboration

Share context about design decisions, technical debt, and implementation rationale across the team.

Regulatory Compliance

Mark compliance-critical sections and document requirements that must be preserved.

Ready to Get Started?

Start enhancing your AI-assisted development workflow with ACP Protocol today.