Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AI Task Automation Agent

An AI agent that automates everyday work tasks like drafting emails, creating reminders, and answering questions. Runs locally using Ollama.

Features

  • Email drafting assistant
  • Task and reminder creation
  • Text summarization
  • Question answering
  • Extensible tool system

Setup

  1. Install dependencies:

    pip install -r requirements.txt
  2. Ensure Ollama is running:

    ollama run llama3.2:3b
  3. Run:

    python task_agent.py

Usage

from task_agent import TaskAgent

agent = TaskAgent()

# Draft an email
email = agent.draft_email(
    recipient="client@company.com",
    subject="Project Update",
    purpose="Update them on project progress"
)
print(email)

# Create a reminder
reminder = agent.create_reminder(
    task="Call client",
    due="Tomorrow 2pm"
)
print(reminder)

Commands

  • email - Draft emails
  • reminder - Create reminders
  • summarize - Summarize text
  • ask - Answer questions
  • help - Show available commands

Project Structure

.
├── task_agent.py      # Main agent implementation
├── tools.py           # Tool definitions
├── memory.json        # Stored tasks/reminders
├── requirements.txt   # Dependencies
└── README.md

How It Works

  1. Parse Intent - Understand what the user wants to do
  2. Select Tool - Choose the appropriate tool (email, reminder, etc.)
  3. Execute - Run the tool with user parameters
  4. Format Output - Return properly formatted result

Requirements

  • Python 3.9+
  • Ollama with llama3.2:3b model

License

MIT

About

AI agent that automates tasks like email drafting, reminders, and scheduling using local LLMs

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages