Repository navigation
Releases
v1.5.0 — Handy-Style Avionics Website, Interactive Studio & Docs
AgentFlight v1.5.0 — Handy-Style Avionics Website, Interactive Studio & Docs
We are thrilled to announce AgentFlight v1.5.0, introducing our public avionics-grade documentation and interactive studio website hosted on GitHub Pages, alongside complete developer documentation and enterprise reliability validation.
🛩️ Handy-Inspired Multi-Page Website & Avionics Aesthetic
- Multi-Page Architecture: Five dedicated pages (
index.html,studio.html,proof.html,docs.html,rules.html) hosted on GitHub Pages at https://codesphere-u.github.io/agentflight/ - Design System: Hand-crafted in Stratosphere Sky Blue (
#7cc6fe) + Black-Box Amber (#ffd166) on Warm Ivory Paper (#fffdf2). - Brand Identity: Custom SVG Black-Box Flight Recorder vector icon, outlined wordmark, and clean aerospace typography.
🎛️ Interactive Avionics Studio In-Browser (studio.html)
- Rules TS001–TS010 Real-Time Linter: Live in-browser validation of agent flight recorder telemetry against our complete telemetry spec.
- Circuit Breaker Simulator: Test trip conditions, cooldown decay, half-open probe states, and hard halts interactively.
- Trace Diff Engine: Compare baseline and candidate agent trajectories with visual diffing.
- Multi-Format Export: Export linter results to SARIF, OpenTelemetry (OTEL) trace format, and Markdown summaries.
📚 Documentation, GEO/SEO & Pages Workflow
- Developer Documentation: Complete guides in
docs/GETTING_STARTED.mdanddocs/MCP_AND_AGENTS.md. - GEO & AI Search Ready: Full support for LLM indexers via
llms.txtandllms-full.txt, structured Schema.org JSON-LD,sitemap.xml, androbots.txt. - Automated Pages Deployment: GitHub Actions workflow (
.github/workflows/pages.yml) deploying directly to GitHub Pages.
🛡️ Verified Quality & Production Benchmarks
- 171 pytest tests with 90.57% test coverage.
- Clean static analysis passes via ruff and strict mypy.
- Health audit verified via
agentflight doctor --json. - Security and governance: billshock
100/100 SAFEand growthpilot100/100 Grade A+.
AgentFlight v1.4.0 — Auto PII Redaction, Prometheus Telemetry, Doctor CLI & 91% Test Coverage
What's New in v1.4.0
PyPI: pip install agentflight-mcp==1.4.0 / uvx --from agentflight-mcp==1.4.0 agentflight doctor
Live Hosted Portal & MCP Gateway: https://agentflight-tau.vercel.app/mcp
Enterprise & Operational Readiness
- Automatic PII & Secret Redaction (
src/agentflight/redact.py,recorder.py):- Pure-stdlib secret scrubber (
redact_sensitive,redact_text,redact_cassette,contains_sensitive_data) removes API keys (sk-...,sk-ant-...,sk-proj-...,oa_...,ghp_...,AKIA...), Bearer tokens, JWTs, URL basic-auth credentials, cookies, and auth headers while preserving token-count metrics and JSON schemas. - Enabled by default (
redact_secrets=True) insideFlightRecorderbefore SHA-256 chain hashing, with deterministic replay across rotated credentials inCassetteReplayer.replay_step().
- Pure-stdlib secret scrubber (
- Prometheus
/metrics, Request Tracing & Distributed Rate Limiting (telemetry.py,api/index.py,http_server.py):- Added
GET /metrics(Prometheus text exposition & JSON viaAccept: application/json),HEADhealth/metrics readiness responses, validatedX-Request-IDpropagation, opt-in structured JSON logs (AGENTFLIGHT_LOG_JSON=1), and optional stdlib-only Upstash Redis REST distributed rate limiting with fail-open memory fallback.
- Added
- Self-Diagnostics & Robustness (
cli.py,wrappers.py,linter.py):- Added
agentflight doctor [--json]verifying Python version, stdlib-core integrity,_agentflight_pytestentry point availability, redaction + SHA-256 chain verification, and circuit breaker enforcement. - Coalesced streamed OpenAI
tool_callsdeltas by index (_merge_tool_call_deltas) and guarded_normalize_tool_defagainst malformed non-dict schema fields.
- Added
- Quality & CI Gates:
167passing tests (90.57%coverage),--cov-fail-under=90,ruff, andmypy(0errors) enforced across Python 3.10–3.12, plus automatedsmoke-production.ymllive endpoint checks (14/14passing).
AgentFlight v1.2.0 — Pre-Flight Cost Circuit Breaker, 0.08 μs Replay & OpenAny Integration
AgentFlight v1.2.0 introduces the official commercial integration with OpenAny, accompanied by production-grade revenue attribution, thread-safe concurrent budget reservations, streaming SSE support, and remote MCP tool auditing.
🌟 Key Highlights
- Verified Partner Attribution Infrastructure:
- Outbound requests to OpenAny now transmit the verified partner header:
X-OpenAny-Partner-Id: agentflight - Domain boundary isolation strictly prevents header and credential leakage to third-party domains.
- Outbound requests to OpenAny now transmit the verified partner header:
- Thread-Safe Budget Reservations (
TrajectoryCircuitBreaker):- Added
guard.reserve_budget(amount_usd)withBudgetReservationcontext manager. - Prevents race conditions in multi-threaded and concurrent agent runs from bypassing spending caps before completion.
- Pre-execution budget evaluations halt unaffordable requests before network dispatch ($0.00 spent).
- Added
- Streaming Chat Completions (
stream_chat):- Added generator support for real-time Server-Sent Events (SSE) streaming.
- Live chunk delivery with post-stream token reconciliation and span recording.
- Remote MCP Tool-Smell Auditing:
- Query and lint remote OpenAny MCP servers (
https://mcp.openany.si/mcp). - Audit schemas against rules TS001–TS010 to trim prompt bloat by up to 78%.
- Query and lint remote OpenAny MCP servers (
- Sub-Microsecond Deterministic Replay Benchmark:
- Benchmarked at 0.08 μs per span (>11,000,000 spans/sec) across 25,000 span trials.
- 100% offline with zero external network calls.
- Refined Secret Redaction:
- Intelligent masking protects sensitive keys and bearer tokens while preserving numerical metric tokens (
prompt_tokens,completion_tokens,total_tokens).
- Intelligent masking protects sensitive keys and bearer tokens while preserving numerical metric tokens (
📦 Installation
pip install --upgrade agentflight-mcp🧪 Full Test Suite Status
- 142 passed (0 failed, 0 skipped) across mock, gateway, and live test fixtures.
- 20 dedicated provider and attribution tests.
- Built distribution:
agentflight-mcp(1.2.0) on PyPI.
AgentFlight v1.1.0 — Trajectory Differential Analyzer & OpenTelemetry/W3C Span Exporter
AgentFlight v1.1.0 Release Notes
New Features
- Trajectory Differential Analyzer & Regression Detector (
src/agentflight/diff.py):- Compares a baseline cassette (
baseline.jsonl) against a candidate cassette (candidate.jsonl) across model or prompt upgrades. - Computes Wagner-Fischer Levenshtein edit distance and Longest Common Subsequence (LCS) over tool call sequences.
- Detects new tool execution errors, loop/oscillation regressions via
TrajectoryCircuitBreaker, token & USD cost deltas (cost_delta_pct,token_delta_pct), latency deltas (latency_delta_pct), and structural output drift. - Returns an immutable
TrajectoryDiffReport(regression_detected,similarity_score,added_tools,removed_tools,summary_markdown).
- Compares a baseline cassette (
- OpenTelemetry / W3C TraceContext Span Exporter (
src/agentflight/otel_export.py):- Converts recorded
AgentFlightcassette spans into W3C TraceContext / OpenTelemetry JSON spans (trace_id,span_id,parent_span_id,service_name,operation_name,start_time_ms,duration_ms,status_code,attributes) directly ingestible bycodesphere-u/stackpulsefor critical-path DAG analysis and SLO burn-rate monitoring.
- Converts recorded
- CLI & MCP Server Extensions (
cli.py,mcp_server.py):- CLI:
agentflight diff <baseline> <candidate> [--json]andagentflight export-otel <cassette> [--output spans.json]. - MCP Server (
AgentFlightMCPServer): Exposesagentflight_diff_cassettes,agentflight_export_otel,agentflight_lint_tools, andagentflight_verify_cassette.
- CLI:
- Expanded Test Suite:
- 90 passing
pytesttests across Python 3.10, 3.11, and 3.12 (up from 73 inv1.0.0).
- 90 passing
v1.0.0 — AgentFlight Initial Production Release
Initial production release of agentflight: AI Agent Black-Box Flight Recorder (FlightRecorder), Deterministic Sub-Millisecond Cassette Replayer (CassetteReplayer), 10-Rule MCP Tool-Smell Linter (ToolSmellLinter), Real-Time Loop/Ping-Pong/Cost Circuit Breaker (TrajectoryCircuitBreaker), and Golden Trajectory Diff Engine (TrajectoryEvaluator).