Evans
$ evans Community Med RiskEvans (ktr0731/evans) offers both an interactive gRPC REPL and a Unix-friendly --cli mode that streams JSON inputs from files or stdin and emits JSON responses. It also supports gRPC-Web and mTLS.
brew install evans Stateless evans --cli mode pipes JSON cleanly in scripts; avoid launching its interactive REPL inside agent terminals.
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
Stateless --cli mode accepts JSON stdin/--file and prints JSON, but bare evans drops into a blocking interactive REPL.
--climode supports JSON stdin/stdout; default mode enters REPL
No credential persistence; TLS requires -t/--tls while plaintext is common in local mode unless configured.
- Stateless per-call headers and TLS certificate flags
Go binary via brew (tap or core) and GitHub Releases, though Homebrew tap (ktr0731/evans) or Go install may be needed on some setups.
- Go binary available via Homebrew and GitHub Releases
Handy gRPC-Web support alongside standard gRPC reflection and .proto loading.
- Supports gRPC, gRPC-Web, and server reflection
Community project ktr0731/evans under MIT license; slower release cadence than grpcurl.
ktr0731/evansGitHub repository
Good README covering both REPL and CLI modes.
- README documents
--cli,--reflection, and--web
Security, Auth & Guardrails
Accepts --header metadata and TLS cert flags per command; stores no credentials.
Free, MIT open-source Go binary.
# Evans Agent Rules - Always pass `--cli` (or `cli` subcommand); bare `evans` launches an interactive REPL that hangs non-TTY agent shells. - Prefer `grpcurl` for quick reflection inspection unless you specifically need gRPC-Web support.
Agent-Ready Command Recipes
Safe Read-Only Queries
echo '{"name":"world"}' | evans --cli --reflection --host localhost --port 50051 call helloworld.Greeter.SayHello Uses --cli non-interactive mode with server reflection (--reflection) and JSON stdin.
Controlled Writes & Previews
evans --cli --proto api.proto --host localhost --port 50051 --file payload.json call Service.MutateItem
Reads request JSON from --file using local .proto definitions.
Strengths for Agents
- + Supports
--webfor gRPC-Web endpoints in addition to standard gRPC. - +
--climode reads JSON from stdin or--fileand writes JSON to stdout.
Caveats & Pitfalls
- ! Default invocation enters an interactive REPL that hangs non-TTY agents unless
--cliis passed. - ! Older maintenance pace compared to
grpcurl.