acp-daemon

Crates.ioacp-daemon
lib.rsacp-daemon
version0.2.0
created_at2025-12-29 16:44:31.686343+00
updated_at2026-01-02 13:59:17.975175+00
descriptionACP Daemon - HTTP REST API for codebase intelligence
homepage
repositoryhttps://github.com/acp-protocol/acp-daemon
max_upload_size
id2010906
size157,404
DavidAD (ddunnock)

documentation

README

ACP Daemon

HTTP REST API daemon for the AI Context Protocol.

Installation

# Via cargo
cargo install acp-daemon

# Or via ACP CLI
acp install daemon

Usage

# Start daemon in background
acpd start

# Start in foreground
acpd start --foreground
# or
acpd run

# Check status
acpd status

# Stop daemon
acpd stop

API Endpoints

Health & Status

Endpoint Method Description
/health GET Health check
/stats GET Cache statistics summary

Cache & Configuration

Endpoint Method Description
/cache GET Get full cache
/config GET Get configuration
/vars GET Get all variables
/vars/{name}/expand GET Expand a variable with context

Symbols

Endpoint Method Description
/symbols GET List all symbols
/symbols/{name} GET Get symbol details
/callers/{symbol} GET Get functions that call this symbol
/callees/{symbol} GET Get functions called by this symbol

Files

Endpoint Method Description
/files GET List all files
/files/{path} GET Get file details

Domains

Endpoint Method Description
/domains GET List all domains
/domains/{name} GET Get domain details

Constraints

Endpoint Method Description
/constraints/{path} GET Get constraints for a file

Aggregate Endpoints

Endpoint Method Description
/map GET Get project map overview
/primer GET Generate AI context primer

Configuration

The daemon looks for ACP files in the project root:

  • .acp/acp.cache.json - Indexed cache
  • .acp/acp.vars.json - Variables
  • .acp.config.json - Configuration

License

MIT

Commit count: 0

cargo fmt