AGR: Autonomous Research & Optimization
Optimizes code performance and metrics autonomously through iterative experimentation and verified correctness.
AGR (Artificial General Research) is an autonomous optimization framework for Claude Code that generalizes the concept of autoresearch to any measurable problem. It runs continuous, fresh-context loops to experiment with code changes, measuring performance metrics against strict correctness guards to ensure a faster, smaller, or more accurate system without human intervention. By implementing variance-aware acceptance and persistent strategy tracking, it prevents context degradation and avoids repeating failed experiments, making it the ideal tool for long-running performance tuning, complex refactoring, and cost reduction tasks.
主な機能
01Persistent strategy tracking with an exhausted approaches registry to prevent redundant work
02Metric and Guard separation to ensure performance gains never break core functionality
03Fresh-context iteration (Ralph Loop) to prevent AI reasoning degradation over long sessions
04Variance-aware acceptance logic that distinguishes real improvements from system noise
05Automated multi-benchmark visualization and progress chart generation
0629 GitHub stars
ユースケース
01Optimizing application execution speed or reducing bundle size overnight
02Automating complex codebase refactoring while maintaining performance baselines
03Improving machine learning model accuracy or reducing inference latency