Skip to main content

AI governance layer. Local-first. Open source. Three layers: hard constraints, gradient decisions, self-audit.

Project description

Charter

AI governance layer. Local-first. Open source.

Three layers: hard constraints, gradient decisions, self-audit.

Install

pip install charter-governance

Quick Start

charter init                    # Create governance config + identity
charter generate                # Generate a CLAUDE.md with your rules
charter generate --format system-prompt  # Or a system prompt for any AI
charter audit                   # Run a governance audit
charter status                  # See everything at a glance

What It Does

Charter creates a governance framework for your AI. You define the rules. The AI follows them. The system audits itself.

Layer A: Hard Constraints. Things your AI must never do. No exceptions.

Layer B: Gradient Decisions. Actions that require human judgment above certain thresholds.

Layer C: Self-Audit. The system reviews what it did and reports honestly.

Domain Templates

Charter ships with governance presets for:

  • Healthcare (HIPAA-aware, clinical safety)
  • Finance (compliance-focused, transaction controls)
  • Education (FERPA-aware, student protection)
  • General (universal governance baseline)

Identity

Charter creates a pseudonymous identity backed by a hash chain. Every action is signed and recorded. When you're ready, link your real identity and all prior work transfers to you. The chain is the proof.

charter identity              # View your identity
charter identity verify       # Link real identity (authorship transfer)
charter identity proof        # Generate a signed transfer proof

Contexts

Separate work and personal knowledge with governed boundaries.

charter context create personal
charter context create work --type work --org "Your Org" --email you@org.com
charter context bridge personal --target work --policy read-only
charter context approve <bridge_id>     # Both parties must consent
charter context revoke <bridge_id>      # Either party can revoke

Knowledge does not flow between contexts by default. Bridging requires explicit consent from both sides.

Identity Verification

Upgrade your pseudonymous identity with government ID verification via Persona or ID.me.

charter verify configure persona    # Set up Persona API credentials
charter verify start                # Open browser for ID verification
charter verify check <inquiry_id>   # Check verification status
charter verify status               # See configured providers

Free tier: 500 verifications per month via Persona. No credit card required.

Network

Connect to the network. Register your expertise. Record contributions.

charter connect init                          # Create your node
charter connect source "My Data" shopify      # Register data sources
charter connect contribute "Title" governance # Record contributions
charter connect formation "Name"              # Recognize who shaped you

Philosophy

The value of AI is not in the tokens. Tokens are going to zero. The value is in the humans who provide judgment, context, and ethics. Charter is the governance layer that makes human judgment enforceable on AI systems.

Open source because we don't need more rent seekers. We need human creativity to thrive while being accountable for what it creates.

License

Apache 2.0

Project details


Download files

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

Source Distribution

charter_governance-0.4.0.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

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

charter_governance-0.4.0-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file charter_governance-0.4.0.tar.gz.

File metadata

  • Download URL: charter_governance-0.4.0.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for charter_governance-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a6add9872c0611f0d22dee7c8eacf1d1d17d6c05b5484657b58649e829a8965d
MD5 d911a362fe2aacd9ddc4bf4da15f90f7
BLAKE2b-256 c75c3fe9f48691996655f3f32b166c3ee23aed2d404bd6bfc0546ae4bcd1323f

See more details on using hashes here.

File details

Details for the file charter_governance-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for charter_governance-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9bc718b22d29868e8a47e44448a4a710e69ab11e4919d1bc4ef73444f00e8ec5
MD5 4865533032bafe5760de9b11ba2a43ed
BLAKE2b-256 1fc8c4c02c43265f4641e3c5643b2b8dc877b180a1f5287611b1a241bb4aa2d7

See more details on using hashes here.

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