Skip to main content

core-cli

The consumer command-line tool for CORE: review and approve proposals, run checks and fixes on the repository CORE governs, onboard a repository (BYOR), and work the assisted remediation lane. Its binary is called core.

core-cli is an HTTP client and nothing more. Every command talks to a running CORE API, using only the routes in CORE's published OpenAPI contract; it does not install or import CORE. The operator tool, core-admin, ships separately in core-runtime and covers the CORE installation itself: secrets, vector store, database sync (which one do I need?).

Prerequisites

  • Python 3.12+
  • A reachable CORE API, which itself needs PostgreSQL and Qdrant. See CORE's getting started.

No authentication. OSS CORE runs in trusted-localhost mode: the API binds to loopback and accepts every request. Anyone who can reach it can approve and execute proposals. Keep it on 127.0.0.1 and do not expose it on a shared network.

Install

pip install core-cli

Its only dependencies are typer, rich, httpx and PyYAML.

Configure

core uses http://127.0.0.1:8000 unless you point it elsewhere:

export CORE_API_URL=http://127.0.0.1:8000

On the machine running CORE, core can use CORE's Unix socket instead of TCP. On that socket the kernel tells CORE who is calling; over TCP it cannot:

export CORE_API_URL=unix:///run/core/api.sock

Use

core proposals list                 # proposals awaiting a decision
core proposals show <id>            # risk assessment and planned changes
core lane list                      # delegated findings waiting for assisted remediation
core project onboard <path>         # preview delivering the machinery floor (BYOR)
core project onboard <path> --write # deliver it
core <group> <command> --help       # options for any command

Commands that change files or data preview by default and act only with --write.

Commands

Group What it covers
proposals list, show, create, approve, reject, execute, integrate
lane list, next, claim, propose: assisted remediation of delegated findings
project onboard, scout, promote: bring a repository under governance (BYOR)
code quality and verification: lint, format, test, check-imports, audit-duplicates, …
symbols audit, fix-ids, resolve-duplicates
vectors query: semantic search over the governed repository

Every command, option and default is in the generated core command reference.

Architecture

The split between the consumer CLI (core) and the operator CLI (core-admin) is recorded in ADR-146: core covers operations on the repository CORE governs; core-admin covers the CORE installation. tests/test_contract.py checks every route this client calls against CORE's OpenAPI contract.

License

MIT. See LICENSE.

Metadata

Release files for core-cli 2.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-cli 2.1.0
File Size Uploaded
core_cli-2.1.0.tar.gz 37.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for core-cli 2.1.0
File Interpreter ABI Platform
core_cli-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 83.8 kB

Release files / core_cli-2.1.0.tar.gz

Download URL core_cli-2.1.0.tar.gz
Size 37.2 kB
Tags Source
SHA-256 checksum
How to use checksums
600f29cc599fda541f7d494ff9e1ffbf74f588230e467c06d5468644f8fa6d2e
BLAKE2b-256 checksum
How to use checksums
dcb7b6f5293f102509551a06f44f483baaee2077c870f1ddc88562a81baaec1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 10, 2026.

Transparency log

Release files / core_cli-2.1.0-py3-none-any.whl

Download URL core_cli-2.1.0-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3d8665f755a3dd0016a0c759bd04300292056d42e2aa8c69159c5f2e30df158
BLAKE2b-256 checksum
How to use checksums
80a16a64d2d1b1bf79f959566c261498db1c66a17ec9de6014397d73762e3fe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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