← All Comparisons (/vs)
HEAD-TO-HEAD TECHNICAL COMPARISON (2026)

agent-hooks vs OpenSpec

Side-by-side 2026 comparison in Coding, Skills & MCP: Fission-AI/OpenSpec leads both total GitHub adoption (★ 76.4k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.

Cumulative Star Gain Chart (Embeddable SVG)

Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.

agent-hooks vs OpenSpec — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM agent-hooks ★ 31 (+1/7d) OpenSpec ★ 76.4k (+468/7d) +1k +502 0 11-21 11-28 12-04 (D1 snapshot)
responsibleai/agent-hooks (Health A 80/100) vs Fission-AI/OpenSpec (Health A+ 96/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensionresponsibleai/agent-hooksFission-AI/OpenSpec
Total GitHub Stars★ 31★ 76,373
24h / 7d Velocity+0 / +1+20 / +468
7-Day Trend Curve
Engineering HealthA · 80/100A+ · 96/100
Deployment SignalsAPICLI
Primary LanguageRustTypeScript
Commercial LicenseMIT · Commercial FriendlyMIT · Commercial Friendly
ActivityUpdated todayUpdated today
Latest ReleaseRolling commits (main)v2.3.0
Best ForFramework, runtime and gateway teams that control their agent loops and need consistent policy, approval and rewrite behavior across multiple hostsDevelopers and teams that want reviewable requirements, design decisions, and implementation tasks alongside an existing codebase without switching coding assistants. Pilot beta Stores when one feature routinely spans several repositories
Maintaining agent-hooks, OpenSpec, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

agent-hooks · Highlights & Quickstart

Interception surface: Eight points span session startup and shutdown, input and output, and both sides of model and tool calls.
Scoped rewrites: A pre-tool transform targets tool_call.args; a post-tool transform targets tool_result.value; lifecycle points have no rewrite target.
Cross-language parity: Python, TypeScript and Go bind the Rust core; managed .NET 8 implements the contract independently and is checked against shared fixtures.
Composition: Four sequential or parallel profiles define how multiple verdicts combine; each interception record identifies the active profile.
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)

OpenSpec · Highlights & Quickstart

Integration: The TypeScript openspec CLI configures skills for 30+ coding tools rather than exposing an MCP endpoint in the documented workflow.
Change layout: openspec/changes/<change>/ groups proposal.md, specs/, design.md, and tasks.md for review.
Specification format: Plain Markdown requirements use concrete WHEN/THEN scenarios; archiving updates the main specs.
Cross-repo planning: Beta Stores keep shared specs and changes in a separate Git repository, with read-only references for consumers.
curl -fsSL https://openspec.dev/cli/install.sh | sh

agent-hooks vs OpenSpec FAQ

How do agent-hooks and OpenSpec differ on commercial licensing?

responsibleai/agent-hooks uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas Fission-AI/OpenSpec uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.).

Which is growing faster in 2026: agent-hooks or OpenSpec?

According to RepoForAI's 6-hour GitHub telemetry, agent-hooks has 31 stars (+1 in 7d) vs. OpenSpec with 76,373 stars (+468 in 7d).

When should engineering teams pick agent-hooks vs OpenSpec?

Choose agent-hooks (Rust) for: Framework, runtime and gateway teams that control their agent loops and need consistent policy, approval and rewrite behavior across multiple hosts. Choose OpenSpec (TypeScript) for: Developers and teams that want reviewable requirements, design decisions, and implementation tasks alongside an existing codebase without switching coding assistants. Pilot beta Stores when one feature routinely spans several repositories.

More Head-to-Head Comparisons

WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare