Skip to main content

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.

Metadata

Release files for claude-code-harness 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-code-harness 1.2.0
File Size Uploaded
claude_code_harness-1.2.0.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-code-harness 1.2.0
File Interpreter ABI Platform
claude_code_harness-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / claude_code_harness-1.2.0.tar.gz

Download URL claude_code_harness-1.2.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7666e5f86e050c6632872b14b9e1ef80b213a517431ba177104bdae3a0bd4993
BLAKE2b-256 checksum
How to use checksums
0b1d958407df9af6e91ec8098531dc5fb0ed61265bba416ab91a01ad94c7c646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / claude_code_harness-1.2.0-py3-none-any.whl

Download URL claude_code_harness-1.2.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ee28ca98d749378c4003a5d7e9a247eade0e21fc29539afb93d1ca63d045f8e
BLAKE2b-256 checksum
How to use checksums
89b7278642f0d0d93225b23c1a25b93d2dd45cf459fcd1b5a294582d4242e4f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page