Getting Started

Download & Install

Install agentflight-mcp from PyPI (imports stay import agentflight and the CLI stays agentflight), or run it straight through uvx without adding packages to your project.

v1.5.0

INSTALL PYTHON SDK & CLI

Requires Python 3.10+. Core recording, replay, redaction, circuit breaking, and linting modules have zero runtime dependencies.

pip install agentflight-mcp && agentflight doctor

First Flight Run

Verify every subsystem locally or run the end-to-end demo without API keys:

agentflight demo
agentflight lint
agentflight benchmark

Choosing a Recording Mode

  • record — Executes live LLM/tool calls and writes an atomic SHA-256 cassette with API keys scrubbed.
  • replay — Serves recorded responses offline in microseconds (`$0.00` spend) and fails immediately on structural drift.
  • auto (default in pytest) — Records on the first missing cassette, then replays deterministically in CI.

Self-Diagnostics (`agentflight doctor`)

Run built-in diagnostics covering Python 3.10+, zero-dep stdlib core imports, lazy pytest11 entry point registration, SHA-256 redaction integrity, and circuit-breaker loop trapping:

agentflight doctor --json