Skip to content

Releases

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