Skip to content

feat: add agentId namespace support for memory isolation#6

Merged
daniel-harperdb merged 1 commit intomainfrom
feat/namespace-support
Mar 19, 2026
Merged

feat: add agentId namespace support for memory isolation#6
daniel-harperdb merged 1 commit intomainfrom
feat/namespace-support

Conversation

@daniel-harperdb
Copy link
Collaborator

Summary

Adds agentId as an indexed field on the Memory table, enabling multi-agent memory isolation.

  • Adds agentId: String @indexed to schema.graphql
  • MemorySearch filters by agentId when provided
  • Enables multiple agents to share a Cortex instance without cross-contamination

Test plan

  • Unit tests included (test/namespace.test.js)
  • Manual test: store memories with different agentIds, verify search isolation

@daniel-harperdb daniel-harperdb force-pushed the feat/namespace-support branch from 25a15a2 to 90c15e5 Compare March 19, 2026 20:55
@daniel-harperdb daniel-harperdb merged commit 0542063 into main Mar 19, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant