AI agents and automation for legacy systems

I’m Tan Le, a full-stack developer in Calgary who works mostly on the backend. I add scheduled jobs and AI agents beside the .NET, SQL Server and inboxes you already run.

About 25 jobs run every morning across various businesses, since 2022.

Order emails, looked up before anyone logs in

The Inbox Agent sorts each email. The Customer Service Agent reads the order through a read-only MCP server and drafts the reply. Operations approves it. Read the MCP case study

An agent team that takes a ticket to a pushed branch

Six agents, one job each, and I approve at every gate. How it runs on a real .NET codebase

The Leader hands each step to one subagent

Spec, Plan, Worker, Reviewer and QA took SUP-4 from a Notion ticket to a branch in 29 minutes.

start-ticket/SUP-421m 54sRunning
LLeader, after plan approval
  1. Specticket to spec.md3m 51s
  2. Plan17 steps3m 41s
  3. Workersrc and tests11m 40s
  4. Reviewre-run tests2m 42s
  5. QAapp on own DBQueued

The review agent re-runs the test suite itself

No read-only role has a write tool. The Reviewer returns review.md as text and the Leader saves it.

review.md, SUP-4
4 of 4
  • Suite re-run: 77 of 77 pass
  • Migration tests stable over 6 runs
  • Old and new schema compared
  • Decision: PASS, notes only

The Leader agent waits for me at each gate

I approve the spec, the plan and the ship. A low-risk ticket may skip the first two.

  • Review and QA passedSUP-4 is ready to commit and pushShip
  • Plan ready, 17 stepsAdds two files the spec did not name
  • Spec revision 1 approved9 functional requirements, 10 acceptance criteria

A workflow script runs the review loop

Worker, Reviewer, then QA, at most two fix rounds. A hook keeps the Leader out of the code.

implement-reviewSUP-6
~/support$workflow implement-review
3 of 3 agents
worker9 files changeddone
reviewerround 0PASS
qarunning appPASS
Tests77 to 82, all pass
READY_FOR_SHIPto gate G3

Services for teams on older systems

The same work as the agents above, taken on as a fixed-scope project or a monthly retainer.

Project scope, phase 1
Vendor invoices into SQL Server
Invoices from the shared mailbox are read and their line items written to SQL Server, shipped and usable before phase 2 starts.
Lines that match no purchase order go to a review sheet. Nothing is paid or posted without a person.
After launch: an optional block of monthly hours to keep the job running as vendors change their layouts.

Agents that sit beside your .NET and SQL

Agents reach your data through read-only connectors behind IP allowlists. Anything that touches money or customers goes to a person first.

  • OpenAI, Gemini and Claude behind one JSON contract
  • Writes switched off in configuration
  • Every run ends in a summary someone reads

Read how the hub is built

Case studies from systems in production

Each one runs unattended for a real business. The write-ups give the stack, the numbers and what broke.

C#ReplyParser.csC#Invariants.cs3 guards
Triage? Parse(string raw) {
  var json = Braces.First(raw);
  if (json is null)
    return Hold(raw);
  // tolerant: "3" or 3
  var t = Json.Read<Triage>(json);
  Rules.Enforce(t);
  return t;
}
Takes the first whole JSON object.

Trustworthy at 6 a.m.

Impressive in a demo is easy. Six years on HSBC’s 24/7 payment channels taught me the rest.

2022 to now

Developer at Ticket Shine

Automation hub, AI email triage and the MCP server.

2021 to now

Contract developer

Invoice parsing for GMD Stores, Staffpoint scheduling.

2014 to 2020

Delivery officer at HSBC

Card repayment gateway, CEO Recognition Award 2017.

2003 to 2014

Developer at FPT

iHRP payroll in .NET at FPT Information System, used by 50+ clients.

  • CredentialsGoogle Cloud Professional Cloud Architect · PMP · ECBA
  • LanguagesEnglish · Vietnamese

Project brief for one manual job

Tell me what people still do by hand every morning, or what breaks when nobody is watching.

  • BaseCalgary, Alberta
  • Time zoneMountain Time
  • WorksOn-site or remote

I reply within one business day.