UNPKG

agentfootprint

Version:

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

36 lines • 1.59 kB
"use strict"; /** * agentfootprint/memory — state that outlives a turn. * * `defineMemory` and the whole memory subsystem (beats, facts, causal * recall, embedding retrieval, pipelines, the `MemoryStore` port), together * with the shipped stores you can point it at: Redis, AgentCore, and the * read-only Bedrock Agents session-summary reader. * * Prompt caching lives at `agentfootprint/cache`, deliberately NOT here: it * registers vendor cache strategies on import, and side-effectful code stays * behind its own door rather than riding along with `defineMemory`. * * @example * ```ts * import { defineMemory, MEMORY_TYPES, RedisStore } from 'agentfootprint/memory'; * ``` */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); __exportStar(require("../memory/index.js"), exports); __exportStar(require("../memory-providers.js"), exports); //# sourceMappingURL=memory.js.map