Added hierarchical memory management module - #4
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request introduces the Anthropic Python SDK as a project dependency and updates the setup documentation to include a “Mira memory demo” walkthrough. It also removes the detailed demo plan document, which impacts the new setup instructions that reference it.
Changes:
- Added
anthropic>=0.112.0topyproject.tomland updateduv.lockaccordingly (including new transitive deps). - Expanded
docs/SETUP.mdwith a new section describing how to run the Mira memory demo (standalone + MCP). - Deleted
docs/DEMO_PLAN.md.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
uv.lock |
Locks the newly added anthropic dependency and its transitive requirements. |
pyproject.toml |
Adds anthropic>=0.112.0 as a project dependency. |
docs/SETUP.md |
Adds instructions for running the Mira memory demo and resetting its SQLite stores. |
docs/DEMO_PLAN.md |
Removes the detailed live demo plan document referenced by the setup guide. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+198
to
+200
| under [`src/memory/`](../src/memory/); `memory.py` is the only backend-specific | ||
| file. Full beat-by-beat script and talking points live in the companion | ||
| `DEMO_PLAN.md` (repo parent directory). |
Comment on lines
+204
to
+206
| The `uv sync` from §0 already installs the one hard dependency (`numpy`). With | ||
| no API keys the demo runs **fully offline and deterministic** — the stage | ||
| default. Real chat/embeddings are optional and independent per capability: |
Comment on lines
+209
to
+211
| uv add anthropic openai # only if you want live LLM calls | ||
| export ANTHROPIC_API_KEY=... # real chat; omit for the deterministic stand-in | ||
| export OPENAI_API_KEY=... # real OpenAI embeddings; omit for the toy 256-dim embedder |
| authors = [{ name = "Saradindu Sengupta" }] | ||
| requires-python = ">=3.10" | ||
| dependencies = [ | ||
| "anthropic>=0.112.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.