KI-Task-Management

Aufgabenverwaltung für Mensch-KI-Kollaboration mit Token-Tracking, Protokollierung und Meta-Analysen.

StatusAktiv
Datenbankki_protokoll (4 Tabellen)
API/api/v1/tasks
Web-UI/docs/modul/ki-task-management
CLI/var/www/tools/ki-tasks/cli.php
KI-BackendsOllama, Claude Code, Anthropic API

Statistiken

3
Gesamt
0
Offen
0
In Arbeit
3
Fertig

Komponenten

Architektur

Mensch / KI
    ↓
Task erstellen (Web-UI, API, CLI, Hook)
    ↓
┌─────────────────────────────────────┐
│  tasks                              │
│  ├── uuid, title, description       │
│  ├── type (human/ai/mixed)          │
│  ├── priority, status               │
│  └── metadata (JSON)                │
└─────────────────────────────────────┘
    ↓
Task zuweisen
    ↓
┌─────────────────────────────────────┐
│  task_assignments                   │
│  ├── assignee, assignee_type        │
│  ├── model_name                     │
│  └── status (pending → completed)   │
└─────────────────────────────────────┘
    ↓
KI-Ausführung (Ollama / Anthropic API)
    ↓
┌─────────────────────────────────────┐
│  task_results                       │
│  ├── request, response              │
│  ├── tokens_input, tokens_output    │
│  ├── duration_ms, cost_usd          │
│  └── status (success/error)         │
└─────────────────────────────────────┘
    ↓
Protokollierung
    ↓
┌─────────────────────────────────────┐
│  task_comments                      │
│  └── Alle Änderungen dokumentiert   │
└─────────────────────────────────────┘

Schnellstart

Task via CLI erstellen

php /var/www/tools/ki-tasks/cli.php create \
  --title="Analyse durchführen" \
  --type=ai_task \
  --priority=high

Task mit Ollama ausführen

php /var/www/tools/ki-tasks/cli.php execute 1 \
  --executor=ollama \
  --model=mistral

Task via API erstellen

curl -X POST http://localhost/api/v1/tasks \
  -H "Content-Type: application/json" \
  -d '{"title":"Aufgabe","type":"ai_task"}'

Use Cases

Use CaseBeschreibung
Task-ManagementAufgaben erstellen, zuweisen, verfolgen
KI-DelegationTasks an Ollama oder Anthropic API delegieren
ProtokollierungAlle Aktionen mit Timestamps dokumentieren
Token-TrackingVerbrauch und Kosten pro Task messen
Meta-AnalysenStatistiken über Tasks und KI-Nutzung
AutomatisierungTasks aus TODO/TASK Patterns erstellen

Letzte Tasks

ID Titel Typ Status Erstellt
3 Integriere Task-Management in Home/KI-Ch... human_task completed 2025-12-20 03:17
2 Hook-Test von Claude Code ai_task completed 2025-12-20 03:15
1 Test-Task für KI-Analyse ai_task completed 2025-12-20 03:04

Alle Tasks anzeigen →