AI Constitution — Govern your AI assistant with a personal constitution.
Installable. Portable. Auditable.

ai turns the personal AI Constitution (Constitution.md) into a product. Install it. Answer a guided interview. Have a personalized constitution governing every AI tool on your machine — within thirty minutes.

Install Read the spec →

Get started in one command

brew install convergent-systems-co/tap/ai

Then run ai setup — one command installs hooks, wires Claude Code / Copilot / Cursor, installs Claude plugins, and produces your personalized constitution.

Full installation instructions →

Why a personal AI constitution?

CLI surface

ai setup, ai review, ai doctor, ai sync, ai restore, ai mode, ai profile, ai persona, ai skills, ai hooks, ai settings, ai issue file — every verb from the spec is on a single binary.

Bubble Tea wizard

A guided interview that produces a personalized Constitution.md with no fabrication. Every question offers presets, a free-text answer, or a "chat with the assistant" handoff.

Atoms ecosystem

Personas, profiles, skills, and brand identity are versioned, immutable, content-addressable atoms — fetched from four public registries (persona-atoms.com, profile-atoms.com, skill-atoms.com, brand-atoms.com) and cached locally.

Cross-tool enforcement

ai wrap — the cross-platform command dispatcher — enforces governance at the command layer (git, gh, opt-in terraform / kubectl) on macOS, Linux, and Windows. Blocking hooks fail closed; bypass via absolute path leaves an auditable gap.

Audit by default

Every override, every self-noticed violation, every focus change leaves a permanent typed record under ~/.ai/audit/. Local-only. Never synced raw.

Self-repairing

ai doctor --fix detects and repairs the predictable failure modes — missing compact form, stale CLAUDE.md include, Python App Execution Alias stubs on Windows, missing blocking hooks — without conversation.

The science behind constitutional AI governance

These four Anthropic papers ground the design of aiConstitution in peer-reviewed research rather than convention.

v1.4.4 — production ready

The CLI binary, hook library, and atom registries are live and cross-platform (macOS, Linux, Windows ARM64). The authoritative spec is current at v1.0.0-draft. Source lives at github.com/convergent-systems-co/aiConstitution.