Implement Persistent Memory and Code Analysis

implementationChallengeNovember 20, 2025

Prompt Content

Implement the 'Memory Manager Agent' using a vector database (e.g., Pinecone/Qdrant) to store embeddings of code snippets, architectural patterns, and previous refactoring decisions. Develop an initial 'Code Analysis Agent' that leverages GPT-5 to analyze a provided codebase, generating embeddings of its key components and storing them in the persistent memory. This agent should identify initial refactoring opportunities based on code smells or complexity metrics.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations