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

Traefik

$ traefik Official Med Risk
Traefik Labs · Cloud & Infra · MIT · macos / linux / windows

Traefik (traefik) is a Go-based edge router and ingress controller with automatic ACME TLS and dynamic service discovery (Docker, Kubernetes, Consul). While primarily a long-running proxy daemon, its CLI exposes traefik version, traefik healthcheck, and static CLI configuration flags including --log.format=json and --accesslog.format=json.

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

traefik is a proxy runtime binary rather than an API control client; agents invoke version/healthcheck or edit static/dynamic YAML configs.

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 16 / 25

Daemon logs support --log.format=json and --accesslog.format=json, but the CLI itself has minimal subcommands (version, healthcheck) and no config-lint --dry-run mode.

  • Only version and healthcheck are short-lived subcommands; bare traefik starts the foreground server
  • Supports --log.format=json and --accesslog.format=json
Trust & Safety 20 / 25

version and healthcheck are safe read-only checks, though launching traefik directly binds ports and requests ACME certificates if configured.

  • No --validate or --dry-run config check subcommand
  • Safe version and healthcheck subcommands
Setup & Portability 15 / 15

Single static Go binary available via Homebrew and GitHub Releases for macOS, Linux, and Windows.

  • Zero-dependency static binary across macOS, Linux, and Windows
Utility & Efficiency 10 / 15

Essential runtime binary for ingress/routing, though agents mostly edit YAML configs or query the Traefik HTTP API rather than driving the CLI.

  • CLI scope is limited to daemon flags, version, and healthcheck
Maintenance & Lineage 9 / 10

First-party official binary from Traefik Labs (traefik/traefik) under MIT license.

  • Official traefik/traefik MIT repository
Docs & Verifiability 8 / 10

Thorough static CLI reference documentation at doc.traefik.io.

  • Published CLI flag reference at doc.traefik.io

Security, Auth & Guardrails

Auth Modes
No Auth Config File Env API Key
Credential Storage

Reads static config from traefik.yml/traefik.toml, CLI flags, or TRAEFIK_* env vars; ACME certificates are stored in acme.json.

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

MIT open-source core; Traefik Hub/Enterprise adds commercial gateway and cluster control features.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Traefik Agent Rules
- Never run bare `traefik` inside an agent tool call without a background supervisor or timeout, as it blocks as a foreground proxy server.
- Use `traefik version` or `traefik healthcheck` for non-blocking diagnostics; enable `--log.format=json` when capturing daemon logs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check running Traefik ping health endpoint
traefik healthcheck --ping

Probes the local Traefik /ping endpoint and exits 0 if healthy (requires ping enabled).

Print Traefik build version and Go runtime info
traefik version

Outputs version, commit codename, Go version, and OS/arch without starting a server.

Strengths for Agents

  • + Zero-dependency single Go binary with --log.format=json and --accesslog.format=json structured logging.
  • + traefik healthcheck provides a native non-interactive liveness probe.
  • + Comprehensive static flag parity with traefik.yml and TRAEFIK_* environment variables.

Caveats & Pitfalls

  • ! Lacks a built-in config validation or --dry-run subcommand before starting the proxy.
  • ! Invoking traefik without version or healthcheck runs a blocking foreground server.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI