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
- Create a project folder (e.g.,
project) - Inside the project folder, create a folder called
info - Place your task description files (PDFs) in the
infofolder - Create a
.envfile 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:
- Check if the
infofolder exists and contains PDF files - Convert the PDF files to markdown using Mistral OCR
- Generate a summary of the task using Gemini API
- Save the summary as
summary.mdin theinfofolder
Planning Your Task
plan project
This command will:
- Ask for your project deadline in the format day/month/year
- Ask for your project priority (0-100%)
- Ask for your preferred working hours (e.g., "7-9, 22-23")
- Generate a detailed plan using Gemini API
- Save the plan as
plan.mdin theinfofolder
Generating a Calendar
generate calendar project
This command will:
- Check if the plan file exists
- Generate a calendar file (.ics) based on the plan
- Save the calendar file as
calendar.icsin theinfofolder
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.0.tar.gz
(15.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
agentask-0.1.0-py3-none-any.whl
(21.4 kB
view details)
File details
Details for the file agentask-0.1.0.tar.gz.
File metadata
- Download URL: agentask-0.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc375e2e9a63463e0127fee8cac3147b1acaa9299661832c88d9811d4e7a5a25
|
|
| MD5 |
41226026377162f1b321fea0c7539247
|
|
| BLAKE2b-256 |
89579e0690e15bb274afc3a4568832e8683c9ea019c3d04afa8dcebf1334329c
|
File details
Details for the file agentask-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentask-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8870d199534c1b19207746a2313663db5f2771c5f86c6ce316789129a81d8d04
|
|
| MD5 |
81079a24288c3b653d98c4b74a7d6d8b
|
|
| BLAKE2b-256 |
3a8bd5e6cb87b8801ddf3ab89203d8fac19f35ae9c45d7c8c44571f749efb056
|