Skip to content
All work

2026 · Internal Tool

Support Hub — AI-Assisted Ticket Workspace

Internal tool that pulls support tickets from Trello, lets an AI agent investigate them against the codebase and a read-only database, and sends acknowledgements and deliverables back to the team.

Python · MySQL · SQLite · AI Agents · Trello API · AWS SSM

Internal tool I built at work. The source is private.

Support tickets for a production system used to mean switching between Trello, a database client, the codebase, a group chat, and a spreadsheet. Support Hub puts that work in one local web app, with an AI agent doing the first pass of each investigation.

The problem

Each ticket followed the same loop: read the card, find the affected records, trace the cause in the code, write up findings, prepare a fix script, and reply to the requester. Most of the time went into gathering context rather than solving the issue.

How it works

  • One process, one page. A Python standard-library HTTP server and a single static HTML page, with no build step.
  • Ticket context in, deliverables out. Opening a ticket loads its Trello description and attachments into the chat. An investigation produces findings as Markdown, converted to PDF, plus Excel exports and SQL scripts.
  • Safe database access. The agent can only run read-only queries through a managed AWS Session Manager tunnel. Fixes are delivered as guarded dry-run SQL scripts for a human to review and run.
  • Team communication. New ticket posts in the team's WhatsApp group get an automatic acknowledgement that mentions the requester by name.
  • Pluggable AI engine. The agent runs through a CLI, so the model can be switched in settings without code changes.

Design decisions

  1. Read-only by default: the AI never writes to production. This kept the tool safe to use on live data from day one.
  2. No web framework: the standard library HTTP server was enough for a single-user local tool, which keeps the dependency list to four small packages.
  3. Persistent notes: the agent keeps editable notes between chats, so recurring issues don't have to be explained again.