agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
22 lines • 1.03 kB
JavaScript
/**
* agentfootprint/context — how the model's context gets assembled.
*
* The injection engine: one `Injection` type, the sugar factories that build
* one, and the engine subflow that resolves them into the three slots a
* request is made of (system prompt, messages, tools).
* Also exposes opt-in outer JSON field meanings and their model guidance;
* callers include it through existing system or steering configuration.
*
* Named for the job rather than the machine — through 8.x this was also
* reachable at `agentfootprint/injection-engine`, which described our
* implementation instead of your task. That path was removed in 9.0.0.
*
* @example
* ```ts
* import { defineInjection, type Injection } from 'agentfootprint/context';
* ```
*/
export * from '../injection-engine.js';
export { CONTEXT_FIELD_MEANINGS, contextContractForModel } from '../lib/context-contract/index.js';
export { resolveEvidenceNeed } from '../lib/context-contract/evidence-navigation.js';
//# sourceMappingURL=context.js.map