Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Powered by [Nebius AI Studio](https://dub.sh/nebius) - your one-stop platform fo
- [LangChain-LangGraph Starter](starter_ai_agents/langchain_langgraph_starter) - LangChain + LangGraph starter.
- [AWS Strands Agent Starter](starter_ai_agents/aws_strands_starter) - Weather report Agent.
- [Camel AI Starter](starter_ai_agents/camel_ai_starter) - Performance benchmarking tool that compares the performance of various AI models.
- [Career_Guidence](simple_ai_agents/Career_Guidence) - Gives the guidence and roadmap towards career based on the user selected options,it also supports Traditional Rag.
- [Recruitify](simple_ai_agents/Recruitify) - A web app that analyse the resume based on the JobDescription,Interview Question,Enhance Resume,Practise interview based on the question generated.

## 🪶 Simple Agents

Expand All @@ -47,6 +49,7 @@ Powered by [Nebius AI Studio](https://dub.sh/nebius) - your one-stop platform fo
- [Nebius Chat](simple_ai_agents/nebius_chat) - Nebius AI Studio Chat interface.
- [Talk to Your DB](simple_ai_agents/talk_to_db) - Talk to your Database with GibsonAI & Langchain


## 🗂️ MCP Agents

**Examples using Model Context Protocol:**
Expand Down Expand Up @@ -96,6 +99,8 @@ Powered by [Nebius AI Studio](https://dub.sh/nebius) - your one-stop platform fo
- [Price Monitoring Agent](advance_ai_agents/price_monitoring_agent) - Price monitoring and alerting Agent powered by CrewAi, Twilio & Nebius.
- [Startup Idea Validator Agent](advance_ai_agents/startup_idea_validator_agent) - Agentic Workflow to validate and analyze startup ideas.
- [Meeting Assistant Agent](advance_ai_agents/meeting_assistant_agent) - Agentic Workflow that send meeting notes and creates task based on conversation.
- [AlgoMentor](advance_ai_agents/AlgoMentor) - Agentic Workflow that give the BruteForce,SubOptimal & Optimal Approach and code of the Problem , and also supports the notes making .
-[ScholaeLens](advance_ai_agents/ScholarLens) - Agentic Workflow for Find Research Paper,Summarizer,Agentic Rag With Pinecone and Agnno, and Companion of papers.

## 📺 Playlist of Demo Videos & Tutorials

Expand Down
7 changes: 7 additions & 0 deletions advance_ai_agents/AlgoMentor/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# API Keys
GROQ_API_KEY=your_groq_api_key_here
GOOGLE_API_KEY=your_google_api_key_here

# Application Settings
DEBUG=False
LOG_LEVEL=INFO
80 changes: 80 additions & 0 deletions advance_ai_agents/AlgoMentor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec
# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/


# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# VS Code
.vscode/

# Streamlit
.streamlit/
secrets.toml


# Temporary files
*.tmp
*.temp
*.swp
*.swo

# Logs
*.log
logs/

# Database
*.db
*.sqlite
*.sqlite3

# Cache
.cache/
*.cache
89 changes: 89 additions & 0 deletions advance_ai_agents/AlgoMentor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# DSA Assistant 🚀

Your AI-powered coding mentor for problem-solving & algorithm optimization

## ✨ Features

- **🎯 Basic Approach**: Generate brute-force solutions with clear explanations
- **⚡ Sub-Optimal Solutions**: Improve efficiency step by step
- **🏆 Optimal Solutions**: Find the most efficient algorithms
- **🔍 Code Verification**: Test and validate solutions automatically
- **📚 Notes Generation**: Transform code into comprehensive study notes
- **🎨 Interactive UI**: Beautiful Streamlit interface with progress tracking

## 🚀 Quick Start

### Installation

```bash
# Clone the repository
git clone https://github.com/ankush0511/AlgoMentor.git
cd AlgoMentor

# Install dependencies
pip install -r requirements.txt

# Set up environment variables
cp .env.example .env
# Add your API keys to .env file
```

### Environment Setup

Create a `.env` file with:
```
GROQ_API_KEY=your_groq_api_key
GOOGLE_API_KEY=your_google_api_key
```

### Run the Application

```bash
streamlit run main.py
```

## 📁 Project Structure

```
DSAAssistant/
├── 📁 src/ # Source code
│ ├── 📁 agents/ # AI agents for different optimization levels
│ ├── 📁 models/ # Pydantic data models
│ ├── 📁 utils/ # Utility functions
│ ├── 📁 ui/ # User interface components
│ └── 📁 core/ # Core application logic
├── 📁 config/ # Configuration files
├── 📁 tests/ # Test files
├── 📁 docs/ # Documentation
├── 📁 assets/ # Static assets
├── 📄 main.py # Application entry point
├── 📄 requirements.txt # Python dependencies
├── 📄 .env.example # Environment variables template
└── 📄 README.md # Project documentation
```

## 🛠️ Usage

1. **Enter Problem**: Paste your DSA problem or use example problems
2. **Basic Approach**: Get brute-force solution with explanation
3. **Sub-Optimal**: Improve the solution step by step
4. **Optimal**: Achieve the most efficient algorithm
5. **Notes**: Generate comprehensive study notes from your code

## 🤝 Contributing

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Add tests if applicable
5. Submit a pull request

## 📄 License

This project is licensed under the MIT License.

## 🙏 Acknowledgments

- Built with [Streamlit](https://streamlit.io/)
- Powered by [Groq](https://groq.com/) and [Google AI](https://ai.google/)
- Uses [Agno](https://github.com/agno-ai/agno) for AI agent orchestration
48 changes: 48 additions & 0 deletions advance_ai_agents/AlgoMentor/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions advance_ai_agents/AlgoMentor/config/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Configuration settings"""
24 changes: 24 additions & 0 deletions advance_ai_agents/AlgoMentor/config/settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import streamlit as st
import os
from dotenv import load_dotenv

load_dotenv()

# API Configuration
# GROQ_API_KEY = os.getenv("GROQ_API_KEY")
# GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
groq_api_key=st.secrets['GROQ_API_KEY']
google_api_key=st.secrets['GOOGLE_API_KEY']

# Model Configuration
GROQ_MODEL = "llama-3.3-70b-versatile"
GEMINI_MODEL = "gemini-2.0-flash"

# UI Configuration
PAGE_TITLE = "DSA Assistant"
PAGE_LAYOUT = "wide"
SIDEBAR_STATE = "expanded"

# Application Settings
DEBUG = os.getenv("DEBUG", "False").lower() == "true"
LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO")
Loading