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

Hurl

$ hurl Official Med Risk
Orange OpenSource · Browser & Web · Apache-2.0 · macos / linux / windows

Hurl executes chained HTTP requests written in readable .hurl plain-text files with built-in status, header, JSONPath, and XPath assertions. With --test and --report-json, coding agents get crisp pass/fail CI verification for REST APIs.

FCRS-1.0 Score
93 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install hurl
CLI vs MCP Decision CLI Only

Deterministic .hurl integration test suites run directly in shell/CI loops with zero MCP token 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 24 / 25

Offers --json, --report-json, --test, --no-color, --glob, and deterministic exit codes tailored for automated verification loops.

  • Native --json, --test, --report-json, and --no-color flags
Trust & Safety 22 / 25

Provides --secret to redact credentials from logs and --max-time timeouts; .hurl files remain human-readable plain text.

  • Dedicated --secret flag automatically masks secret values in output
Setup & Portability 14 / 15

Single Rust binary (backed by libcurl) distributed via brew, cargo, npm, and official release archives.

  • Cross-platform binary via Homebrew, Cargo, npm, and GitHub Releases
Utility & Efficiency 15 / 15

Combines curl-level speed with declarative JSONPath captures and assertions in tiny plain-text files.

  • Declarative multi-step HTTP chaining with jsonpath assertions
Maintenance & Lineage 9 / 10

Actively maintained by Orange OpenSource under Apache-2.0.

  • Official Orange-OpenSource/hurl repository
Docs & Verifiability 9 / 10

Outstanding official docs, tutorials, and man pages at hurl.dev.

  • Official documentation at hurl.dev/docs

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Injected per-run via --variable or --variables-file / environment variables; Hurl stores no credentials on its own.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free, Apache-2.0 open-source Rust binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Hurl Agent Rules
- Always pass `--test --no-color` for test runs and `--secret name=val` for tokens so secrets are auto-redacted.
- Inspect `.hurl` files before running them against non-local environments, as entries can execute `POST`/`DELETE` sequences.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run an API assertion suite with JSON output
hurl --test --no-color --report-json ./reports tests/health.hurl

Executes assertions in tests/health.hurl and writes machine-readable JSON reports.

Fetch an endpoint and print structured JSON response
hurl --json tests/get-user.hurl

Outputs the full HTTP transaction, timings, and response body as JSON.

Controlled Writes & Previews

Run parameterized API tests with injected token
hurl --test --no-color --secret token="$API_TOKEN" tests/write-flow.hurl

Passes --secret so sensitive variable values are redacted from logs and error traces.

Strengths for Agents

  • + Native --json and --report-json emit clean, structured diagnostics for agent test loops.
  • + --secret redacts API keys automatically in stdout and reports.
  • + Plain-text .hurl files are effortless for LLMs to author, diff, and review.

Caveats & Pitfalls

  • ! Requires learning the .hurl file syntax rather than one-liner flags.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI