Skip to content

feat: add MetaGPT Valkey cookbook - #85

Closed
atao2004 wants to merge 1 commit into
mainfrom
cookbook-metagpt
Closed

atao2004 wants to merge 1 commit into
mainfrom
cookbook-metagpt

Conversation

@atao2004

Copy link
Copy Markdown

Summary

Add a runnable MetaGPT Valkey integration cookbook covering setup, vector-store RAG, and production deployment.

Changes Made

  • Add getting-started, vector-store RAG, and production guides.
  • Add a standalone ValkeyVectorStore sample using valkey-glide-sync.
    • Keeps the cookbook runnable while MetaGPT PR #2063 remains open and unreleased.
    • Uses lazy connection creation, configurable timeouts, TLS/authentication, atomic batches, safe SCAN-based cleanup, dimension validation, and safe vector query parameters.
    • Catches GLIDE RequestError in check_connection() and includes a regression test.
  • Add executable sample entry point, dependency list, environment example, Docker Compose setup, and live integration tests.
  • Add cookbook Python CI workflow.

Testing

  • 10 live integration tests passed against Valkey Bundle.
  • End-to-end sample passed.
  • Markdown lint passed.
  • Python syntax validation and git diff --check passed.
  • Focused pytest rerun was unavailable in the final shell because llama_index was not installed; the regression test is included for CI.

Upstream Status

The cookbook tracks FoundationAgents/MetaGPT#2063, which is still open and unmerged.

Notes

The sample intentionally does not depend on an unreleased MetaGPT package. The sequential SCAN + JSON.GET deletion path is retained because it supports matching arbitrary source-document IDs and is documented in the guide.

Signed-off-by: Anna Tao <annatao2004@gmail.com>
@jbrinkman jbrinkman added the Cookbook Cookbooks are tutorials with runnable code that highlights how to use Valkey in specific scenarios label Aug 12, 2026
@jbrinkman

Copy link
Copy Markdown
Collaborator

Closing this draft PR as part of a cookbook program cleanup.

@jbrinkman jbrinkman closed this Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cookbook Cookbooks are tutorials with runnable code that highlights how to use Valkey in specific scenarios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants