Halo host adapter for the Claude Agent SDK (Python): a PostToolUse encode hook plus in-process halo_walk / halo_fetch MCP tools. install_halo() wires it in one call.
Project description
halo-format-claude
Halo host adapter for the Claude Agent SDK
(Python). install_halo() wires it in one call:
- a PostToolUse encode hook that replaces a large tool result with a halo shape map (root kind + one line per field: ref, kind, and a bounded preview), so the payload stays out of the model's context while it still sees what's there;
- a single in-process
halo_fetchMCP tool the model uses to pull back only the leaves it needs, verified on read — a ref that lands on a branch returns that branch's sub-refs, so one batch API both pulls and expands (there is no separatehalo_walk).
from claude_agent_sdk import ClaudeAgentOptions, query
from halo_format_claude import install_halo
result = install_halo(ClaudeAgentOptions(...))
# pass result.options to query(); result.session holds the shared store for audit/inspection
The encode hook is deterministic plumbing (it always fires, even for built-in tools); the Halo Skill
is the navigation guidance. Pass store=FileStore(dir) for the heavy/persistent deployment. The
core engine is halo-format; this package is only the shim.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file halo_format_claude-0.1.0.tar.gz.
File metadata
- Download URL: halo_format_claude-0.1.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b1ecd1d7bfbb6b00570bbe555105f99b9027bb385877438b672b2ef02c1f5aa
|
|
| MD5 |
612ecc1692dff92451ff2cbe10c563dd
|
|
| BLAKE2b-256 |
c463bf80c3f377faf04598a5ae5b52943f42778d79733a74e292d6e4a0bd36cc
|
Provenance
The following attestation bundles were made for halo_format_claude-0.1.0.tar.gz:
Publisher:
publish-python-claude.yml on halo-format/halo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
halo_format_claude-0.1.0.tar.gz -
Subject digest:
1b1ecd1d7bfbb6b00570bbe555105f99b9027bb385877438b672b2ef02c1f5aa - Sigstore transparency entry: 1731625160
- Sigstore integration time:
-
Permalink:
halo-format/halo@19e5b34de09eb36c36d863f0583d086123f0a2b9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/halo-format
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-claude.yml@19e5b34de09eb36c36d863f0583d086123f0a2b9 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file halo_format_claude-0.1.0-py3-none-any.whl.
File metadata
- Download URL: halo_format_claude-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
247702aa94ea5c897028b9addfdf90a2b3ad4bc6f44cfe059fa557226caac6ee
|
|
| MD5 |
15940611a8db2a3a6e933e999e9e03da
|
|
| BLAKE2b-256 |
acf07efe1a909c7e51a7b0029a65c28890ab0a8af87026ccd2414ec422157f81
|
Provenance
The following attestation bundles were made for halo_format_claude-0.1.0-py3-none-any.whl:
Publisher:
publish-python-claude.yml on halo-format/halo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
halo_format_claude-0.1.0-py3-none-any.whl -
Subject digest:
247702aa94ea5c897028b9addfdf90a2b3ad4bc6f44cfe059fa557226caac6ee - Sigstore transparency entry: 1731625310
- Sigstore integration time:
-
Permalink:
halo-format/halo@19e5b34de09eb36c36d863f0583d086123f0a2b9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/halo-format
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-claude.yml@19e5b34de09eb36c36d863f0583d086123f0a2b9 -
Trigger Event:
workflow_run
-
Statement type: