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

Temporal CLI

$ temporal Official Med Risk
Temporal · Workspace & SaaS · MIT · macos / linux / windows

Temporal CLI (temporal) is a single Go binary for running a local Temporal dev server (temporal server start-dev), inspecting workflow execution histories, querying namespaces, and managing schedules. Its --output json / jsonl flags and zero-dependency local dev mode make it standout for agent debugging and testing.

FCRS-1.0 Score
91 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install temporal
CLI vs MCP Decision CLI Preferred vs MCP

Temporal CLI provides deterministic --output json/jsonl event histories and an embedded start-dev server that agents can run locally in tests.

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

First-class --output json and --output jsonl across workflow/schedule/namespace commands plus zero-config --headless local dev server.

  • --output json|jsonl|text|none supported globally
  • No interactive prompts during workflow, activity, or schedule inspection
Trust & Safety 22 / 25

Defaults safely to localhost:7233 with explicit --address/--namespace flags and mTLS/API-key isolation for Cloud.

  • Localhost default prevents accidental Temporal Cloud mutations
  • Explicit --workflow-id required for terminate/cancel/signal
Setup & Portability 14 / 15

Single static Go binary available via Homebrew, direct curl script, and GitHub releases across macOS, Linux, and Windows.

  • brew install temporal and prebuilt releases
Utility & Efficiency 14 / 15

Bundles both the full production client CLI and an embedded SQLite/in-memory Temporal server for integration testing.

  • temporal server start-dev replaces multi-container Docker Compose setups
Maintenance & Lineage 9 / 10

Official Temporal Technologies repository (temporalio/cli) actively maintained under MIT.

  • Official Temporal GitHub organization
Docs & Verifiability 8 / 10

Detailed official Temporal CLI reference docs and clean built-in --help.

  • Official docs at docs.temporal.io/cli

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Zero auth needed for local start-dev; Temporal Cloud profiles and mTLS/API keys use ~/.config/temporalio/ or TEMPORAL_API_KEY / TEMPORAL_ADDRESS.

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

CLI and local server are free (MIT); Temporal Cloud is billed by actions and storage.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Temporal CLI Agent Rules
- Default to local `start-dev` (`localhost:7233`); verify `--address` and `--namespace` before touching Temporal Cloud.
- Always pass `--output json` (or `jsonl`) when inspecting workflow lists or histories.
- Require human approval before running `temporal workflow terminate`, `cancel`, or `operator namespace delete` on production.

Agent-Ready Command Recipes

Safe Read-Only Queries

List workflow executions as JSON
temporal workflow list --output json

Lists running and completed workflows in the targeted namespace as structured JSON.

Inspect full workflow event history
temporal workflow show --workflow-id order-123 --output json

Dumps deterministic workflow history events for debugging failures or retries.

Controlled Writes & Previews

Start an isolated headless local Temporal server
temporal server start-dev --headless

Runs an ephemeral in-memory Temporal server locally without launching the Web UI or touching Temporal Cloud.

Strengths for Agents

  • + Global --output json and --output jsonl make workflow histories trivially parseable by coding agents.
  • + Embedded temporal server start-dev --headless enables fast, self-contained local integration tests.
  • + Safe localhost:7233 default with explicit --address, --namespace, and TEMPORAL_API_KEY targeting.

Caveats & Pitfalls

  • ! temporal server start-dev is a long-lived daemon process that must be backgrounded.
  • ! Production workflow terminate or reset commands are destructive if pointed at a Cloud namespace.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI