agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
6 lines (5 loc) • 492 B
TypeScript
import type { TraceCauseOperation, TraceCauseQuestion } from './causeTypes.js';
import type { CauseLimits } from './causeLimits.js';
import { type CauseContext } from './causeContext.js';
/** One public query, one cache/deadline/total ceiling. No model, rerun, storage URL or second walker. */
export declare function readCause(operation: TraceCauseOperation, context: CauseContext, question: TraceCauseQuestion, limits: CauseLimits, deadline: number, signal?: AbortSignal): Promise<string>;