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

Speakeasy CLI

$ speakeasy Official Med Risk
Speakeasy · Agent Bridges & Meta · AGPL-3.0 / Commercial · macos / linux / windows

Speakeasy CLI builds type-safe client SDKs, Terraform providers, CLIs, and MCP servers directly from OpenAPI specifications. Provides single-binary Go execution for speakeasy lint, speakeasy diff, speakeasy run, and speakeasy quickstart in CI/CD pipelines.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install speakeasy-api/tap/speakeasy
CLI vs MCP Decision CLI Only

speakeasy lint and speakeasy run run locally in build pipelines to validate OpenAPI specs and generate MCP servers or SDKs.

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

Clean Cobra Go CLI with lint, diff, run, and SPEAKEASY_API_KEY support, though lacks universal --json across commands and relies on cloud generation.

  • Supports lint, diff, run, --logLevel, and SPEAKEASY_API_KEY
Trust & Safety 20 / 25

lint and diff are read-only; speakeasy run executes workflow targets locally/remotely and requires Speakeasy cloud authentication for generation.

  • Read-only lint/diff vs cloud-connected run generation
Setup & Portability 14 / 15

Single static Go binary via Homebrew and direct installer across macOS, Linux, and Windows.

  • Static Go binary via speakeasy-api/tap/speakeasy
Utility & Efficiency 14 / 15

Generates idiomatic multi-language SDKs, Terraform providers, and MCP servers from OpenAPI.

  • One OpenAPI spec produces SDKs, CLIs, and MCP servers
Maintenance & Lineage 8 / 10

Official speakeasy-api/speakeasy maintained by Speakeasy (AGPL-3.0 / commercial terms).

  • Official speakeasy-api/speakeasy repository
Docs & Verifiability 7 / 10

Well-documented CLI guides and workflow.yaml schema references.

  • Official docs at speakeasy.com/docs/speakeasy-cli/getting-started

Security, Auth & Guardrails

Auth Modes
OAuth Browser Env API Key Config File
Credential Storage

API key stored locally via speakeasy auth login or supplied via SPEAKEASY_API_KEY env var.

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

CLI has a free tier for small specs; commercial SDK/MCP generation and enterprise scale require paid Speakeasy plans.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Speakeasy CLI Agent Rules
- Run `speakeasy lint openapi -s <spec>` before running `speakeasy run`.
- Set `SPEAKEASY_API_KEY` in CI/headless runs instead of interactive `speakeasy auth login`.
- Do not publish generated SDK packages without reviewing `speakeasy diff` output.

Agent-Ready Command Recipes

Safe Read-Only Queries

Lint an OpenAPI specification for SDK/agent readiness
speakeasy lint openapi -s openapi.yaml

Validates OpenAPI schema quality, naming, and breaking issues locally.

Diff two OpenAPI versions for breaking changes
speakeasy diff -s old-openapi.yaml -t new-openapi.yaml

Detects breaking API changes between two OpenAPI specification files.

Controlled Writes & Previews

Regenerate configured SDKs or MCP targets
speakeasy run --skip-versioning

Runs local generation defined in .speakeasy/workflow.yaml without bumping package versions.

Strengths for Agents

  • + Fast single Go binary with clean lint openapi and diff static checks.
  • + Generates both SDKs and TypeScript MCP servers directly from OpenAPI.
  • + Smooth CI integration via SPEAKEASY_API_KEY.

Caveats & Pitfalls

  • ! Core generate/run workflows require Speakeasy account/cloud connectivity and commercial tiers at scale.
  • ! Open-source core uses AGPL-3.0 alongside commercial licensing.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI