agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
29 lines (28 loc) • 897 B
TypeScript
import type { TraversalLimits } from 'foottrace/cause';
import type { TraceCauseOptions } from './causeTypes.js';
/** Tool ceilings are deliberately smaller than the reader's absolute ceilings. */
export declare const CAUSE_TOOL_CAPS: Readonly<{
maxNodes: 100;
maxDepth: 20;
maxEdges: 1000;
maxCalls: 1000;
timeoutMs: 5000;
maxChars: 16000;
}>;
/** Resolve host policy only. Model arguments never enter this resource boundary. */
export declare function causeLimits(options?: TraceCauseOptions): {
backward: {
maxNodes: number;
maxDepth?: number | undefined;
maxEdges: number;
maxCalls: number;
};
impact: TraversalLimits | undefined;
maxNodes: number;
maxDepth: number;
maxEdges: number;
maxCalls: number;
timeoutMs: number;
maxChars: number;
};
export type CauseLimits = ReturnType<typeof causeLimits>;