Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

hey

$ hey Community Med Risk
Jaana Dogan (rakyll) · Browser & Web · Apache-2.0 · macos / linux / windows

hey replaces ab (ApacheBench) with a single-binary Go HTTP/1.1 & HTTP/2 load generator. It prints clean latency histograms, percentiles, and status distributions—or -o csv for scripted parsing.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install hey
CLI vs MCP Decision CLI Only

Fast, bounded CLI load probes (-n, -c, -z) run natively in shell without MCP overhead.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Clean non-interactive stdout with zero ANSI noise and -o csv export, though it lacks native --json output (unlike oha or vegeta).

  • Plain text summary and -o csv structured export; no JSON output
Trust & Safety 21 / 25

Bounded by -n (default 200) or -z, though careless high -c/-n values can stress remote targets.

  • Defaults to finite 200 requests (-n 200, -c 50)
Setup & Portability 15 / 15

Single static Go binary available via Homebrew, apt, and go install.

  • Zero-dependency Go binary across macOS, Linux, Windows
Utility & Efficiency 13 / 15

Fast smoke-benchmarking with latency percentiles (10%..99%) and status code breakdown.

  • Latency histogram, percentile distribution, and CSV mode
Maintenance & Lineage 8 / 10

Classic rakyll/hey OSS tool (Apache-2.0), though largely feature-complete with infrequent updates.

  • rakyll/hey repository under Apache-2.0
Docs & Verifiability 9 / 10

Concise --help and README covering every flag.

  • Single-screen hey -h reference

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Accepts transient -H auth headers per run; stores no credentials.

Side Effects
Read-Only Remote Write
Cost & Quotas

Free, Apache-2.0 open-source Go binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# hey Agent Rules
- Always bound runs with `-n <requests>` or `-z <duration>` and `-t <timeout>`.
- Never run load tests against production or third-party URLs without explicit user authorization.

Agent-Ready Command Recipes

Safe Read-Only Queries

Bounded GET benchmark on a local endpoint
hey -n 200 -c 10 -t 5 http://localhost:8080/health

Sends 200 requests (-n 200) at concurrency 10 (-c 10) with a 5s per-request timeout.

Controlled Writes & Previews

Benchmark a POST API and export CSV latency samples
hey -n 100 -c 5 -m POST -T 'application/json' -d '{"ping":1}' -o csv http://localhost:8080/echo > bench.csv

Writes per-request timing rows (-o csv) to bench.csv for downstream analysis.

Strengths for Agents

  • + Safe finite default (-n 200) and instant Go binary startup.
  • + Readable latency percentile summary plus -o csv for post-processing.

Caveats & Pitfalls

  • ! No native JSON summary format (use oha or vegeta if JSON output is required).
  • ! Upstream repo receives minimal new development.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI