UNPKG

agentfootprint

Version:

The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.

14 lines (13 loc) • 898 B
import type { StageSnapshot } from 'footprintjs/advanced'; import { type Tool } from '../tools/tools.js'; import type { TraceToolpackArtifacts } from './types.js'; import type { TraceCauseArtifacts, TraceCauseOptions } from './causeTypes.js'; /** Model questions select IDs only. The host owns all resource controls. */ export declare function buildCauseTools(artifacts: TraceToolpackArtifacts, nodes: ReadonlyMap<string, StageSnapshot>, options?: TraceCauseOptions): Tool[]; /** * Serve the three read-only cause questions over one host-authorized graph. * Saved evidence must be the exact object returned by `readStoredCauseArtifacts`; * copied display assessments do not grant saved-history authority. * No snapshot is indexed, no storage is fetched and no business work is rerun. */ export declare function traceCauseTools(cause: TraceCauseArtifacts, options?: TraceCauseOptions): Tool[];