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

zrok

$ zrok Official High Risk
OpenZiti · Browser & Web · Apache-2.0 · macos / linux / windows

zrok provides peer-to-peer private and public HTTP/TCP/UDP/file sharing built on OpenZiti zero-trust overlays (zrok share public, zrok share private). Supports --headless non-TUI sharing, zrok overview JSON inventory output, and --basic-auth or OAuth frontends for safer exposure.

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

Manages local OpenZiti zero-trust identity sockets and tunnels (zrok share, zrok access); MCP servers cannot establish peer-to-peer overlay tunnels.

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

Emits JSON from zrok overview, provides zrok status, and includes --headless to bypass the TUI on share/access commands.

  • zrok overview outputs JSON inventory
  • --headless flag disables TUI in zrok share
Trust & Safety 17 / 25

Zero-trust private sharing and --basic-auth/--oauth-provider protect endpoints, though zrok share public exposes localhost and ~/.zrok/ caches identity keys.

  • Supports zero-trust private shares and frontend auth
  • Credentials stored under ~/.zrok/environment.json
Setup & Portability 13 / 15

Single Go binary via brew install zrok and GitHub Releases; requires zrok enable <token> before sharing.

  • Available via brew install zrok across macOS, Linux, Windows
Utility & Efficiency 13 / 15

Supports public HTTPS shares, private peer-to-peer tunnels, static drive sharing, and reserved shares.

  • Handles both public HTTPS and private zero-trust tunnels
Maintenance & Lineage 9 / 10

Official OpenZiti / NetFoundry project (openziti/zrok) under Apache-2.0.

  • Official openziti/zrok repository
Docs & Verifiability 9 / 10

Comprehensive official documentation at docs.zrok.io and descriptive --help subcommands.

  • Official docs at docs.zrok.io

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Stores account token and OpenZiti identity JSON under ~/.zrok/environment.json via zrok enable; also honors ZROK_API_ENDPOINT and ZROK_ENABLE_TOKEN.

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

Apache-2.0 open-source CLI and self-hostable controller; NetFoundry offers a free hosted api.zrok.io tier.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# zrok Agent Rules
- Always pass `--headless` to `zrok share` and `zrok access` so the TUI does not hang non-TTY shells.
- Prefer `zrok share private` (or add `--basic-auth`) over unauthenticated `zrok share public` unless public internet access is explicitly requested.

Agent-Ready Command Recipes

Safe Read-Only Queries

Dump zrok environments and shares as JSON
zrok overview

Emits a JSON object listing enabled environments, active shares, and access tokens.

Inspect local zrok environment status
zrok status

Prints the active zrok API endpoint, secret token status, and OpenZiti identity state.

Controlled Writes & Previews

Start a headless private zero-trust share
zrok share private localhost:8080 --headless

Creates an authenticated OpenZiti private share token for localhost:8080 without launching the interactive TUI.

Strengths for Agents

  • + zrok overview outputs machine-readable JSON of environments and active shares.
  • + zrok share private enables zero-trust peer-to-peer access without opening public ports.

Caveats & Pitfalls

  • ! Omitting --headless launches a full-screen TUI that breaks non-TTY agent shells.
  • ! Requires an enabled zrok account token (zrok enable) before creating shares.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI