Crate acp_protocol

Crate acp_protocol 

Source
Expand description

§ACP - AI Context Protocol

Core library for the AI Context Protocol.

⚠️ This is a placeholder release. Full functionality coming soon.

§What is ACP?

The AI Context Protocol (ACP) is an open standard for embedding machine-readable context in codebases for AI-assisted development. This crate provides the core functionality for:

  • Parsing: Extract ACP annotations from source code
  • Indexing: Build a structured cache of codebase metadata
  • Querying: Search and filter indexed symbols and files
  • Constraints: Evaluate and enforce code constraints
  • Variables: Expand token-efficient variable references

§Usage

use acp-protocol::{Cache, Config};

// Coming soon...
let config = Config::load(".acp-protocol.config.json")?;
let cache = Cache::build(&config)?;

§License

MIT License - see repository for details.

Constants§

SPEC_VERSION
ACP specification version supported by this library.
VERSION
Library version (placeholder).

Functions§

spec_version
Placeholder for spec version.
version
Placeholder for ACP core functionality.