mech.app

The mech.app newsletter

Agentic AI, minus the noise.

Get practical field notes on AI agents, automation, developer tools and security delivered to your inbox.

No spam. Unsubscribe anytime.

AI Agents

OpenAI's Jagged Frontier: What Measuring Coding Agent Performance Reveals About Recursive Self-Improvement

How OpenAI measures coding agent performance across research tasks, where agents succeed and fail, and what uneven capability distribution means for inf...

Source: openai.com
OpenAI's Jagged Frontier: What Measuring Coding Agent Performance Reveals About Recursive Self-Improvement

OpenAI published internal measurements showing coding agents now complete 46% of two-to-four-hour research tasks autonomously, up from 23% in March. But the performance curve is jagged: 79% success for monitoring training runs, 35% for launching them, 25% for inference stack code. This uneven capability distribution creates specific infrastructure problems for teams building eval harnesses, task routers, and recursive self-improvement loops.

The Jagged Frontier Problem

Agent capabilities do not scale uniformly. A system that excels at monitoring can fail catastrophically at code generation. This creates three plumbing challenges:

  • Eval harness design: Static benchmarks miss capability cliffs. You need task-level granularity that captures where agents succeed and where they collapse.
  • Task routing logic: Orchestrators must match subtasks to agent strengths. A monolithic agent that handles everything will bottleneck on its weakest capability.
  • Self-improvement loops: Recursive systems need to detect their own weak spots and route those subtasks elsewhere, or they amplify failure modes.

The measurement infrastructure OpenAI built to track this internally offers a blueprint for teams facing the same problem.

Measurement Architecture

OpenAI tracks three layers: inputs (agent usage), process (how researchers allocate time), and outputs (code changes, experiments launched). The key insight is measuring success at the task level, not the model level.

Task-Level Success Tracking

Task TypeSuccess RateTime Estimate
Monitor training runs79%2-4 hours
Launch training runs35%2-4 hours
Inference/serving code25%2-4 hours
General 2-4 hour tasks46%2-4 hours
General 4-8 hour tasks35%4-8 hours

This granularity exposes the jagged frontier. Two tasks with identical time estimates have 54 percentage points of performance difference. A naive orchestrator that treats all tasks as equivalent will misallocate work.

Usage Metrics as Proxy for Value

OpenAI tracks daily API spend per researcher. The median hit $2,400/day in October (62% increase from September). The 90th percentile hit $23,000/day (105% increase). This usage surge signals researchers trust agents for high-value work, but it also creates cost observability requirements.

You need:

  • Per-task cost tracking to identify expensive failure modes
  • Usage distribution analysis to spot capability gaps (if only 10% of users can extract value, the tool has a UX or capability problem)
  • Cost-per-success metrics to compare agent performance against human baselines

Orchestration for Uneven Capabilities

When agent performance is jagged, you cannot use a single-agent architecture. You need capability-aware routing.

Routing Logic

class CapabilityRouter:
    def __init__(self, capability_map):
        # capability_map: {task_type: (agent_id, success_rate, cost)}
        self.capability_map = capability_map
        self.fallback_threshold = 0.5  # Route to human if success < 50%
    
    def route_task(self, task):
        task_type = self.classify_task(task)
        agent_id, success_rate, cost = self.capability_map.get(
            task_type, 
            (None, 0.0, 0.0)
        )
        
        if success_rate < self.fallback_threshold:
            return self.route_to_human(task)
        
        return {
            "agent_id": agent_id,
            "task": task,
            "expected_success": success_rate,
            "estimated_cost": cost,
            "fallback_plan": "human_review" if success_rate < 0.7 else None
        }
    
    def classify_task(self, task):
        # Task classification logic: keyword matching, embeddings, or LLM call
        # Returns task_type string matching capability_map keys
        pass

This router makes three decisions:

  1. Task classification: Map incoming work to known capability buckets
  2. Agent selection: Pick the agent with highest success rate for that task type
  3. Fallback routing: Send low-confidence tasks to humans or hybrid workflows

The capability map must be updated continuously. As models improve, the jagged frontier shifts.

Eval Harness Design

