httpYac
$ httpyac Community Low RiskhttpYac (AnWeber/httpyac) executes standard .http and .rest files across HTTP, GraphQL, gRPC, WebSockets, MQTT, and AMQP from the terminal or CI (httpyac send req.http --all). Supports --json, -o output selection, --junit, --bail, --filter, and environment files.
npm install -g httpyac httpyac runs multi-protocol .http files (REST, GraphQL, gRPC, WebSockets) with --json and --junit assertions directly against local or staging services.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Fully non-interactive CLI (httpyac send) with --json, --junit, --bail, --filter, -n <name>, and -o <output> formatting.
- Supports
--json,--junit,--bail, and--filter - Targets single named requests (
-n) or full files (--all)
Environment scoping via --env and transparent .http files help safety, though .http files can execute embedded JS scripts and lack --dry-run.
- Supports
.env/http-client.env.jsonenvironment isolation - No
--dry-runflag;.httpscripts run arbitrary JS
Cross-platform npm package (httpyac / npx httpyac) requiring Node.js.
- Installable via
npm install -g httpyacornpx httpyac
Covers HTTP, GraphQL, gRPC, WebSockets, SSE, and OAuth2 in plain .http files compatible with VS Code and JetBrains.
- Multi-protocol execution (HTTP, GraphQL, gRPC, WebSocket) from
.httpfiles
Popular MIT community project (AnWeber/httpyac) widely used alongside VS Code REST workflows.
- MIT-licensed
AnWeber/httpyacrepository
Comprehensive guide at httpyac.github.io covering protocols, variables, and CLI flags.
- Official docs at httpyac.github.io/guide/
Security, Auth & Guardrails
Reads environment variables from .env or httpyac.config.js / http-client.env.json alongside .http files.
MIT open-source Node.js CLI; completely free.
# httpYac (httpyac) Agent Rules
- Always pass `--json` (or `-o body`) and target specific blocks with `-n <name>` or `--all`.
- Review `.http` files for embedded JavaScript hooks (`{{ ... }}`) and mutating verbs before running `--all`.
- Use `--env <env>` explicitly to avoid hitting production variables. Agent-Ready Command Recipes
Safe Read-Only Queries
httpyac send requests.http --all --json --env dev
Executes every request in requests.http using the dev environment and outputs structured JSON.
httpyac send requests.http -n getHealth --json
Targets a single # @name getHealth block inside requests.http and prints JSON output.
Controlled Writes & Previews
httpyac send tests.http --all --bail --junit > report.xml
Executes .http requests, stops on first assertion failure (--bail), and writes JUnit XML.
Strengths for Agents
- + Native
--json,--junit,--bail, and-n <name>make.httpfiles first-class CI and agent test artifacts. - + Supports HTTP, GraphQL, gRPC, and WebSockets in one familiar file format.
Caveats & Pitfalls
- ! Embedded JS script blocks inside untrusted
.httpfiles execute locally with Node permissions. - ! No
--dry-runflag to preview interpolated requests without sending them.