Generate a synthetic product review written from the perspective of a described customer persona.
Get product recommendations tailored to a persona's interests and local economic conditions.
Study how memory and economic context could shape an AI agent's simulated purchasing decisions.
| matt-wisdom/bcthack | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | 0 | 0 | — |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-08 |
| Maintenance | — | — | Dormant |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 4/5 | 4/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Docker Compose and a Google Gemini API key (or a local Ollama instance).
RecAgent is a consumer agent framework built for a hackathon that simulates how a real person might research and respond to products. It models cognitive memory in three layers: a fast sensory layer for processing raw product and environment data, a short term layer for managing the current session context, and a long term layer backed by a vector database that stores past behaviors and insights, with a mathematical forgetting mechanism so older memories fade over time. The system takes a persona description, for example a price conscious student from Lagos who loves photography, and uses that profile alongside real time economic data such as inflation rates and exchange rates specific to the persona's country to reason about whether a product fits that person's actual purchasing situation. It can search a local product catalog offline or use a web search tool to find products in real time. The framework exposes two main API endpoints. One generates a product review from the perspective of the described persona. The other generates personalized product recommendations based on the persona's interests, drawing from product datasets including Amazon, Jumia, and a local store catalog. You would use this if you are building or experimenting with AI agents that simulate consumer behavior, for example to generate realistic synthetic reviews, test how different personas respond to product recommendations, or study how economic context affects purchasing decisions. The backend is a containerized FastAPI application using LangGraph for agent reasoning, ChromaDB for vector database memory, and a language model for complex reasoning. It is written in Python and runs via Docker Compose.
A hackathon project that simulates consumer behavior, generating persona-based product reviews and recommendations shaped by local economic data.
Mainly Python. The stack also includes Python, FastAPI, LangGraph.
No license file is mentioned in the README, so terms of reuse are unclear.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.