Skip to main content

An AI-powered task planning assistant with calendar generation

Project description

AgentTask

An AI-powered task planning assistant that helps you understand, plan, and schedule your projects with ease.

Features

  • Task Understanding: Converts PDF documents to markdown and generates a comprehensive summary
  • Task Planning: Creates a detailed plan based on your deadline, priority, and preferred working hours
  • Calendar Generation: Generates a calendar file (.ics) that you can import into your calendar app

Installation

pip install agentask

Requirements

  • Python 3.8 or higher
  • Mistral API key (for OCR functionality)
  • Gemini API key (for summary and plan generation)

Setup

  1. Create a project folder (e.g., project)
  2. Inside the project folder, create a folder called info
  3. Place your task description files (PDFs) in the info folder
  4. Create a .env file in the project folder with your API keys:
MISTRAL_API_KEY=your_mistral_api_key
GEMINI_API_KEY=your_gemini_api_key

Usage

Understanding Your Task

understand project

This command will:

  1. Check if the info folder exists and contains PDF files
  2. Convert the PDF files to markdown using Mistral OCR
  3. Generate a summary of the task using Gemini API
  4. Save the summary as summary.md in the info folder

Planning Your Task

plan project

This command will:

  1. Ask for your project deadline in the format day/month/year
  2. Ask for your project priority (0-100%)
  3. Ask for your preferred working hours (e.g., "7-9, 22-23")
  4. Generate a detailed plan using Gemini API
  5. Save the plan as plan.md in the info folder

Generating a Calendar

generate calendar project

This command will:

  1. Check if the plan file exists
  2. Generate a calendar file (.ics) based on the plan
  3. Save the calendar file as calendar.ics in the info folder

Example Workflow

# Create project structure
mkdir -p project/info

# Add your PDF files to the info folder
cp your_task_description.pdf project/info/

# Create .env file with your API keys
echo "MISTRAL_API_KEY=your_mistral_api_key" > project/.env
echo "GEMINI_API_KEY=your_gemini_api_key" >> project/.env

# Understand the task
understand project

# Plan the task
plan project

# Generate a calendar
generate calendar project

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentask-0.1.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentask-0.1.1-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file agentask-0.1.1.tar.gz.

File metadata

  • Download URL: agentask-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for agentask-0.1.1.tar.gz
Algorithm Hash digest
SHA256 18b87f89dbc644bcdec04b1038330958d121042e9ea76dc76b87bcea36f5d58a
MD5 4767b9fe483c603c0cc81d6e7f539cd4
BLAKE2b-256 c5ee47c6d9bd21a6c3925d7558fc79d69292cfc48c19fcaded11fb78529a7669

See more details on using hashes here.

File details

Details for the file agentask-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: agentask-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for agentask-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b270d6c5f89448804ca436afb6b97da06ba84c8e822615bec5f7ae88ea3d0b48
MD5 6d9033fee4cd8ffea27ca5327e517037
BLAKE2b-256 6daa3a0ad5c4e21af0bdf3dc9232aa05fad9a7841e0bbbbae96c91c3d02bd657

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page