Skip to content

feat(ai-core): semantic recall adapter for AgentMemoryPort (E10) #499

Description

@rickylabs

AgentMemoryPort.recall is a declared optional seam with no shipped implementation (packages/ai/src/ports/memory.ts, E10). eis-chat proves the pattern app-side: cosine recall over embedded memories injected per turn (packages/channel/mod.ts:422-528, routes/api/chat.ts:464-488).

Ship a reference adapter composing EmbeddingProviderPort + a pluggable vector-store seam (KV-backed starter), keeping stores app-owned per the persistence law.

Acceptance criteria

  • recall returns scored RecallResults; the loop falls back to load when recall is absent (existing behavior, regression-tested).

Found by the beta.5 eis-chat validation gate (charter Step 3). Refs #219.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions