assets
Added Screenshotsstatic
added drive and github url support.gitignore
feat: implement FastAPI-based backend and web interface for AI-powered code analysis and architecture visualization.python-version
feat: implement FastAPI-based backend and web interface for AI-powered code analysis and architecture visualizationapp.py
CodeMind-AI CommitLICENSE
Initial commitprompt.py
CodeMind-AI Commitpyproject.toml
feat: implement FastAPI-based backend and web interface for AI-powered code analysis and architecture visualizationREADME.md
feat: implement FastAPI-based backend and web interface for AI-powered code analysis and architecture visualizationrequirements.txt
feat: implement FastAPI-based backend and web interface for AI-powered code analysis and architecture visualizationserver.py
added drive and github url supportstreamlit_css.py
CodeMind-AI Commituv.lock
feat: implement FastAPI-based backend and web interface for AI-powered code analysis and architecture visualization🧠 CodeMind AI – AI Developer Assistant
An AI-powered developer tool designed to analyze, debug, and optimize code using modern LLM capabilities.
Built with a focus on Developer Experience (DX), this project goes beyond a basic wrapper and introduces agentic behavior, structured reasoning, and conversational memory.
🚀 Features
🔍 Code Analysis
- Explain code in simple or advanced terms
- Detect bugs and inefficiencies
- Suggest improvements and optimizations
🧠 Agent Mode (Multi-Step Reasoning)
- Iteratively improves code
- Simulates real developer workflow
- Provides explanation of changes
💬 Chat Mode (Context-Aware)
- Maintains conversation history
- Understands previous analysis
- Helps with debugging, concepts, and improvements
⚡ AI Powered
- Integrated with Google Gemini API
- Fast and efficient responses
- Optimized for developer use cases
🧠 What Makes This Different?
Unlike basic AI wrappers, this project:
- Uses structured step-by-step reasoning
- Maintains context between analysis and chat
- Implements agent-like iterative improvement
- Focuses on real developer workflows
🛠️ Tech Stack
- Python
- Streamlit
- Google Gemini API
- python-dotenv
List Of Gemini Models You Can Use
- gemini-2.0-flash
- gemini-2.0-flash-lite
- gemini-2.5-pro
- gemini-2.5-flash
📸 Screenshots
🔹 Landing Image
🔹 Analysis Mode
🔹 Chat Mode
▶️ How to Run Locally
1. Clone the Repository
git clone https://github.com/kathankraithatha/CodeMind-AI.git
cd CodeMind-AI2. vertual environment
python -m venv .venv
# for linux/mac
source .venv/bin/activate
# OR for windows
.\.venv\Scripts\activate3. Install Dependencies
pip install -r requirements.txt4. Setup .ENV file
GOOGLE_API_KEY = your_gemini_api_key_here5. Run The Application
streamlit run app.py6. Run the Application (New)
uvicorn server:app --reload🔐 Note
- Make sure your
.envfile is not pushed to GitHub - API keys should always remain private
🎯 Future Improvements
- 🔧 Code execution agent (run + fix + re-evaluate)
- 🧠 Persistent memory across sessions
- 📂 Multi-file code support
- 🔌 IDE integrations (VS Code extension)
🤝 Contributing
Contributions are welcome!
Feel free to open issues or submit pull requests.
📬 Contact
If you’d like to collaborate or discuss Developer Relations opportunities, feel free to connect:
- LinkedIn: https://linkedin.com/in/kathank
- GitHub: https://github.com/kathankraithatha
- Email: kathankraithatha@gmail.com
Leave a Star for CodeMind-AI ⭐