Skip to content

Releases

v1.5.0 — Handy-Style Avionics Website, Interactive Studio & Docs

Choose a tag to compare

@codesphere-u codesphere-u released this 14 Nov 15:17

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

🎛️ 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.md and docs/MCP_AND_AGENTS.md.
  • GEO & AI Search Ready: Full support for LLM indexers via llms.txt and llms-full.txt, structured Schema.org JSON-LD, sitemap.xml, and robots.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 SAFE and growthpilot 100/100 Grade A+.

AgentFlight v1.4.0 — Auto PII Redaction, Prometheus Telemetry, Doctor CLI & 91% Test Coverage

Choose a tag to compare

@codesphere-u codesphere-u released this 13 Nov 09:27

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) inside FlightRecorder before SHA-256 chain hashing, with deterministic replay across rotated credentials in CassetteReplayer.replay_step().
  • Prometheus /metrics, Request Tracing & Distributed Rate Limiting (telemetry.py, api/index.py, http_server.py):
    • Added GET /metrics (Prometheus text exposition & JSON via Accept: application/json), HEAD health/metrics readiness responses, validated X-Request-ID propagation, opt-in structured JSON logs (AGENTFLIGHT_LOG_JSON=1), and optional stdlib-only Upstash Redis REST distributed rate limiting with fail-open memory fallback.
  • Self-Diagnostics & Robustness (cli.py, wrappers.py, linter.py):
    • Added agentflight doctor [--json] verifying Python version, stdlib-core integrity, _agentflight_pytest entry point availability, redaction + SHA-256 chain verification, and circuit breaker enforcement.
    • Coalesced streamed OpenAI tool_calls deltas by index (_merge_tool_call_deltas) and guarded _normalize_tool_def against malformed non-dict schema fields.
  • Quality & CI Gates:
    • 167 passing tests (90.57% coverage), --cov-fail-under=90, ruff, and mypy (0 errors) enforced across Python 3.10–3.12, plus automated smoke-production.yml live endpoint checks (14/14 passing).

AgentFlight v1.2.0 — Pre-Flight Cost Circuit Breaker, 0.08 μs Replay & OpenAny Integration

Choose a tag to compare

@codesphere-u codesphere-u released this 13 Nov 08:21

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

  1. 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.
  2. Thread-Safe Budget Reservations (TrajectoryCircuitBreaker):
    • Added guard.reserve_budget(amount_usd) with BudgetReservation context 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).
  3. 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.
  4. 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%.
  5. 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.
  6. Refined Secret Redaction:
    • Intelligent masking protects sensitive keys and bearer tokens while preserving numerical metric tokens (prompt_tokens, completion_tokens, total_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

Choose a tag to compare

@codesphere-u codesphere-u released this 07 Nov 12:43

AgentFlight v1.1.0 Release Notes

New Features

  1. 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).
  2. OpenTelemetry / W3C TraceContext Span Exporter (src/agentflight/otel_export.py):
    • Converts recorded AgentFlight cassette 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 by codesphere-u/stackpulse for critical-path DAG analysis and SLO burn-rate monitoring.
  3. CLI & MCP Server Extensions (cli.py, mcp_server.py):
    • CLI: agentflight diff <baseline> <candidate> [--json] and agentflight export-otel <cassette> [--output spans.json].
    • MCP Server (AgentFlightMCPServer): Exposes agentflight_diff_cassettes, agentflight_export_otel, agentflight_lint_tools, and agentflight_verify_cassette.
  4. Expanded Test Suite:
    • 90 passing pytest tests across Python 3.10, 3.11, and 3.12 (up from 73 in v1.0.0).

v1.0.0 — AgentFlight Initial Production Release

Choose a tag to compare

@codesphere-u codesphere-u released this 07 Nov 10:56

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).