Implement Persistent Memory and Code Analysis

implementationChallenge

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

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