Skip to main content

CORE

Executable constitutional governance for AI-assisted software development.

License: MIT Release Docs

Current Release: v3.1.0 — see CHANGELOG.md.

What CORE is

CORE audits a codebase against declared rules in .intent/, records every violation, proposes fixes, and logs the chain from finding to commit. AI assistants and CORE's own loop can propose changes; only the human governor approves them. What it is for, in plain words: What CORE does.

The pip install below gives you the offline audit, CORE's audit on every pull request (GitHub Action) and, for your AI assistant, the rules and a verdict on its change before it commits. Recording findings, proposing fixes, CORE's own loop and changes submitted for your approval need the full local runtime (last block of this section).

Install and first run

You need Python 3.12 or later and git. On Debian and Ubuntu, python3 -m venv also needs the python3-venv package (sudo apt install python3-venv git).

python3 -m venv .venv && . .venv/bin/activate
pip install core-runtime

Current Ubuntu and Debian refuse a bare pip install outside a virtual environment ("externally-managed-environment"); the first line creates one (pipx install core-runtime works too). This gives you the core-admin CLI. In a repository that already has a .intent/ constitution, audit it with no services running:

core-admin code audit --offline

To bring CORE into an existing repository, no services are needed either:

cd your-repo
core-admin project init . --write --yes
core-admin project adopt-pack core/starter-python --write
git add .intent .github && git commit -m "Adopt CORE"
core-admin code audit --offline

project init --write asks for confirmation at a terminal; --yes skips the question, and without a terminal (CI, scripts, AI agents) it stops at once unless --yes is given.

The audit judges the law committed at HEAD, so commit .intent/ first; uncommitted law reads DEGRADED, never PASS. project init also writes CORE's GitHub Action (.github/workflows/core-audit.yml); commit it with the law. The audit lists blocking and high findings; reporting and advisory ones are only counted. Add --severity info to list them too.

Connect your AI assistant (Claude Code shown; any MCP client works) so it asks CORE about your project's rules and checks its change before committing; see Connect your AI assistant:

claude mcp add --scope project core -- core-admin mcp run

Claude Code starts core-admin itself, so it must be on PATH in the shell you start claude from: activate the virtual environment first, or install with pipx install core-runtime (then pipx ensurepath) so it is on PATH in every shell; get pipx first with sudo apt install pipx on Debian/Ubuntu. Everyone who uses the committed .mcp.json needs the same.

A new project:

core-admin project new myproject --write
cd myproject
git init
core-admin project adopt-pack core/starter-python --write
git add -A && git commit -m "Adopt core/starter-python"
core-admin code audit --offline

To run the full local runtime (Postgres + Qdrant) from a clone (it also needs Docker with Compose v2 and Poetry; every prerequisite is in Run the full runtime):

git clone https://github.com/DariuszNewecki/CORE.git
cd CORE
./install-core.sh

More

License

MIT — see LICENSE.

Metadata

Release files for core-runtime 3.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for core-runtime 3.1.0
File Size Uploaded Provenance Actions
core_runtime-3.1.0.tar.gz 2.0 MB With provenance Details for core_runtime-3.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for core-runtime 3.1.0
File Interpreter ABI Platform Actions
core_runtime-3.1.0-py3-none-any.whl Python 3 none any Details for core_runtime-3.1.0-py3-none-any.whl

Total release size: 4.8 MB

Release files / core_runtime-3.1.0.tar.gz

Download URL core_runtime-3.1.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
0452fcba6729919af86dc93921e7e039cbf2a82950a83bf77e8e1fe0f5a4feda
BLAKE2b-256 checksum
How to use checksums
0b43be7efa026a0448b626c355f41504ac8a180e658f1bee74c5855cfe12c733
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / core_runtime-3.1.0-py3-none-any.whl

Download URL core_runtime-3.1.0-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
59a844a6b72abf1176a295d7dae682eeeab23bf9418546250fcbe025160cc159
BLAKE2b-256 checksum
How to use checksums
1d64a9b417d417ac272edd2c98ca25e309e89162a18444b5540f260ee1bc9a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for core-runtime 3.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for core_runtime-3.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page