Skip to main content

Spec-driven development with a shared artifact layer

Project description

relic-cli

Spec-driven development with a shared artifact layer — Python / uv distribution.

Relic connects all your specs through a shared "brain" of domains, contracts, rules, and assumptions. Intersection detection between specs. Specs that stay alive through bug fixes.

This package ships a pre-compiled native binary — no Node.js or Python runtime required at execution time.


Install

uv tool install relic-cli

Or with pip:

pip install relic-cli

Getting started

cd my-project
relic init

# Open your AI agent (Claude Code, Copilot, Codex) and run:
# Existing codebase:  /relic.scan  then  /relic.constitution
# New project:        /relic.constitution  then  /relic.specify

CLI commands

Command Purpose
relic init [--engine claude|copilot|codex] [--dir] [--force] Scaffold .relic/ in your project
relic add-engine <engine> Add AI engine hooks to an existing project
relic use <spec-id> Set the active spec for this session
relic use --fix <fix-id> Set the active fix (validates fix doc exists)
relic use --clear-fix Clear the active fix from session state
relic scan [--json] Output a project manifest for /relic.scan
relic context [--spec id] [--text] Resolve active spec; report file/artifact status and current_fix
relic scaffold [--title t|--spec id] Ensure spec folder exists; create from templates if new
relic validate [--text] Check artifact integrity and ownership conflicts
relic search <keywords...> Search shared artifact manifests by keyword tags
relic deep-search Return all manifest entries consolidated (tldr-first triage)

AI slash commands

Written to your agent's hooks directory by relic init:

Slash command Purpose
/relic.constitution Extract project-specific principles from the codebase
/relic.scan Bootstrap shared artifacts from existing code
/relic.specify Create a new spec
/relic.clarify Append details or change contracts
/relic.plan Create an implementation plan
/relic.analyse Non-destructive consistency check
/relic.tasks Generate tasks from the plan
/relic.implement Build the plan
/relic.fix Cross-spec ownership check + diagnosis → writes fix document
/relic.solve Apply the active fix document and close the fix
/relic.use Switch active spec or fix from inside the AI session

Platform support

Pre-compiled binaries are shipped for:

Platform Architecture
Linux x86_64, arm64
macOS x86_64 (Intel), arm64 (Apple Silicon)
Windows x86_64

Also available via npm

npm install -g relic-cli   # requires Node.js 18+
npx relic-cli init

Full documentation · Report an issue

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

relic_cli-0.8.0-py3-none-win_amd64.whl (41.6 MB view details)

Uploaded Python 3Windows x86-64

relic_cli-0.8.0-py3-none-manylinux_2_17_x86_64.whl (38.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

relic_cli-0.8.0-py3-none-manylinux_2_17_aarch64.whl (38.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

relic_cli-0.8.0-py3-none-macosx_11_0_arm64.whl (22.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

relic_cli-0.8.0-py3-none-macosx_10_9_x86_64.whl (25.0 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file relic_cli-0.8.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: relic_cli-0.8.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 41.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for relic_cli-0.8.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 50565fc954468670fd1b2f8e9d8e75eb7b006234d04014a7dbbaa8b2f55cf945
MD5 df37985e991aad57ac8d277a1e5bcbdc
BLAKE2b-256 0692a3c2d2fce1f2bcaf2250352e2b3dff8e631b80adb96c709e951f5b8c2599

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.8.0-py3-none-win_amd64.whl:

Publisher: publish-pypi.yml on filipefpaulo/relic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file relic_cli-0.8.0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for relic_cli-0.8.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4ce18e62cc1143d7e50fc64519e68049cf971993decd7157e25e0d8f394a4691
MD5 58d11351816f216fef919093d438d68d
BLAKE2b-256 94ca194218232f963d7c3b5a220a7c568adb5d276a21a28f03f9b44afe13877e

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.8.0-py3-none-manylinux_2_17_x86_64.whl:

Publisher: publish-pypi.yml on filipefpaulo/relic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file relic_cli-0.8.0-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for relic_cli-0.8.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cbe2bbc7937f967394c757bafbac59bab42221657f7b96c392cf8c71e13ef3ec
MD5 e72dd1ff08c25abd4b6d7e0f9b642350
BLAKE2b-256 5eec627e27e4264cbadda0830dfad8e81fa9eaee5da401372dabccab6bb129b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.8.0-py3-none-manylinux_2_17_aarch64.whl:

Publisher: publish-pypi.yml on filipefpaulo/relic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file relic_cli-0.8.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for relic_cli-0.8.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5df9d14638b834a2376bab5b914748ca1f02e3bec8cfdc56eb111db5eb5a48e6
MD5 b19ee025e9f2593ae84262b2fe50bbfa
BLAKE2b-256 ab0816123b257005d9f69dcc7bbda5122246e1ff8e6b7a44ad7a90976fa2f0bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.8.0-py3-none-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on filipefpaulo/relic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file relic_cli-0.8.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for relic_cli-0.8.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5cbb58d46cc5edb06285c9ed0a99e27acd2d51bc1313d39e5cecdd265bef791b
MD5 2a3a76887f4c45994abeef11d2eb1eb1
BLAKE2b-256 da75409d4b2f0186295e122331cc2ea83b5ceeb336eb0cbd6c029fa3118846bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.8.0-py3-none-macosx_10_9_x86_64.whl:

Publisher: publish-pypi.yml on filipefpaulo/relic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page