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 β