Skip to main content

Claude Code Harness (CCH) — Claude Code substrate adapter for AI King ecosystem (MIT)

Project description

claude-code-harness

Claude Code substrate adapter for the AI King agent governance ecosystem — wires AI King's guards / hooks / ZIQ retrieval into Claude Code's hook + skill + settings layers without forcing AGPL obligations onto your private hook scripts.

Install

pip install "aiking[cch]"
# or directly:
pip install claude-code-harness

What this adapter does

Claude Code already ships its own substrate primitives (hook system, skill registry, MCP, settings JSON). claude-code-harness bridges those primitives to the AI King engine (aiking-core) so you get:

  • AI King's red/blue Opus dispatch chain available from Claude Code hook handlers
  • ZIQ router + FieldRead RAG accessible from any Claude Code Skill
  • Shared FEATURE_META / config / state_store across Claude Code sessions and other substrates running CCH-compatible agents

Why MIT (not AGPL)

The engine (aiking-core) is AGPL-3.0-or-later because mass distribution of the engine itself is what AI King protects. The substrate adapter — this package — is MIT so corporate / closed-source adopters can integrate without auditing their own settings JSON for AGPL-incompatible terms.

License

MIT. See LICENSE.

Phase 2 status (2026-05-12)

This package is a namespace placeholder during Phase 2 of the AI King rebrand. Public API stubs (register_hooks, settings_snippet, skill_loader) land in Wave UH-3b once the remaining governance modules finish migrating into aiking-core.

Track progress via _AI_BRAIN/05_Planning/aiking-master-plan-v1-2026-05-12.md §2 thread A3 / A5.

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

claude_code_harness-1.2.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

claude_code_harness-1.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_harness-1.2.0.tar.gz.

File metadata

  • Download URL: claude_code_harness-1.2.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for claude_code_harness-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7666e5f86e050c6632872b14b9e1ef80b213a517431ba177104bdae3a0bd4993
MD5 016ef645712c267a4cc228c9dea649f3
BLAKE2b-256 0b1d958407df9af6e91ec8098531dc5fb0ed61265bba416ab91a01ad94c7c646

See more details on using hashes here.

File details

Details for the file claude_code_harness-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_code_harness-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ee28ca98d749378c4003a5d7e9a247eade0e21fc29539afb93d1ca63d045f8e
MD5 31acb6e4453ea20d7ef6c81858428a25
BLAKE2b-256 89b7278642f0d0d93225b23c1a25b93d2dd45cf459fcd1b5a294582d4242e4f8

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