A
responsibleai/agent-hooks★ 31 · Rust
Cross-language SDK and conformance kit for enforcing agent controls across hosts
MIT · Commercial Friendly
Side-by-side 2026 comparison in Coding, Skills & MCP: headroomlabs-ai/headroom leads both total GitHub adoption (★ 81.5k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Cross-language SDK and conformance kit for enforcing agent controls across hosts
Local context compression for LLMs via a Python library, proxy, and MCP server
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | responsibleai/agent-hooks | headroomlabs-ai/headroom |
|---|---|---|
| Total GitHub Stars | ★ 31 | ★ 81,468 |
| 24h / 7d Velocity | +0 / +1 | +43 / +455 |
| 7-Day Trend Curve | ||
| Engineering Health | A · 80/100 | A+ · 96/100 |
| Deployment Signals | API | Docker · Self-Hosted · Local AI · CLI · MCP · API |
| Primary Language | Rust | Python |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | Rolling commits (main) | v0.45.0 |
| Best For | Framework, runtime and gateway teams that control their agent loops and need consistent policy, approval and rewrite behavior across multiple hosts | Coding agents and LLM applications where repeated JSON tool results, logs, or search hits dominate input tokens, especially when you need recoverable originals or a common preprocessing layer across clients |
tool_call.args; a post-tool transform targets tool_result.value; lifecycle points have no rewrite target.from agent_hooks import HostRegistry, HostSurface, InterceptionEmitter registry = ( HostRegistry( HostSurface.from_capabilities( ["model_calls", "tool_calls", "int64_json", "host_declaration"] ) ) .kind("com.example.egress", lambda config, ctx: EgressGuard(**config)) .kind("com.example.audit-log", lambda config, ctx: AuditLog(**config)) .approval_resolver("operator-queue", OperatorQueue()) .approval_redactor("strip-secrets", strip_secrets) ) emitter = InterceptionEmitter.from_declaration_path("agent-hooks.declaration.json", registry)
headroom_retrieve within the configured TTL.compress() settings show 21–57% fewer input tokens across four scenarios.pip install headroom-aiSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy