Envoy
$ envoy Foundation Med RiskEnvoy (envoy) is the high-performance C++ L7 proxy powering Istio, Contour, and Envoy Gateway. For coding and infra agents, its key CLI capability is envoy --mode validate -c envoy.yaml, which validates bootstrap and static/xDS configs and exits cleanly without opening sockets.
brew install envoy Running envoy --mode validate -c <file> executes real Envoy protobuf schema and filter validation locally without needing any server or MCP.
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
--mode validate provides deterministic exit-code validation (0 on OK, 1 on schema error), though CLI output is plain text rather than JSON.
envoy --mode validate -c envoy.yamlexits cleanly after validation- Validation diagnostics are text-based, not JSON
--mode validate performs zero network binds or cluster writes, making config verification safe in sandboxes.
--mode validateparses config without opening listening sockets
Available via Homebrew on macOS/Linux and official Linux packages/containers, though the C++ binary is large and Linux-first.
- Available via
brew install envoyand official Docker/apt packages
Irreplaceable for catching subtle Envoy protobuf/filter typos locally before deploying to Kubernetes or VMs.
- Validates exact compiled Envoy C++ extension schemas
CNCF Graduated project (envoyproxy/envoy) under Apache-2.0 with industry-wide backing.
- CNCF Graduated
envoyproxy/envoyrepository
Thorough CLI flags reference and --help output.
- Official CLI reference at envoyproxy.io/docs/envoy/latest/operations/cli
Security, Auth & Guardrails
Reads bootstrap configuration and TLS/SDS secrets referenced from -c <envoy.yaml> or --config-yaml.
Open-source CNCF Graduated project (Apache-2.0) and completely free.
# Envoy Agent Rules - Always pass `--mode validate -c <path>` when testing Envoy configs so the binary exits immediately instead of binding ports. - Never run `envoy` in default `--mode serve` inside a short-lived agent command.
Agent-Ready Command Recipes
Safe Read-Only Queries
envoy --mode validate -c envoy.yaml
Parses and validates listeners, clusters, and typed filter configs, printing OK and exiting 0 without binding ports.
envoy --version
Outputs the Envoy release version and build metadata.
Strengths for Agents
- +
--mode validate -c <file>catches typed extension and filter schema errors without starting listeners. - + Supports
--log-formatcustomization for structured log pipelines. - + CNCF Graduated standard data plane across major service meshes.
Caveats & Pitfalls
- ! Validation errors are printed as plain text rather than machine-readable JSON.
- ! Default
--mode serveblocks as a long-running proxy daemon if--mode validateis omitted.