Skip to content

feat(python-sdk): MemoryClient with store/search/delete#11

Merged
Shaivpidadi merged 1 commit intodevfrom
feat/1.4d-context-memory-rebase
Apr 20, 2026
Merged

feat(python-sdk): MemoryClient with store/search/delete#11
Shaivpidadi merged 1 commit intodevfrom
feat/1.4d-context-memory-rebase

Conversation

@Shaivpidadi
Copy link
Copy Markdown
Member

Replaces PR #8. Rebased onto dev.

- src/governs_ai/memory.py: MemoryClient class
  - store(content, metadata, user_id, agent_id) → dict
  - search(query, top_k, user_id, threshold) → List[MemoryResult]
  - delete(memory_id) → None
  - async variants: async_store, async_search, async_delete
  - MemoryResult dataclass: memory_id, content, score, metadata
- client.memory property wired into GovernsAIClient
- 5 unit tests: store payload, search result list, empty search, delete id, async store

Refs: GOV-39
@Shaivpidadi Shaivpidadi merged commit 9c9edc9 into dev Apr 20, 2026
1 check passed
@Shaivpidadi Shaivpidadi deleted the feat/1.4d-context-memory-rebase branch April 20, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant