Your team's code reviews should remember.
ReviewMind is a memory-driven AI code review agent that learns from developer feedback and applies your team's coding conventions to future reviews.
Unlike traditional AI code reviewers that treat every review as a fresh conversation, ReviewMind uses Hindsight to remember what your team has learned over time.
Most AI code reviewers can identify common programming issues, but they don't truly remember how your team prefers to write code.
For example, a team may have a convention:
"Avoid
print()statements in production code."
A traditional AI reviewer may flag it once, but a future review does not necessarily carry that team-specific learning forward.
It creates a continuous learning loop:
Developer submits code
โ
Hindsight RECALL
โ
Retrieve relevant team knowledge
โ
AI Code Review
โ
Developer Feedback
โ
Hindsight RETAIN
โ
Team knowledge improves
โ
Future reviews become more context-aware
ReviewMind combines three main components:
Before reviewing code, ReviewMind recalls relevant team knowledge from Hindsight.
"What coding conventions are relevant to this code?"
โ
Hindsight RECALL
โ
Relevant team memories
The recalled memories are provided to the AI reviewer along with the submitted code.
The reviewer can therefore consider both:
After a review, the developer can provide feedback:
Meaningful feedback is retained in Hindsight.
The next review can then recall that knowledge.
โโโโโโโโโโโโโโโโโ
โ Submit Code โ
โโโโโโโโโฌโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโ
โ Hindsight RECALL โ
โโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโ
โ AI Code Review โ
โโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโ
โ Developer Feedback โ
โโโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโ
โ Hindsight RETAIN โ
โโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโ
โ Better Future โ
โ Code Reviews โ
โโโโโโโโโโโโโโโโโโโโโโ
A developer submits:
def archive_user(user):
print("Archiving user:", user)
return user
ReviewMind recalls the team's existing knowledge and identifies the print() usage based on the team's coding convention.
The developer accepts the feedback.
ReviewMind then stores this learning in Hindsight.
Later, a developer submits completely different code:
def delete_user(user):
print("Deleting user:", user)
return user
This time, ReviewMind can recall the previously learned team convention.
Hindsight Memory
"Team convention: Avoid print statements
in production code. Use structured logging."
The AI reviewer can use this memory while reviewing the new code.
The second review isn't just another isolated AI response.
It is informed by what the team previously learned.
โโโโโโโโโโโโโโโโโโโโโโโ
โ Developer โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โ ReviewMind UI โ
โ Next.js โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โ FastAPI Backend โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโดโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Hindsight Cloud โ โ Groq โ
โ โ โ โ
โ RECALL โ โ AI Code Review โ
โ RETAIN โ โ โ
โโโโโโโโโโฌโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโ
โ โ
โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโ
โ Review + Memory โ
โโโโโโโโโโโโโโโโโโโ
โ
โ
Developer Feedback
โ
โ
Hindsight RETAIN
| Layer | Technology |
|---|---|
| Frontend | Next.js |
| Language | TypeScript |
| Styling | Tailwind CSS |
| Backend | Python |
| API | FastAPI |
| AI Model | Groq |
| Memory | Hindsight |
| Testing | Pytest |
| Version Control | Git + GitHub |
ReviewMind/
โ
โโโ backend/
โ โโโ services/
โ โ โโโ hindsight_service.py
โ โ โโโ llm_service.py
โ โ
โ โโโ tests/
โ โ โโโ test_feedback_endpoint.py
โ โ โโโ test_hindsight_service.py
โ โ โโโ test_llm_service.py
โ โ โโโ test_review_pipeline.py
โ โ โโโ test_review_store.py
โ โ
โ โโโ config.py
โ โโโ main.py
โ โโโ models.py
โ โโโ review_store.py
โ โโโ requirements.txt
โ โโโ .env.example
โ
โโโ frontend/
โ โโโ src/
โ โ โโโ app/
โ โ โ โโโ dashboard/
โ โ โ โโโ learning/
โ โ โ โโโ memory/
โ โ โ โโโ review/
โ โ โ โโโ settings/
โ โ โ โโโ page.tsx
โ โ โ
โ โ โโโ components/
โ โ โโโ lib/
โ โ
โ โโโ package.json
โ โโโ tsconfig.json
โ
โโโ .gitignore
โโโ .env.example
โโโ README.md
git clone https://github.com/ashwini2134/ReviewMind.git
cd ReviewMind
Go to the backend:
cd backend
Create a virtual environment:
python -m venv venv
venv\Scripts\activate
python3 -m venv venv
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Create a .env file inside backend/.
HINDSIGHT_API_KEY=your_hindsight_api_key
HINDSIGHT_BASE_URL=https://api.hindsight.vectorize.io
GROQ_API_KEY=your_groq_api_key
GROQ_MODEL=openai/gpt-oss-120b
TEAM_ID=reviewmind-demo
โ ๏ธ Never commit your real API keys to GitHub.
From the backend directory:
uvicorn main:app --reload
The API will run at:
http://localhost:8000
Health check:
http://localhost:8000/health
Open another terminal:
cd frontend
Install dependencies:
npm install
Start the development server:
npm run dev
The frontend will be available at:
http://localhost:3000
Hindsight is the core of ReviewMind.
ReviewMind uses two important memory operations:
Before a review:
memories = await hindsight.arecall(
bank_id=team_id,
query=query,
budget="mid",
max_tokens=4096
)
The retrieved memories provide team-specific context to the AI reviewer.
After developer feedback:
hindsight.retain(
bank_id=team_id,
content=content,
context=context,
metadata={},
retain_async=False
)
This allows meaningful feedback to become part of the team's future context.
ReviewMind is designed around the idea that memory should be part of the workflow, not just a feature on the side.
Without memory:
Review โ Forget โ Review โ Forget
With ReviewMind:
Review
โ
Learn
โ
Remember
โ
Recall
โ
Improve
The goal is to make the AI reviewer progressively more aligned with the team's coding practices.
The backend includes automated tests covering:
Run:
pytest
Potential future development includes:
ReviewMind is currently an MVP demonstrating a memory-driven AI code review workflow using Hindsight.
The core workflow is:
RECALL โ REVIEW โ FEEDBACK โ RETAIN โ IMPROVE
Ashwini Ravarala
GitHub:
https://github.com/ashwini2134
Feel free to explore the repository, try the workflow, and build on the idea of AI agents that learn from experience.
Next.js ยท FastAPI ยท Groq ยท Hindsight ยท TypeScript ยท Python
TypeScript
55.2%
Python
43.5%
CSS
1.0%
Your team's code reviews should remember.
ReviewMind is a memory-driven AI code review agent that learns from developer feedback and applies your team's coding conventions to future reviews.
Unlike traditional AI code reviewers that treat every review as a fresh conversation, ReviewMind uses Hindsight to remember what your team has learned over time.
Most AI code reviewers can identify common programming issues, but they don't truly remember how your team prefers to write code.
For example, a team may have a convention:
"Avoid
print()statements in production code."
A traditional AI reviewer may flag it once, but a future review does not necessarily carry that team-specific learning forward.
It creates a continuous learning loop:
Developer submits code
โ
Hindsight RECALL
โ
Retrieve relevant team knowledge
โ
AI Code Review
โ
Developer Feedback
โ
Hindsight RETAIN
โ
Team knowledge improves
โ
Future reviews become more context-aware
ReviewMind combines three main components:
Before reviewing code, ReviewMind recalls relevant team knowledge from Hindsight.
"What coding conventions are relevant to this code?"
โ
Hindsight RECALL
โ
Relevant team memories
The recalled memories are provided to the AI reviewer along with the submitted code.
The reviewer can therefore consider both:
After a review, the developer can provide feedback:
Meaningful feedback is retained in Hindsight.
The next review can then recall that knowledge.
โโโโโโโโโโโโโโโโโ
โ Submit Code โ
โโโโโโโโโฌโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโ
โ Hindsight RECALL โ
โโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโ
โ AI Code Review โ
โโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโ
โ Developer Feedback โ
โโโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโ
โ Hindsight RETAIN โ
โโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโ
โ Better Future โ
โ Code Reviews โ
โโโโโโโโโโโโโโโโโโโโโโ
A developer submits:
def archive_user(user):
print("Archiving user:", user)
return user
ReviewMind recalls the team's existing knowledge and identifies the print() usage based on the team's coding convention.
The developer accepts the feedback.
ReviewMind then stores this learning in Hindsight.
Later, a developer submits completely different code:
def delete_user(user):
print("Deleting user:", user)
return user
This time, ReviewMind can recall the previously learned team convention.
Hindsight Memory
"Team convention: Avoid print statements
in production code. Use structured logging."
The AI reviewer can use this memory while reviewing the new code.
The second review isn't just another isolated AI response.
It is informed by what the team previously learned.
โโโโโโโโโโโโโโโโโโโโโโโ
โ Developer โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โ ReviewMind UI โ
โ Next.js โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โ FastAPI Backend โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโดโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Hindsight Cloud โ โ Groq โ
โ โ โ โ
โ RECALL โ โ AI Code Review โ
โ RETAIN โ โ โ
โโโโโโโโโโฌโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโ
โ โ
โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโ
โ Review + Memory โ
โโโโโโโโโโโโโโโโโโโ
โ
โ
Developer Feedback
โ
โ
Hindsight RETAIN
| Layer | Technology |
|---|---|
| Frontend | Next.js |
| Language | TypeScript |
| Styling | Tailwind CSS |
| Backend | Python |
| API | FastAPI |
| AI Model | Groq |
| Memory | Hindsight |
| Testing | Pytest |
| Version Control | Git + GitHub |
ReviewMind/
โ
โโโ backend/
โ โโโ services/
โ โ โโโ hindsight_service.py
โ โ โโโ llm_service.py
โ โ
โ โโโ tests/
โ โ โโโ test_feedback_endpoint.py
โ โ โโโ test_hindsight_service.py
โ โ โโโ test_llm_service.py
โ โ โโโ test_review_pipeline.py
โ โ โโโ test_review_store.py
โ โ
โ โโโ config.py
โ โโโ main.py
โ โโโ models.py
โ โโโ review_store.py
โ โโโ requirements.txt
โ โโโ .env.example
โ
โโโ frontend/
โ โโโ src/
โ โ โโโ app/
โ โ โ โโโ dashboard/
โ โ โ โโโ learning/
โ โ โ โโโ memory/
โ โ โ โโโ review/
โ โ โ โโโ settings/
โ โ โ โโโ page.tsx
โ โ โ
โ โ โโโ components/
โ โ โโโ lib/
โ โ
โ โโโ package.json
โ โโโ tsconfig.json
โ
โโโ .gitignore
โโโ .env.example
โโโ README.md
git clone https://github.com/ashwini2134/ReviewMind.git
cd ReviewMind
Go to the backend:
cd backend
Create a virtual environment:
python -m venv venv
venv\Scripts\activate
python3 -m venv venv
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Create a .env file inside backend/.
HINDSIGHT_API_KEY=your_hindsight_api_key
HINDSIGHT_BASE_URL=https://api.hindsight.vectorize.io
GROQ_API_KEY=your_groq_api_key
GROQ_MODEL=openai/gpt-oss-120b
TEAM_ID=reviewmind-demo
โ ๏ธ Never commit your real API keys to GitHub.
From the backend directory:
uvicorn main:app --reload
The API will run at:
http://localhost:8000
Health check:
http://localhost:8000/health
Open another terminal:
cd frontend
Install dependencies:
npm install
Start the development server:
npm run dev
The frontend will be available at:
http://localhost:3000
Hindsight is the core of ReviewMind.
ReviewMind uses two important memory operations:
Before a review:
memories = await hindsight.arecall(
bank_id=team_id,
query=query,
budget="mid",
max_tokens=4096
)
The retrieved memories provide team-specific context to the AI reviewer.
After developer feedback:
hindsight.retain(
bank_id=team_id,
content=content,
context=context,
metadata={},
retain_async=False
)
This allows meaningful feedback to become part of the team's future context.
ReviewMind is designed around the idea that memory should be part of the workflow, not just a feature on the side.
Without memory:
Review โ Forget โ Review โ Forget
With ReviewMind:
Review
โ
Learn
โ
Remember
โ
Recall
โ
Improve
The goal is to make the AI reviewer progressively more aligned with the team's coding practices.
The backend includes automated tests covering:
Run:
pytest
Potential future development includes:
ReviewMind is currently an MVP demonstrating a memory-driven AI code review workflow using Hindsight.
The core workflow is:
RECALL โ REVIEW โ FEEDBACK โ RETAIN โ IMPROVE
Ashwini Ravarala
GitHub:
https://github.com/ashwini2134
Feel free to explore the repository, try the workflow, and build on the idea of AI agents that learn from experience.
Next.js ยท FastAPI ยท Groq ยท Hindsight ยท TypeScript ยท Python
TypeScript
55.2%
Python
43.5%
CSS
1.0%