Table of Contents

Agentic Optimizer documentation

Agentic Optimizer turns the agentic log — the per-call record of what your coding agents did — into measured AI spend savings. It ingests usage from your model providers, correlates each call to a repo, project, session, task and turn, watches for waste patterns, and then either recommends a setup or applies one and measures the result.

Every page in the scenario catalogue uses the same three-part shape:

IF this appears in the agentic log → THEN this is the setup → RESULT this is what the setup yields

Start here

If you want to… Read
Understand what the agentic log contains The agentic log
Connect your first model provider Connect a usage source
See what a scenario looks like Scenarios
Understand the waste patterns we detect Detectors
Wire an MCP companion MCP companions

The moving parts

flowchart LR
  A[Coding agent] -->|UsageEvent| B[Ingestion API]
  A -->|AugmentationEvent| B
  C[OpenAI / Anthropic / Gemini] -->|usage connector| B
  D[GitHub] -->|VCS enrichment| B
  B --> E[(Agentic log)]
  E --> F[Detectors]
  F --> G[Recommendations]
  G --> H[Policy]
  H -->|applied by SDK| A
  F --> I[Savings attribution]
  I --> J[Dashboard]
  • Usage events are the raw calls. Augmentation events are what the SDK changed on a real call, and why. Together they are the log.
  • Connectors pull provider-side usage and enrich calls with PR/commit and team hierarchy data.
  • Detectors turn log patterns into opportunities and recommendations.
  • Policies are how a recommendation becomes something the SDK actually applies.
  • Savings attribution measures the result so it is a number, not a claim.