acp-protocol 0.0.1

AI Context Protocol - core library for indexing codebases for AI-assisted development
Documentation

ACP - AI Context Protocol

⚠️ Placeholder Release - Full functionality coming soon.

Core library for the AI Context Protocol.

What is ACP?

The AI Context Protocol (ACP) is an open standard for embedding machine-readable context in codebases for AI-assisted development.

Features (Coming Soon)

  • Parsing - Extract ACP annotations from source code
  • Indexing - Build 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::{Cache, Config};

let config = Config::load(".acp.config.json")?;
let cache = Cache::build(&config)?;

// Query symbols
let auth_symbols = cache.query_domain("authentication")?;

Related Crates

Links

License

MIT License - Copyright (c) 2024 ACP Protocol Contributors