An AI agent that autonomously manages software project backlogs — writing tasks to Trello, auditing task completion against real Git commits, and coordinating between GitHub, Trello, and Google Sheets. Built to eliminate "ghost Done cards" and keep project state honest.
In fast-moving dev teams, project management boards drift from reality:
- Cards marked "Done" that never had a real commit behind them
- Backlog in a spreadsheet disconnected from the Trello board
- No automatic detection of when a branch is ready to merge
This agent fixes all three.
POST /api/v1/cron/audit-trello-done scans every card in the Done column and looks for a matching commit (last 30 days, matched by story code US-XX or title keywords). If no commit is found, the agent comments on the card and asks the responsible dev — it doesn't assume the work is done.
- Syncs tasks between Google Sheets (operational) and Trello (visual)
- Auto-assigns the correct team member in Trello
- Discovers new GitHub repos and onboards them into the backlog
POST /api/v1/cron/check-merge-readiness compares develop vs main per project via the GitHub API. If develop has commits that main doesn't, it creates a merge recommendation card with the exact commit count.
┌─────────────────────────────────────────────────────┐
│ FastAPI Application │
│ /api/v1/ │
│ ├── projects/ → Project registry + discovery │
│ ├── tasks/ → Backlog management │
│ └── cron/ → Audit jobs │
└──────────────────────────────────────────────────────┘
│ │ │
┌─────▼──┐ ┌──────▼──┐ ┌──────▼──────┐
│ GitHub │ │ Trello │ │Google Sheets│
│ API │ │ API │ │ API │
└────────┘ └─────────┘ └─────────────┘
Why not GPT to decide if a task is done?
LLMs hallucinate. The agent only checks for hard evidence: a real commit with a matching code or keyword. No commit = not done, period.
Why FastAPI?
Async support for concurrent API calls to GitHub + Trello + Sheets. Pydantic for request validation. Automatic OpenAPI docs.
Python 3.11 · FastAPI · Uvicorn · GitHub API · Trello REST API · Google Sheets API · Vertex AI (optional) · Docker · Cloud Run
git clone https://github.com/Seba-LupeLab/ai-project-manager
cd ai-project-manager
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
uvicorn app.main:app --reload
# Docs at http://localhost:8000/docs# Audit all Done cards for real commits
curl -X POST http://localhost:8000/api/v1/cron/audit-trello-done
# Check merge readiness across all projects
curl -X POST http://localhost:8000/api/v1/cron/check-merge-readiness
# Discover new repos not yet in backlog
curl http://localhost:8000/api/v1/projects/discoverAgente de IA que gestiona autónomamente el backlog de proyectos de software — escribe tareas en Trello, audita el cumplimiento contra commits reales de Git y coordina entre GitHub, Trello y Google Sheets. Construido para eliminar las "tarjetas Done fantasma".
En equipos de desarrollo que avanzan rápido, los tableros de gestión se desconectan de la realidad:
- Tarjetas marcadas como "Done" sin ningún commit real detrás
- Backlog en una hoja de cálculo desconectado del tablero de Trello
- Sin detección automática de cuándo una rama está lista para mergearse
Este agente resuelve los tres.
POST /api/v1/cron/audit-trello-done escanea cada tarjeta en la columna Done y busca un commit coincidente (últimos 30 días, por código US-XX o palabras clave del título). Si no encuentra commit, el agente comenta en la tarjeta y le pregunta al dev responsable — no asume que el trabajo está terminado.
- Sincroniza tareas entre Google Sheets (operacional) y Trello (visual)
- Asigna automáticamente el miembro correcto del equipo en Trello
- Descubre nuevos repos de GitHub y los incorpora al backlog
POST /api/v1/cron/check-merge-readiness compara develop vs main por proyecto vía la API de GitHub. Si develop tiene commits que main no tiene, crea una tarjeta de recomendación de merge con el conteo exacto de commits.
┌─────────────────────────────────────────────────────┐
│ Aplicación FastAPI │
│ /api/v1/ │
│ ├── projects/ → Registro + descubrimiento │
│ ├── tasks/ → Gestión de backlog │
│ └── cron/ → Jobs de auditoría │
└──────────────────────────────────────────────────────┘
│ │ │
┌─────▼──┐ ┌──────▼──┐ ┌──────▼──────┐
│ GitHub │ │ Trello │ │Google Sheets│
│ API │ │ API │ │ API │
└────────┘ └─────────┘ └─────────────┘
¿Por qué no usar GPT para decidir si una tarea está hecha?
Los LLMs alucinan. El agente solo verifica evidencia concreta: un commit real con código o palabras clave coincidentes. Sin commit = no está hecho, punto.
Python 3.11 · FastAPI · Uvicorn · GitHub API · Trello REST API · Google Sheets API · Vertex AI (opcional) · Docker · Cloud Run
git clone https://github.com/Seba-LupeLab/ai-project-manager
cd ai-project-manager
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
uvicorn app.main:app --reload
# Documentación en http://localhost:8000/docs