Put checks in the right place.
Investigate whether verification belongs before a state change. Test the proposed reorder against the relevant cases.
Agent optimization / with Cave Agent
Move from costly traces to reproducible cases, evaluated changes, and scoped draft proposals. Give your agents a feedback loop—not another dashboard to ignore.
Caveman Platform · private development · human-reviewed changes
Finding the expensive run is the beginning.
Cave Agent is the proposal step in the optimization loop. Follow the evidence, test the intervention, and review a bounded change with its source and scope attached.
Cave Agent turns an approved, bounded change plan into a draft proposal. File limits, allowed commands, and source provenance travel with it.
agent/workflow.ts +2 −2
async function updateRecord(input) {
− await write(input);
− await verify(input);
+ await verify(input);
+ await write(input);
}A retry loop, a misplaced check, or a missing guard can matter more than the model price. Inspect related paths and the evidence behind each opportunity.
The same artifact gets read and verified twice. Inspect the traces before deciding whether either check is redundant.
Investigate whether verification belongs before a state change. Test the proposed reorder against the relevant cases.
Add an applicability guard or a guarded path for the work that needs it. Keep the intervention bounded by the diagnosed case.
Connect an opportunity to its traces, task family, diagnosis, and proposed intervention. Let reviewers follow the chain.
Approved inputs become bounded proposals. Review the file and command limits alongside the evidence before any change enters your repository.
A change plan declares allowed files, change limits, commands, and network policy. The stricter harness limits still apply.
Build an eval pack around the diagnosed behavior. Recorded replay informs review; it does not stand in for a live canary.
Cave Agent produces proposal-only drafts. A draft cannot auto-merge or mint verified savings.
Illustrative controls. Actual proposal eligibility depends on supported interventions, approved inputs, repository binding, and evidence readiness.
Opportunities, running optimizations, and evaluation evidence share a workspace. These are real product screens from a seeded demo.

Real product UI · seeded demo workspace · catalog list-price subtotals
Its role here is narrower: convert approved optimization inputs into scoped draft proposals. Supported workflow interventions include guarded paths, applicability guards, and verification relocation. It is not a promise to fix every bug in a repository.
No. This proposal path is draft-only. Repository scope, evaluation evidence, and human review remain part of the decision.
An opportunity, an estimate, a replay result, and a draft PR are not verified savings. Savings require the appropriate measured, provider-causal evidence after an intervention.
Make every token count.
Connect observation, evaluation, and review. Make improvements you can explain—and changes your team can own.