{
  "id": 10592988,
  "title": "One Hindsight Setting Decided Whether My Agent Could Learn Judges",
  "url": "https://urgent.news/2026/09/29/one-hindsight-setting-decided-whether-my-agent-could-learn-judges",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-29T02:57:19.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/karunya_muddana_edc1e9de7/one-hindsight-setting-decided-whether-my-agent-could-learn-judges-506n"
  },
  "original_language": "en",
  "account": "Litigators possess knowledge that goes beyond what is recorded in case files. Judge Murthy allows the opposing side one adjournment, then issues \"last opportunity\" on the second, and imposes costs on the third. This rule is not documented anywhere; it is learned through experience after repeated hearings in multiple cases. The author wanted her agent to learn this rule in the same way through notes, without manually inputting it.\n\nThe key to this learning lies in a specific field called \"Tareekh,\" which refers to the next hearing date, stored as a memory for the lawyer's practice. When the lawyer uploads documents like photos, order sheets, deeds, or notes, the Hindsight system reads them, splits each into a separate entry per hearing, and files it under the respective case.\n\nThe architecture consists of a FastAPI backend, Next.js frontend, Gemini for OCR and reasoning, and Hindsight running locally in Docker. Each lawyer has their own Hindsight bank, and every case resides within it. The ingestion pipeline involves OCR, segmentation, repair, and review of the uploaded documents, with each hearing forming a unique memory entry.\n\nThe author aimed to have her agent identify a specific pattern: when a judge allows one adjournment and then imposes costs on a repeated request. She set up observations to capture this pattern, but Hindsight was grouping observations by the full tag set of each item, leading to observations per case rather than across cases. By modifying the memory function, she ensured observations were consolidated under multiple scopes (judge, counsel, and case), allowing the system to identify the pattern across cases and judge behavior.",
  "summary": "Litigators know things that no case file records. Judge Murthy lets the other side have one adjournment. The second time, he says “last opportunity.” The third time, he closes the evidence and puts costs on them. Nobody writes that rule down. It lives in a lawyer’s head, spread across a dozen hearings in three unrelated cases, and it’s the kind of thing a junior learns only after getting burned.…",
  "key_points": [
    "Litigators rely on learned rules, not documented in case files",
    "Hindsight system reads documents, creates memory entries per hearing",
    "Agent's observations grouped by case, not consolidated across cases"
  ],
  "editors_take": "Modifying Hindsight's memory function to consolidate observations under multiple scopes enabled the system to identify patterns across cases and judge behavior, allowing the author's agent to learn from experience.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}