agi4-adapters
Upstream source adapters for AGI/4 evidence ingestion.
Implements pluggable adapters for nine upstream measurement sources, with pure parsing, fixture-based testing, and testable I/O abstraction.
Architecture
Source Trait
Pure parsing abstraction, no I/O:
Fetcher Trait
I/O abstraction for testability:
Adapters (v0.1.0)
- METR: Autonomous agency evidence (80%-time horizon). Simplest schema (single f64).
Adapters (v0.1.1 and beyond)
- ARC Prize (Generality)
- HLE (Generality)
- GPQA Diamond (Generality)
- GDPval / GDPval-AA (EconomicSubstitutability)
- RLI (EnvironmentalTransfer)
- APEX-Agents (EnvironmentalTransfer)
- OSWorld (EnvironmentalTransfer)
- RE-Bench (AutonomousAgency)
- SWE-bench Verified pass@5 (AutonomousAgency)
Testing
All adapters include:
- Fixture: Frozen upstream data snapshot in
tests/fixtures/<adapter>/ - Round-Trip Test: Parse fixture → evidence → serialize → verify
Example fixture: METR's tests/fixtures/metr/time-horizon-168h.json
See Also
- agi4-core — Verdict logic
- Source Trait Documentation — API reference
- Phase 2 Plan — Adapter roadmap