← Back

An AI agent project, 2026

Support Investigator: an AI agent for cloud-security support tickets

An AI agent that investigates a common cloud-security support ticket and sends what it finds to the right people: the customer, engineering, the product manager and the help-article owner. Tested against a fixed troubleshooting script on the same cases. Fixed rules outside the AI and a person's approval control everything it can change. Synthetic cases in a simulated environment, not evidence of real customer impact.

Product
Lanternfield Cloud Posture, a fictional cloud-security product
My role
Product decisions and evaluation; code written by AI coding agents from my briefs
Model
GPT-6 Luna, chosen by measured pass rate and cost
Status
Built and tested on synthetic cases, October 2026

The problem

Synthetic company, customers and data. Results come from a simulated environment and are not evidence of real customer impact.

When a cloud-security product shows no findings for part of a customer’s estate, a support engineer has to work out why. Is the account disconnected? Missing a permission? Is the region simply not being scanned? Is it an incident on our side? The answer sits across several tools, and the help centre can be wrong. Support Investigator is a prototype AI agent that does that investigation, proposes the next step, and leaves every change that matters to a person.

A real support team does not work in one screen. The demo shows the five tools the work touches, each played as its own product: the customer’s help centre, the support engineer’s help desk, the product team’s issue tracker, the knowledge base, and the support manager’s analytics.

Watch it

One ticket across five tools

Recorded replay. Synthetic: fictional customers, simulated environment, not evidence of real customer impact. No voice.

One ticket, start to finish

Rahul at the fictional Juniper Studios sees findings for his Europe workloads and nothing for Asia. The help article told him new regions are scanned automatically. It is wrong for version 4.3 of the product.

The agent chooses its own checks: the product guide, the account’s connection, permissions, scan history, service incidents and the help articles. The account is healthy; Asia (ap-south) was never in the scan scope.

It first tries to correct the wrong article, but its change would rename it. A fixed rule blocks that. The agent corrects the fix, and Asha, the support engineer, approves it as a draft for Vikram, who owns the help centre; customers and the agent’s own search cannot see it until he publishes it.

The agent then asks Rahul one question: should ap-south be scanned? A question changes nothing on the account, so once the fixed rules pass it, it goes out without waiting for a person. Rahul says to include ap-south. Adding a region is a real change, so Asha approves it.

The first check fails: no scan has covered ap-south yet. The agent asks for a rescan; Asha approves; the check passes. Asha approves the closing reply, and the ticket closes as fixed and verified: one rule stop, one question sent on its own, five approvals by people (four by Asha, one by Vikram), twelve model calls, about one rupee.

Responsible AI and governance, in plain words

Responsible AI means building an AI system so that it is safe to rely on: it stays inside clear limits, people stay in charge of the decisions that matter, you can see what it did and why, and you are honest about what it cannot do. Governance is the part that keeps it that way over time: who is allowed to change what, how a change is checked before it takes effect, and the record that shows who decided.

How I applied them here:

  • Limits it cannot cross. The agent only sees the records of the customer whose ticket it is working on, and a cap on steps and on spend stops a run before it runs away. These are fixed rules outside the AI, not instructions it could ignore.
  • People in charge where it matters. Anything that changes a customer’s account, edits the help centre, escalates to engineering or closes a ticket needs a person’s approval of that exact version. A plain question to the customer does not, because it changes nothing.
  • Proof, not claims. A fix is not closed until a check proves it worked. A reply cannot cite evidence the agent did not actually read.
  • You can see everything. Every step is labelled as the agent’s judgement, a rule check or a person’s approval, and every run is recorded and can be replayed. Demo screens say “Recorded replay” and “Synthetic” so nobody mistakes them for live customer data.
  • Governed knowledge. The agent can suggest a fix to a wrong help article, but it stays invisible to customers and to the agent’s own search until the article’s owner publishes it.
  • Governed changes to the agent itself. The agent’s instructions change one idea at a time, each change is tested and logged, the final test cases are locked away from tuning, and paid runs need my approval and stay inside a budget.
  • Honest about limits. The data is synthetic, the environment is simulated, and the section “What is not measured” says what these results do not show.

Who decides what

The agent can look and it can propose. It can send a low-risk question on its own; it cannot change anything on its own. Fixed rules outside the AI decide what it may touch, and a person decides what changes:

  • Boundaries: it can only read the records of the customer whose ticket it is working on.
  • Approval matched to risk: a clarifying question to the customer goes out without approval once the rules pass it (one question, on a known topic, backed by evidence the agent read). Anything that changes the account, edits a help article, escalates to engineering, offers a call or closes the ticket needs a person’s approval, and the approval belongs to that exact version. A changed proposal needs a new decision.
  • The customer’s own systems: support never edits the customer’s cloud role. It sends steps for the customer to apply. Adding a region needs the customer’s agreement.
  • Proof before closing: a fix cannot be closed until a check proves it worked.
  • Limits: a cap on steps and on spend stops a run before it runs away.

The target for breaking any of these is zero, and the recorded runs met it.

Here is that logic as a workflow. Each box is a step, each labelled arrow is a route that depends on the result, and the pause is where the workflow waits for a person. Low-risk questions skip the pause; changes never do.

The workflow as a graph, and who decides. Open the diagram full size

Why no agent framework (LangChain, LangGraph)? This is the pattern LangGraph is built for: a graph of steps, routes that depend on results, and interrupts where a person decides. Frameworks speed up building, but they put the loop and its rules inside someone else’s design. For this product the selling point is that the rules protecting a customer’s account are separate, visible and tested, so I built the same graph directly.

Agentic RAG: how the agent finds the right help article

This is retrieval-augmented generation (RAG), in three steps. Retrieve: the agent decides when to look something up; it is a tool it chooses to use, not a step it always runs, and search returns at most three approved articles that apply to the customer’s version. Augment: those articles join the account evidence the agent has gathered. Generate: the agent writes its proposal or reply from both and cites the article, and the fixed rules check that the citation is real. In the Asia regions ticket it searched twice and found the article that was wrong for 4.3.

There are three ways to match an article: exact words, a smarter word ranking that weighs rare words more, and meaning (an embedding model that runs locally, so it costs nothing per search). I measured all of them, and a combination of the word ranking and meaning, before changing anything:

Search 50 practice cases, 12 original articles 50 cases, 212 articles 60 frozen test queries
Exact words (the original) 0.37 0.28 0.47
Word ranking 0.44 0.31 0.70
Meaning 0.29 0.36 0.73
Combined 0.39 0.41 0.76

The measure is how often a right article is in the top three. On queries in Hinglish, combined scored 0.80 against 0.60 for exact words. Combined became the default for new agent runs. The trade-off: it needs the local model running, and the recorded runs keep the old setup so their results still mean what they said.

Agentic RAG: how the agent finds help articles. Open the diagram full size

When the agent finds an article that is wrong, it can only draft a correction. A person reviews it, and only a published article becomes searchable.

How I know it works

An eval (short for evaluation) is a repeatable test for an AI system: a set of cases where the right outcome is known, run the same way every time and scored automatically, so you can tell whether a change made it better or worse instead of judging from a few good examples. A good eval also compares the AI with a simpler alternative, and keeps some cases back that are never used for tuning, so the result is not just the AI learning the test.

I compared the agent with a fixed step-by-step workflow, the kind of script a team would build without AI, on cases where the right answer is known.

  • Practice cases to improve the agent, one idea at a time.
  • Frozen test cases, reviewed and then locked away from all tuning.
  • Automatic scoring against the known outcome: the right diagnosis, the right evidence, the right actions, and proof that the fix worked.
  • A pass mark set before any run, kept as written.
How the agent was measured. Open the diagram full size

Results on the frozen test cases. Investigations: the agent passed 20 of 20, the fixed workflow 18 of 20. The pass mark, set in advance, needed two more wins on the cases that require adapting to new evidence; the agent gained one, so the investigation pass mark was not met. Feedback (deciding whether a customer request is new, a vote for an existing item, or nothing): the agent passed 12 of 12 against 5 of 12, a margin of seven where three were needed, so the feedback pass mark was met. Neither broke a rule. Model spend: INR 23.52 (plus INR 1.01 uncertain) and INR 18.55.

Across practice runs of the chosen version, the support manager’s dashboard reads: 163 of 168 trials resolved correctly, 26 escalations of which 5 were unnecessary, no rule broken, INR 0.45 in model calls per resolved trial.

Decisions and trade-offs

  • The model. Three models ran the same practice cases. Pass rate came first, then cost per passing case. GPT-6 Luna passed 28 of 30 against 17 and 15, at about INR 0.68 per passing case. Winning the bake-off did not mean beating the script, which passed 29.
  • Let the agent choose what to read. Giving it the whole guide up front made 88 of 90 runs open the same way: a script with extra cost. Letting it read the guide in sections gave 18 different openings in 90 runs, at a higher cost per passing case. I accepted the cost, because adapting to evidence is the point.
  • Measure search before changing it. Meaning-based search lost on the 12 short original articles and won once the articles had real depth. Measuring both kept me from adopting it on the first result, or dropping it.
  • One agent. More agents would add cost and handoffs without adding evidence.
  • Recorded replays in public, live calls only in private. A hosted live demo would add cost and abuse risk.
  • Separate tools in the demo. Each role sees the work where a real team would: the help centre, the help desk, the issue tracker, the knowledge base, the analytics.
  • What I cut: an observability tool that added little beyond the planned comparison, and a second family of issues, which would double the content and review work.

What is not measured

There are no real customers here. The product guide, the account states and the reviewers are scripted, and a scripted approval is not proof a proposal was right. The test set is small and cannot establish production reliability. Nothing here shows shorter resolution times or lower costs. The search numbers use the ticket text as the query; the effect of better search on whole investigations needs paid runs that have not been done.

What I learned

  • Check that a pass mark is reachable before freezing it. The fixed workflow already passed 9 of 10 adaptation cases, so a two-case gain was impossible on that set.
  • Give the AI decisions a script cannot make, then measure them. The biggest margin was a judgement call, deciding whether two differently worded requests are the same, not the fix itself.
  • Rules for what must not vary, people for what is costly. The rules refused unsupported proposals; every change needed approval of that exact version; the AI never graded itself.
  • Content decided search as much as method.

How it was built

Built with AI coding assistants from my briefs: Codex built the investigation engine and first workspace; Claude Code planned and reviewed; its implementer agents wrote the code from 25 October 2026. I made the product decisions.