waaseyaa / ai-observability
Trace recording, cost tracking, and anomaly detection for Waaseyaa agentic framework
Requires
- php: >=8.5
- waaseyaa/ai-agent: ^0.1.0-alpha.249
- waaseyaa/database-legacy: ^0.1.0-alpha.249
- waaseyaa/entity: ^0.1.0-alpha.249
- waaseyaa/entity-storage: ^0.1.0-alpha.249
- waaseyaa/foundation: ^0.1.0-alpha.249
Requires (Dev)
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2026-06-25 00:57:02 UTC
README
Cost tracking, budget enforcement, outcome logging, and anomaly detection for the Waaseyaa agentic framework, plus a (currently dormant) trace recorder.
Layer 5 (AI). Zero dependencies on other AI packages.
The cost / outcome / metrics path is wired and live: AgentRunTelemetryListener (subscribed in AgentTelemetryServiceProvider::boot()) consumes the AgentRun* lifecycle events that ai-agent fires (AgentExecutor, RunAgentHandler) and feeds metrics + Telescope; LlmCallListener feeds the cost accountant.
Trace recording is not active yet.
TraceRecorderInterfaceis bound toTraceRecorder(andNullTraceRecorderwhen disabled), but no production code callsTraceRecorder::startTrace()— nothing opens a trace, so the trace engine is dormant. This is a known functional gap tracked in #1743 for a post-beta pass; it does not affect the cost/outcome telemetry above.
See the design at docs/history/superpowers/specs/2026-04-14-ai-observability-design.md.