agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
12 lines (11 loc) • 545 B
TypeScript
/**
* removeAndRetry — the thorough finder. Removes each context piece, re-runs the
* agent, and a piece is the cause iff its removal flips the outcome back. No
* embedder, no heuristic: pure counterfactual. Exact, but pays one re-run per
* piece (`checks`), and on multi-loop runs it can over-attribute (several pieces
* each flip) — narrow with a slice first when that happens.
*
* Method: leave-one-out ablation (counterfactual necessity).
*/
import type { Finder } from './types.js';
export declare const removeAndRetry: Finder;