Skip to content
Back to Home
Search

RESEARCH

Research

Two questions about LLM agents: whether an agent repaired a backend incident or only made the symptom go away, and, from earlier work, when graph memory helps an agent remember.

StatusIndependent work alongside client work, during my Master's in Computer Science at Danang University of Science and Technology (DUT). Neither topic is committed as a thesis yet, and nothing here has been peer reviewed.

01 — 2026 — present

Recovered or Repaired? A Three-Round External Oracle for LLM Agents on Backend Incident Remediation

Submitted to Automated Software EngineeringIndependent research, not committed as a thesis topic
Question
Incident benchmarks for AI agents usually count an episode as solved once the system looks healthy. That cannot separate a repair from a restart or a configuration tweak that only hides the symptom. How many of the successes a health check accepts are temporary, and when an agent is free to choose, does it pick the right kind of action?
Method
I built a three-round external oracle. Round 1 checks the system the agent left. Round 2 replays the incident-inducing load on it without a restart. Round 3 rebuilds the system from the code and configuration the agent left and replays the load again. Every measurement is read from Postgres, Redis, Docker or a simulated partner service; the application's own metrics are ignored. I applied it to 12 injected faults in a Node.js order service under five arms (do nothing, restart, and an agent that may only mitigate, must fix the code, or decides freely) with Claude Haiku 5.5 and Gemini 3.8 Flash, then ported to eight SREGym problems.
Findings
A bare liveness probe passes 92% of the runs where nothing was done. Against each fault's own criterion, 39% (Haiku 5.5) and 33% (Gemini 3.8 Flash) of the successes of an agent limited to operational actions were temporary; agents allowed to change code rarely left temporary fixes. A durable fix can still leave the defect in place: on code faults, every durable fix of the mitigation-only agent was a configuration workaround, such as a one-connection database pool that avoids a deadlock. On SREGym, the extra rounds reject hand-written workarounds that its own oracle accepts in three of four testable problems, and none of the 36 agent fixes it accepted was temporary.

Submitted to Automated Software Engineering (Springer) in November 2026; it has not been peer reviewed, and no preprint is posted yet. Limits: one application with twelve faults I injected, so the shares show that the gap exists and say nothing about its size on other systems; Gemini ran under a 300 s limit and nearly half of its runs were cut off; the pre-registration is a dated log kept in the repository, with its deviations listed in the paper.

Cite the code and data

@software{pham2026recovered,
  author    = {Pham, Khanh Minh Man},
  title     = {Recovered or Repaired? Harness, three-round oracle, and run records},
  version   = {1.0},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24271570},
  url       = {https://doi.org/10.5281/zenodo.24271570}
}
LLM agentsIncident remediationEvaluation oracleSite reliability engineeringPre-registrationCluster-aware statistics

02 — 2026 — present

When Does Graph Memory Help Beyond Verbalized Relations? Isolating Representation from Structure in LLM-Agent Memory

Exploratory, no published resultsIndependent research, not committed as a thesis topic
Question
Graph memory is widely believed to help LLM agents remember better. When existing work compares graph memory with flat memory, it changes two things at once: structure (the ability to traverse relations) and representation (information rewritten as typed relational sentences, which is unavoidable because an LLM can only read text). Which of the two produces the benefit?
Method
A verbalize-control design: three conditions with the same token budget, drawn from the same pool of candidate edges, that differ only in how edges are selected (graph traversal, cosine similarity cut to the budget, or every edge). A degree-preserving shuffled-edge control separates the effect of these particular edges from the effect of having a graph at all. The design is pre-registered, is evaluated on an external, non-circular benchmark, and fixes the negative branch in advance with TOST equivalence testing.

I ran a 30-question feasibility probe. Its quality gate fired, so the probe returned "inconclusive" and no publishable numbers.

LLM agent memoryKnowledge graphRetrievalAblation studyPre-registrationCluster-aware statistics