Metadata-Version: 2.1
Name: taskara
Version: 0.1.4
Summary: Task management for AI agents
License: Apache 2.0
Author: Patrick Barker
Author-email: patrickbarkerco@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: pydantic (>=2.6.4,<3.0.0)
Requires-Dist: sqlalchemy (>=2.0.29,<3.0.0)
Requires-Dist: threadmem (>=0.2.11,<0.3.0)
Description-Content-Type: text/markdown

# Taskara

Task management for AI agents

## Installation

```sh
pip install taskara
```

## Usage

```python
from taskara import Task

task = Task(
    description="Search for the most common varieties of french ducks",
    owner_id="delores@agentsea.ai"
)

task.assigned_to = "roko@agentsea.ai"

task.post_message("assistant", "Getting started working on this")
task.status = "in progress"

task.create_thread("prompts")
task.post_message("assistant", "I'll post prompts to this thread", thread="prompts")
task.post_message("assistant", '{"role": "user", "content": "Hello?"}', thread="prompts")

task.output = "The most common type of french duck is the Rouen"
task.status = "success"

task.save()
```

#### Supported Backends

- Sqlite
- Postgresql

