ACR: Adaptive Cognitive Runtime
A local-first AI orchestration runtime that runs entirely on your own machine. Persistent memory, a skill system, task/agent orchestration, and multi-provider model routing, all on SQLite, with no cloud account, API key, or telemetry required to try it. Point it at your own local Ollama models when you want real inference, or keep it on the zero-config mock provider indefinitely; ACR never assumes you're online or paying for anything.
pip install acr-runtime
acr db upgrade && acr doctor
acr run "say hello"
Full specification: ACR_MASTER_SYSTEM_PROMPT.md.
Current implementation state: docs/ARCHITECTURE.md,
the single source of truth for what's actually built, so nothing here
duplicates that status and drifts stale.
What's here
A Python CLI (acr) built around a real task engine, a hybrid-retrieval
memory store, a skill registry with routing/validation/evolution, model
and tool routing with safe-mode-aware permission checks, an agent
planner/critic/topology system, an operational dashboard with a
real-telemetry visualization, and an MCP server exposing ACR's memory,
skill, web, and GitHub search tools to any MCP client, including
project-scoped registration for both Claude Code and Codex CLI out of
the box. See docs/ARCHITECTURE.md for the full
breakdown of what's implemented, how, and why.
Quick start
Install from PyPI:
pip install acr-runtime # or: uv tool install acr-runtime
acr db upgrade # create the local SQLite schema, no repo checkout needed
acr doctor
Or from a source checkout (for development; see CONTRIBUTING.md):
uv sync # install deps + local package into .venv
cp .env.example .env # local dev data dir (repo-local ./data, gitignored)
uv run alembic upgrade head
uv run acr doctor
acr run "say hello" # create + execute a task end to end
acr dashboard serve # operational dashboard: http://127.0.0.1:8765
acr mcp serve # MCP server (stdio by default)
(prefix with uv run if working from a source checkout instead of a pip/uv tool install)
Using ACR from Claude Code or Codex CLI
This repo ships project-scoped MCP server registration for both
Claude Code and Codex CLI, so opening
it in either offers ACR's memory/skill/web/GitHub search tools and task
execution as MCP tools directly. Claude Code prompts for approval the
first time it opens the project; Codex CLI only loads project-scoped
config for a project you've marked trusted (codex trust prompt, or
trust_level = "trusted" under [projects."<path>"] in your own
~/.codex/config.toml); either way, cloning the repo can't silently
launch anything without you consenting.
Development
See CONTRIBUTING.md for the full workflow. Short version:
uv run pytest # tests
uv run ruff check . # lint
uv run ruff format . # format
uv run pyright # type check
License, security, support
MIT licensed. See SECURITY.md to report a
vulnerability privately. For bugs, questions, or feature requests, use
GitHub Issues.
If ACR is useful to you, consider supporting its development: ko-fi.com/hbkcustomsinc.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file acr_runtime-0.2.0.tar.gz.
File metadata
- Download URL: acr_runtime-0.2.0.tar.gz
- Upload date:
- Size: 142.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8a5ab00090718c66380b250c1ed3946bd2d44a0c6fd625fb6d529e766715f04
|
|
| MD5 |
412f23372ff148f676e21a7fdec64050
|
|
| BLAKE2b-256 |
b83d097c58a754215601a296dbd87edbf875230be1a48312c3f94626de9c3f72
|
Provenance
The following attestation bundles were made for acr_runtime-0.2.0.tar.gz:
Publisher:
publish.yml on hbkdad/arc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acr_runtime-0.2.0.tar.gz -
Subject digest:
d8a5ab00090718c66380b250c1ed3946bd2d44a0c6fd625fb6d529e766715f04 - Sigstore transparency entry: 2313988657
- Sigstore integration time:
-
Permalink:
hbkdad/arc@286cbe367ca989691feec354d6ca3ede9e1311e9 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/hbkdad
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@286cbe367ca989691feec354d6ca3ede9e1311e9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file acr_runtime-0.2.0-py3-none-any.whl.
File metadata
- Download URL: acr_runtime-0.2.0-py3-none-any.whl
- Upload date:
- Size: 199.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29aa93e0844634daf3311d533fbbfafbfac9118ff194c28a7897bb73e8988551
|
|
| MD5 |
710589965c64690049ba3566e413b856
|
|
| BLAKE2b-256 |
f945e17fb071d3802debd12fd16b1ddf5ee67f51075324d57ef8e75e7aec014c
|
Provenance
The following attestation bundles were made for acr_runtime-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on hbkdad/arc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acr_runtime-0.2.0-py3-none-any.whl -
Subject digest:
29aa93e0844634daf3311d533fbbfafbfac9118ff194c28a7897bb73e8988551 - Sigstore transparency entry: 2313988687
- Sigstore integration time:
-
Permalink:
hbkdad/arc@286cbe367ca989691feec354d6ca3ede9e1311e9 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/hbkdad
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@286cbe367ca989691feec354d6ca3ede9e1311e9 -
Trigger Event:
release
-
Statement type: