UNPKG

agentfootprint

Version:

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

9 lines • 271 B
export function writeFacts(config) { return async (scope) => { const facts = (scope.newFacts ?? []); if (facts.length === 0) return; await config.store.putMany(scope.identity, facts); }; } //# sourceMappingURL=writeFacts.js.map