Autonomous AI agent using reinforcement learning
A fully interactive AI agent that autonomously learns, navigates, and adapts in a dynamic environment.
Built with Python, Flask, and frontend visualization for real-time interaction.
- Overview
- Features
- Technologies
- Demo
- Project Structure
- Installation & Run
- Use Cases
- Contributing
- License
This project demonstrates an autonomous AI agent capable of learning within a grid-based environment.
The agent can explore, avoid obstacles, collect multiple objectives (food items), and optimize its behavior using reinforcement learning principles.
It is designed as a full-stack project with backend AI logic and frontend interactive visualization, making it suitable for learning, portfolio showcase, and hackathons.
- Interactive grid-based environment
- Dynamic grid size and multiple obstacles (walls)
- Multiple food items/rewards for agent to collect
- Real-time score display
- Learning graphs showing AIβs performance over time
- Fully web-based interface using Flask
- Live demo hosted online (accessible publicly)
- Backend: Python, Flask
- Frontend: HTML, CSS, JavaScript
- AI/ML: Reinforcement learning principles
- Deployment: Render.com (live URL)
- Version Control: Git & GitHub
π― Live Project: Click here to try it online
Hereβs a preview of the agent in action:
![Agent Demo Video] "https://share.zight.com/X6uyjjzD"
autonomous_agent_project/ β βββ app.py # Flask application βββ agent.py # AI agent logic βββ environment.py # Grid environment and obstacle logic βββ requirements.txt # Python dependencies β βββ templates/ # HTML files β βββ index.html β βββ static/ # CSS & JS files β βββ style.css β βββ script.js β βββ README.md # Project documentation
- Python 3.10+ installed
- pip package manager
- (Optional) Virtual environment recommended
- Clone the repository:
git clone https://github.com/ShaikZaheer-developer/autonomous-learning-agent.git
cd autonomous-learning-agent
2.Install dependencies:
pip install -r requirements.txt
3.Run the project locally:
python app.py
4.Open your browser:
http://localhost:10000