This repository contains 30 simple AI agent programs, each designed to demonstrate a unique use case for AI or automation. These programs are beginner-friendly and serve as excellent examples of how AI can solve various problems or enhance productivity.
- File:
basic_chatbot.py
- Description: A text-based chatbot that uses the OpenAI API (GPT-3.5) to generate conversational responses based on user input.
- Features:
- Interactive chat
- Natural language understanding
- Dependencies:
openai
- File:
chatbot_huggingface.py
- Description: A locally-run chatbot that uses Hugging Face's GPT-2 model to respond to user input.
- Features:
- Offline support (no API required)
- Lightweight and flexible
- Dependencies:
transformers
- File:
voice_to_text_agent.py
- Description: Accepts voice input via a microphone, transcribes it to text, and interacts with the user using GPT-3.5 for responses.
- Features:
- Speech-to-text with
SpeechRecognition
- Text-based interaction
- Speech-to-text with
- Dependencies:
speechrecognition
,openai
,pyaudio
- File:
keyword_chatbot.py
- Description: Responds to user input based on predefined keywords and phrases, simulating intelligence without requiring external APIs.
- Features:
- Simple and fast
- Fully customizable keyword-response pairs
- File:
advice_generator.py
- Description: Provides random motivational or practical advice from a predefined list.
- Features:
- Randomized responses
- No external dependencies
- File:
weather_simulator.py
- Description: Simulates weather conditions for a given location, including temperature and weather type.
- Features:
- Random weather generation
- Simple text-based interaction
- File:
quiz_bot.py
- Description: A fun and interactive quiz bot that asks multiple-choice questions, checks user answers, and tracks the score.
- Features:
- Randomized questions
- Score tracking
- Dependencies: None
- File:
math_assistant.py
- Description: Solves user-provided mathematical expressions and returns the result.
- Features:
- Handles arithmetic and advanced math functions
- Secure evaluation using Python’s
math
library
- File:
knowledge_base_agent.py
- Description: A question-answering chatbot that uses a predefined knowledge base to simulate intelligence.
- Features:
- Offline capability
- Expandable knowledge base
- File:
task_manager.py
- Description: A personal task manager that allows users to add, view, and mark tasks as complete.
- Features:
- Simple menu interface
- Task tracking and completion management
- Dependencies: None
- File:
expense_tracker.py
- Description: Tracks user expenses, calculates totals, and manages financial records.
- File:
basic_calculator.py
- Description: Performs basic arithmetic operations like addition, subtraction, multiplication, and division.
- File:
password_generator.py
- Description: Generates secure, random passwords based on user preferences.
- File:
todo_list_manager.py
- Description: Manages daily tasks, allowing users to add, view, update, and delete items.
- File:
decision_maker.py
- Description: Helps users make decisions by randomly selecting an option from a user-provided list.
- File:
habit_tracker.py
- Description: Tracks daily habits, marks them as complete, and shows progress.
- File:
flashcard_assistant.py
- Description: Helps users create, review, and track progress on flashcards for studying.
- File:
restaurant_recommendation.py
- Description: Recommends restaurants based on user-provided cuisine preferences.
- File:
motivational_quote.py
- Description: Provides users with random motivational quotes to inspire positivity.
- File:
name_meaning_assistant.py
- Description: Shares fun or interesting meanings of user-provided names.
- File:
travel_itinerary_planner.py
- Description: Suggests activities for selected cities.
- File:
recipe_suggestion.py
- Description: Suggests recipes based on available ingredients.
- File:
travel_itinerary_planner_assistant.py
- Description: Suggests activities for selected cities.
- File:
language_translation_assistant.py
- Description: Translates words/phrases between predefined languages.
- File:
workout_planner.py
- Description: Generates workout routines based on user preferences.
- File:
study_timer.py
- Description: Implements the Pomodoro technique for productivity.
- File:
book_recommendation.py
- Description: Suggests books based on genres.
- File:
movie_suggestion.py
- Description: Recommends movies based on genres and year range.
- File:
music_playlist_generator.py
- Description: Creates playlists based on genre and duration.
- File:
meal_planner.py
- Description: Generates meal plans for the day.
- Clone this repository:
git clone https://github.com/srikant/AI-Agent-Development-Tutorial.git cd AI-Agent-Development-Tutorial
- Install any required dependencies listed in each script using
pip install <dependency>
- Run the desired program
python <file_name>.py
```
Feel free to fork this repository and contribute by adding more AI agents or enhancing the existing ones. Pull requests are welcome!
This project is licensed under the MIT License.
This repository was created by Srikanth Dhondi, a passionate software professional with expertise in artificial intelligence, machine learning, and innovative software solutions. Srikanth thrives on building tools that simplify complex tasks and help others learn the power of AI. Connect with him on LinkedIn to explore his latest projects and insights into the tech world.