Static benchmarks like HumanEval or SWE-bench measure aggregate performance. They do not capture the jagged frontier. You need a dynamic eval harness that:

  • Samples from real task distributions: Use production task logs to generate eval sets that match actual workload
  • Tracks task-level success: Store success rates per task type, not just overall pass rates
  • Detects capability drift: Alert when success rates drop for specific task types (model regression, infrastructure change, or task distribution shift)

Eval Harness Schema

eval_result = {
    "task_id": "train_run_launch_001",
    "task_type": "launch_training_run",
    "agent_id": "o1-preview",
    "success": False,
    "failure_mode": "incorrect_hyperparameter_format",
    "cost_usd": 3.42,
    "duration_seconds": 187,
    "human_time_estimate_hours": 2.5,
    "timestamp": "2026-11-18T14:23:11Z"
}

This schema enables:

  • Task-type aggregation to build the capability map
  • Failure mode clustering to identify systematic weaknesses
  • Cost-per-success calculation to compare agent vs. human economics
  • Drift detection by tracking success rate changes over time

Recursive Self-Improvement Plumbing

The jagged frontier creates a specific problem for recursive self-improvement: agents cannot uniformly improve themselves. If an agent is 79% successful at monitoring but 25% successful at code generation, a self-improvement loop that treats all tasks equally will waste cycles on tasks the agent already handles well.

Self-Improvement Loop Architecture

  1. Capability self-assessment: Agent runs eval harness on itself to identify weak task types
  2. Targeted improvement: Focus training, fine-tuning, or tool integration on low-success task types
  3. Hybrid routing: Route weak-task types to humans or specialized tools during improvement phase
  4. Validation: Re-run evals to confirm improvement before deploying updated agent

The key infrastructure piece is the feedback loop between eval results and training data generation. If the agent knows it fails at inference stack code, it should generate synthetic training examples for that task type, validate them with humans, and retrain.

Failure Mode: Capability Collapse

If the self-improvement loop does not account for the jagged frontier, it can cause capability collapse. The agent optimizes for aggregate performance, which means it may improve weak areas by degrading strong ones. You need per-task-type performance constraints:

improvement_constraints = {
    "monitor_training_runs": {"min_success_rate": 0.75},
    "launch_training_runs": {"min_success_rate": 0.30},
    "inference_code": {"min_success_rate": 0.20}
}

Any training update that violates these constraints is rejected.

Observability Requirements

The jagged frontier creates observability blind spots. Aggregate metrics (overall success rate, total cost) hide task-level failures. You need:

  • Task-type dashboards: Success rate, cost, and duration per task type
  • Failure mode clustering: Group failures by root cause (API error, logic error, timeout, hallucination)
  • Usage heatmaps: Which researchers use agents for which task types (identifies capability gaps and training needs)
  • Cost anomaly detection: Alert when specific task types become unexpectedly expensive (model regression or infrastructure issue)

OpenAI’s internal data shows median daily usage at $2,400 and 90th percentile at $23,000. Without task-level cost tracking, you cannot identify which tasks drive spend or whether that spend is justified by success rates.

Deployment Shape

The jagged frontier architecture requires:

  • Capability registry: Database mapping task types to agent IDs, success rates, and costs
  • Task classifier: Service that maps incoming work to task types (can be rule-based, embedding-based, or LLM-based)
  • Router: Orchestrator that selects agents based on capability map and routes low-confidence tasks to humans
  • Eval harness: Continuous evaluation pipeline that updates capability registry
  • Observability stack: Dashboards and alerting for task-level success, cost, and failure modes

This is not a single-agent deployment. It is a multi-agent orchestration layer with dynamic routing and continuous capability measurement.

Technical Verdict

Use this architecture when:

  • Agent performance varies significantly across task types
  • You need to maximize success rate while controlling cost
  • You are building recursive self-improvement loops that must avoid capability collapse
  • You have production task logs to build realistic eval sets

Avoid this architecture when:

  • Agent performance is uniform across tasks (rare, but possible for narrow domains)
  • Task volume is too low to justify orchestration overhead
  • You lack infrastructure to track task-level success and cost
  • Your eval harness cannot run continuously (capability map will drift out of sync with reality)

The jagged frontier is not a temporary problem. As models improve, the frontier shifts but remains jagged. Infrastructure that assumes uniform capability will misallocate work and amplify failure modes.