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.6.4-py3-none-win_amd64.whl (41.6 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

relic_cli-0.6.4-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.6.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: relic_cli-0.6.4-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.6.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 de58554a5e9edae116e0a3e756616bf0213ebbd9539888c1ce37d3c931f3374c
MD5 116bbf8e26724ca851728796c7d56bef
BLAKE2b-256 6078773fcfae6f6f6a7844a8c45621a369b04ec177bbd8c10af6e2cc7632d8ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.6.4-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.6.4-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for relic_cli-0.6.4-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d9035d8e248dac2a24539a4accf03b94d09d0647edd787d159f23d94a9759816
MD5 7caa81b3b3bff00066db1ad5949ee8de
BLAKE2b-256 58b747be0b3ac871d8c765a2e6b1eebd9c119ee9bf1e5bc310cd409a914a7aea

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.6.4-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.6.4-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for relic_cli-0.6.4-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cd426cf75f39d3b949f03dc86b3f2e795d3063538bcb9c33674d366614d92a12
MD5 7295faa7e50009709afdf1161c6e95a2
BLAKE2b-256 ea786ec509788fd5a736ead67466304868e97e2c0e5e5c969c5597928199c907

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.6.4-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.6.4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for relic_cli-0.6.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 076af4753f8e9cf8c99779f772bd47d55dcbb61540084f9f0735a7fc147a3b59
MD5 7a2ddc472bb06bdc93a078a3e495c099
BLAKE2b-256 60a45659d8cf1617384ed5a9f2b9df053e14cd49a538dbce30f3843d42c899c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.6.4-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.6.4-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for relic_cli-0.6.4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 83c4bffc7843bee2479a3a2bc2d39b1252fb9e41114c5e00125dc507d62e6dda
MD5 e4abae26eddc8453c998dbdadd7bccdc
BLAKE2b-256 f5b63b4a40455e2ebf4d46da4c55f54a0d37d862c63acd9c4e57ae76681daa80

See more details on using hashes here.

Provenance

The following attestation bundles were made for relic_cli-0.6.4-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