Skip to content

srikant/AI-Agent-Development-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple AI Agent Programs

Simple AI Agent Programs

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.


AI Agents Overview

1. Basic Chatbot with GPT-3.5 API

  • 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

2. Simple Chatbot with Hugging Face GPT-2

  • 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

3. Voice-to-Text AI Agent with OpenAI Whisper

  • 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
  • Dependencies: speechrecognition, openai, pyaudio

4. Keyword-Based AI Chatbot

  • 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

5. Random Advice Generator

  • File: advice_generator.py
  • Description: Provides random motivational or practical advice from a predefined list.
  • Features:
    • Randomized responses
    • No external dependencies

6. Weather Simulation AI Agent

  • 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

7. Quiz Bot with Multiple-Choice Questions

  • 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

8. Math Assistant AI Agent

  • 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

9. Knowledge Base AI Agent

  • 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

10. Task Manager AI Agent

  • 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

11. Expense Tracker AI Agent

  • File: expense_tracker.py
  • Description: Tracks user expenses, calculates totals, and manages financial records.

12. Basic Calculator AI Agent

  • File: basic_calculator.py
  • Description: Performs basic arithmetic operations like addition, subtraction, multiplication, and division.

13. Password Generator AI Agent

  • File: password_generator.py
  • Description: Generates secure, random passwords based on user preferences.

14. To-Do List Manager AI Agent

  • File: todo_list_manager.py
  • Description: Manages daily tasks, allowing users to add, view, update, and delete items.

15. Decision-Making Assistant AI Agent

  • File: decision_maker.py
  • Description: Helps users make decisions by randomly selecting an option from a user-provided list.

16. Habit Tracker AI Agent

  • File: habit_tracker.py
  • Description: Tracks daily habits, marks them as complete, and shows progress.

17. Flashcard Study Assistant

  • File: flashcard_assistant.py
  • Description: Helps users create, review, and track progress on flashcards for studying.

18. Restaurant Recommendation AI Agent

  • File: restaurant_recommendation.py
  • Description: Recommends restaurants based on user-provided cuisine preferences.

19. Motivational Quote Assistant

  • File: motivational_quote.py
  • Description: Provides users with random motivational quotes to inspire positivity.

20. Name Meaning Assistant

  • File: name_meaning_assistant.py
  • Description: Shares fun or interesting meanings of user-provided names.

21. Travel Itinerary Planner

  • File: travel_itinerary_planner.py
  • Description: Suggests activities for selected cities.

22. Recipe Suggestion Assistant

  • File: recipe_suggestion.py
  • Description: Suggests recipes based on available ingredients.

23. Travel Itinerary Planner

  • File: travel_itinerary_planner_assistant.py
  • Description: Suggests activities for selected cities.

24. Language Translation Assistant

  • File: language_translation_assistant.py
  • Description: Translates words/phrases between predefined languages.

25. Daily Workout Planner

  • File: workout_planner.py
  • Description: Generates workout routines based on user preferences.

26. Study Timer Assistant

  • File: study_timer.py
  • Description: Implements the Pomodoro technique for productivity.

27. Book Recommendation Assistant

  • File: book_recommendation.py
  • Description: Suggests books based on genres.

28. Movie Suggestion Assistant

  • File: movie_suggestion.py
  • Description: Recommends movies based on genres and year range.

29. Music Playlist Generator

  • File: music_playlist_generator.py
  • Description: Creates playlists based on genre and duration.

30. Meal Planner Assistant

  • File: meal_planner.py
  • Description: Generates meal plans for the day.

How to Use

  1. Clone this repository:
    git clone https://github.com/srikant/AI-Agent-Development-Tutorial.git
    cd AI-Agent-Development-Tutorial
  2. Install any required dependencies listed in each script using
    pip install <dependency>
  3. Run the desired program
  python <file_name>.py
  ```

Contribution

Feel free to fork this repository and contribute by adding more AI agents or enhancing the existing ones. Pull requests are welcome!

License

This project is licensed under the MIT License.

Author

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.

About

AI Agent Development Tutorial by Srikanth Dhondi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages