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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| claude_code_harness-1.2.0.tar.gz | 10.7 kB | Without provenance | Details for claude_code_harness-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| claude_code_harness-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for claude_code_harness-1.2.0-py3-none-any.whl |
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
|
Security for claude-code-harness 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.