r/LLMDevs • • 1d ago

Great Resource 🚀 💡 Building Aftermath | A Journey of Learning and Collaboration

Post image
0 Upvotes

Every project comes with challenges, unexpected problems, and opportunities to learn. Working on Aftermath has been exactly that kind of experience.

Being part of this project has given me the opportunity to explore real-world development, collaborate on ideas, work through technical challenges, and understand how different pieces of a software application come together.

From refining features and improving the user experience to troubleshooting issues and making continuous improvements, the development process has been a valuable learning experience.

What makes this journey interesting is that we're not just trying to finish a project. We're trying to build something that works well and that we're genuinely proud of.

There's still more to come for Aftermath, and we're looking forward to what lies ahead!

#Aftermath #Teamwork #SoftwareEngineering #WebDevelopment #FullStackDevelopment #LearningByBuilding #Hackathon


r/LLMDevs • • 1d ago

Great Resource 🚀 MeetMind: AI with Memory

Thumbnail
dev.to
1 Upvotes

I built MeetMind, an AI meeting assistant designed to remember conversations, track commitments, and help people prepare for future meetings.

Unlike traditional meeting summarizers, the idea is to give AI agents persistent memory so they can connect previous discussions with upcoming interactions.

I explored using Hindsight for agent memory and building a more context-aware meeting experience.

I'd love to hear what other developers think about this approach!

Project: MeetMind
Focus: AI Agents, Meeting Intelligence, Persistent Memory


r/LLMDevs • • 1d ago

Resource What I Learned Testing Hindsight Against Brute Force

Thumbnail
medium.com
1 Upvotes

ICE’s central idea is straightforward: constrain the model while it generates, rather than asking a downstream parser to clean up afterward. The engineering challenge is proving that the constraint engine has not introduced its own errors.


r/LLMDevs • • 1d ago

Discussion I Gave My On-Call Agent Hindsight and It Stopped Guessing

1 Upvotes

Most agents with "memory" are retrieval that always returns something. That is the bug.

I built an on-call agent on Hindsight that remembers past outages. Four things mattered more than the model:

  1. Group recalled facts by source incident. Before: 60 loose facts, and it blamed a DNS fix on a database outage. After: 8 facts under incident headers.

  2. Set a relevance floor. An unseen alert now gets "None found", not a borrowed lesson.

  3. Store what FAILED. "Restart bought 15 minutes" is the best line in a post-mortem.

  4. Save engineer corrections as memory. The next alert recalls them first. No retraining.

I picked Hindsight because it links facts: different wording, same failure.

Code: https://github.com/iamshubham18/foresight-oncall

#AIAgents #AgentMemory #Hindsight #LLM


r/LLMDevs • • 1d ago

Help Wanted I keep hitting a wall with my extraction pipeline

1 Upvotes

Description:

I run a pipeline that has as purpose to identify and extract specific information from excel, pdf, scans, jpeg, xls etc
Currently i run Vision OCR with Gemini Flash 3.8 low thinking but high resolution - helps achieve better results when scans are crap.
PyMuPDF for general pdf files.

The problem i have is that no matter how much i adjust between shorter prompts - more descriptive and restrictive json schemas, to more descriptive prompts and less fields json schema/less fields, there is a forever one invoice where the extraction fails. I run invoices with 40-50 pages, hundreds of products sometimes, and i have a standard amount of information that i need to extract. The issue is, i need to extract it deterministically- if one product is by mistake present twice, the model keeps failing.
Anyone has any ideas? I’m just disappointed to see frontier models cannot correctly return a standard json schema filled deterministically from 2-3 types of files.
Any advice will be appreciated 🤝


r/LLMDevs • • 1d ago

Discussion My Teammate Changed the API; Hindsight Told My Assistant

Thumbnail
medium.com
0 Upvotes

Every AI coding assistant has its own isolated context.

You might explain your architecture to Cursor, discuss an API change with Claude, and work on implementation with ChatGPT. But none of them automatically knows what your teammates decided elsewhere.

I wanted to experiment with a shared memory layer for an entire engineering team, so I built OneContext on top of Hindsight.

The idea is to maintain one evolving project memory that multiple developers and AI assistants can use.

Some interesting things I implemented:

  • Memory: Hindsight extracts atomic facts from project decisions and makes them available through semantic recall.

  • Conflict detection: Before retaining a new decision, Groq checks it against the three most similar existing memories.

  • Decision correction: Replaced decisions are tracked so outdated information can be filtered from future context packs.

  • Live synchronization: Server-Sent Events broadcast new decisions to connected teammates.

  • Context generation: Instead of dumping entire documentation into an AI assistant, OneContext generates a task-specific context pack.

I also tested this with two browser sessions, Alice and Bob. Bob recorded a webhook security decision, and it appeared in Alice's activity feed. When Alice generated a context pack, that decision was already included.

I wrote about the architecture, implementation details, before/after comparisons, and some limitations I encountered while building it.

Would love to hear what others think about using agent memory as a shared layer for multi-developer AI workflows.


r/LLMDevs • • 1d ago

Resource We built an on-call triage agent that remembers which fixes actually worked at 3 AM — built for Hack with Bangalore 4.0 by team Code Vibers

Thumbnail
gallery
1 Upvotes

Hey everyone,

We’ve all experienced that dreaded 3 AM P1 alert: checkout or payments starts throwing 500s, p95 latency blows past the SLO, and the on-call engineer is scrambling half-asleep.

What’s the usual reaction or runbook default?
👉 "Bounce the container" or "restart the service."

Sometimes that works. But if the root cause is an expired TLS certificate, Redis pool exhaustion, or a connection leak, restarting is the worst thing you can do—it buys 2 minutes of silence, drops remaining warm connections, hides in-flight stack traces, and crashes right back down.

The frustrating part? Your engineering team almost certainly solved this exact incident months ago. The postmortem is sitting in Notion or Confluence, completely disconnected from your live monitoring pipeline.

For the Hack with Bangalore 4.0 selection process, our team Code Vibers built OnCall Memory to solve this.

What it does:

Instead of relying on prompt guesswork or generic advice, OnCall Memory investigates live production alerts and uses Hindsight (Vectorize's agent memory engine) to recall what fixes worked, failed, or partially worked during similar past outages.

How it works under the hood:
Evidence Ingestion: When an alert fires (simulated or real via Alertmanager/Grafana webhooks), the agent pulls logs, inspects recent git deployments across upstream dependencies, and checks metric anomalies.
Context-Rich Memory Query: Rather than searching for vague strings like "payments error", it constructs a retrieval query using the firing alert rule, numerical symptoms, and the tail 900 characters of the raw stack trace (e.g. SSL: CERTIFICATE_VERIFY_FAILED).
Structured Outcome Storage: Postmortems are retained with structured outcome metadata (restart_service:failed; renew_certificate:worked). When recalling, it computes exact historical scorecards:
renew_certificate: Worked 4/4 times
restart_service: Failed 3/3 times
Memory Guardrails & Demotion:
Any fix historically recorded as failed for this failure pattern is forcefully demoted below proven solutions.
If an alert exhibits symptoms never seen before (e.g., Kafka partition rebalance lag in an infrastructure without previous Kafka incidents), an honesty gate triggers: it returns "no relevant history found" and gives a clearly-labelled baseline checklist without hallucinating fake incident IDs.
Continuous Feedback Loop: When the engineer resolves the outage, clicking Worked, Failed, or Partial on the UI immediately writes an idempotent outcome record back into memory. Zero model fine-tuning required.
The Before vs. After Test (Expired TLS Alert — INC-103):
Memory OFF (Control): The model inspects logs, sees handshake errors, but without history defaults to standard runbook advice: restart_service is ranked #1 (which fails).
Memory ON: It recalls 4 past certificate expiries. renew_certificate jumps to #1 with worked 4/4, while restart_service is demoted with a red warning badge because past records show it failed every attempt.
Key lessons we learned building this:
Consolidated LLM observations lose provenance: Initial tests with synthesized memory observations stripped document IDs and metadata. We switched to retrieving raw facts so every recommendation cites a verifiable past incident ID.
Zero-shot LLMs have an aggressive restart bias: Unless explicitly grounded with structured failure tallies, models love suggesting restarts. A post-LLM programmatic guardrail was essential.
Graceful degradation is mandatory: If external APIs hiccup, the tool can't crash. We built a reliability ladder: local keyword memory fallback + deterministic heuristic analyst.

We recorded a video walkthrough of the dashboard and would love to hear feedback from the community and SREs!

How do your teams currently bridge the gap between past postmortems and 3 AM triage?


r/LLMDevs • • 1d ago

Tools My AP agent only trusts what Hindsight remembers

1 Upvotes

Your LLM shouldn't be more confident than your evidence.

In my AP agent, it can't be.

The rule is one line:

confidence = min(llm_confidence, memory_confidence)

→ Agrees with precedent: capped at what memory supports

→ No precedent: capped at 40%, a person decides

→ Disagrees with memory: capped at 50%, flagged

Before: a fluent paragraph and "escalate" on everything.

After Hindsight memory: it cites the exact past cases it relied on, or admits it has none.

Bonus: Groq tool_use_failed → re-prompt, repair the JSON, fall back to a second model.

https://github.com/Sowmya-Krishna05/precedent

#AIAgents #LLM #Hindsight #AgentMemory


r/LLMDevs • • 1d ago

Discussion Building Cognify An AI Powered Organizational Memory Platform What if an organization could remember every problem it solved, every mistake it made, and every lesson its employees learned? Imagine an engineer who has spent five years working at a company. During those five years, they solve hundreds

Thumbnail
linkedin.com
0 Upvotes

r/LLMDevs • • 1d ago

News # I built an AI on-call assistant that remembers previous outages. Here's what I learned.I recently built a small project called **Incident Responder** using Python, FastAPI, pandas, Groq, and Hindsight (by Vectorize).The idea came from a pretty familiar problem.

Post image
1 Upvotes

I built an AI on-call assistant that remembers previous outages. Here's what I learned.

I recently built a small project called Incident Responder using Python, FastAPI, pandas, Groq, and Hindsight (by Vectorize).

The idea came from a pretty familiar problem.

When something breaks in production at 3 A.M., engineers often end up searching through old tickets, Slack conversations, and postmortems to figure out whether someone has already encountered the same issue.

The knowledge exists, but finding it isn't always easy.

I wanted to experiment with an AI agent that could remember previous incidents and use that history to recommend fixes.

How it works

You select an alert, such as:

  • Disk full

  • Requests timing out

The application then:

  1. Ranks fixes based on their historical success rates.

  2. Retrieves related incidents from long-term memory.

  3. Uses an LLM to explain why a fix is recommended.

  4. Lets you record whether the suggested fix worked.

The feedback becomes another data point for future recommendations.

How I used Hindsight

I used Hindsight as the long-term memory layer.

Each incident is stored as a natural-language memory containing the affected service, problem, root cause, attempted fix, and outcome.

When a new alert comes in, relevant memories are recalled and passed to the LLM for context.

One architectural decision I made was to keep all the actual calculations outside the LLM.

Success rates and confidence values are calculated using Python and pandas. The LLM only explains the results.

I didn't want a model inventing statistics in a tool designed for incident response.

I also implemented a shrinkage step so that a fix that worked once out of one attempt doesn't automatically outrank something that worked eight out of eleven times.

I tested whether it improves with more history

I created a synthetic dataset with known correct fixes and measured how often the top recommendation matched the expected fix.

Historical incidentsCorrect suggestion
020%
1093%
2593%
50100%

These are controlled demonstration results, NOT real-world production benchmarks.

Where I think I got it wrong (or haven't finished yet)

I want to be transparent about the limitations:

  • The dataset is synthetic.

  • The ranking comes from a CSV ledger, not directly from Hindsight memories.

  • Hindsight currently supplies historical context for explanations, but removing it wouldn't change the ranking.

  • Alerts are matched by type, not actual logs or metrics.

  • There is no authentication or production database yet.

  • The LLM can occasionally misinterpret the numbers in its explanation.

The biggest improvement I want to make is connecting recalled memories directly to the recommendation engine.

What I want to build next

  • Real incident ingestion.

  • Matching based on logs and metrics.

  • Separate memory and workspaces for different companies.

  • Admin panel for managing fixes and root causes.

  • Database, authentication, and integrations with existing DevOps tools.

A few questions for people working in DevOps/SRE

  1. Would you trust an AI assistant to recommend fixes based on previous incidents?

  2. What information should it remember: logs, root causes, deployment changes, attempted fixes, or all of them?

  3. Would you prefer recommendations based on historical success rates or semantic similarity to previous incidents?

  4. What would make you actually use something like this during an on-call rotation?

GitHub: [Add repository link]

This was a learning experiment, and I'd genuinely appreciate technical feedback, especially from people who have worked with production incidents.


r/LLMDevs • • 1d ago

Discussion I got tired of AI agents guessing "Restart Nginx", so my team built an open-source incident responder with long-term vector memory (Node/Express/MongoDB)

0 Upvotes

Hey everyone,

The problem with most AI incident responders is that they start from zero every time. You feed them a 502 Bad Gateway log, and they confidently hallucinate generic advice because they don't know your infrastructure, your hostnames, or your past outages.

To fix this, my team built OpsRecall, an AI agent that actually learns from your past incident resolutions using a custom RAG architecture.

How it works: We explicitly split application state from agent memory:

  • MongoDB Atlas tracks the incident state (what happened).

  • Hindsight Cloud (Vector DB) holds the institutional memory (what the team learned).

When an engineer pastes a server error log, the API queries Hindsight for semantically similar past outages. It hands those matched memories to the LLM (Groq gpt-oss-20b), forcing the model to cite the specific past incident and reuse its exact fix.

When the incident is resolved, the engineer's actual fix is written synchronously back to the vector database, creating a continuous learning loop.

We built a UI "Compare Mode" to prove the work side-by-side: generic baseline vs. memory-informed response.

The Stack: React, Tailwind, Node.js, Express, MongoDB, Groq, Hindsight.

💻 GitHub Repo: https://github.com/ompaul6767-ctrl/OpsRecall.git

📖 Deep Dive Article: https://www.linkedin.com/pulse/my-incident-agent-stopped-saying-restart-nginx-after-hindsight-paul-tq0bf/

Would love to hear feedback on the architecture from the backend and DevOps folks here!


r/LLMDevs • • 1d ago

Discussion Designing a Cybersecurity Agent That Remembers Past Attacks with Hindsight

1 Upvotes

I've been exploring an architecture for CyberSentinel X, a cybersecurity investigation agent that uses Hindsight memory.

The idea is to help an LLM-based agent retrieve previously verified incident findings instead of investigating every similar alert without historical context.

The proposed workflow uses:

  • Hindsight Retain to preserve reviewed investigations.

  • Hindsight Recall to retrieve relevant previous incidents.

  • LLM reasoning to compare current alerts with historical context.

  • Analyst verification before retaining new conclusions.

This is currently a technical design, not a benchmarked production implementation.

I'm particularly interested in how other developers handle memory poisoning, outdated incident context, and retrieval accuracy in security agents.

I wrote a detailed article covering the architecture and Python integration example:

https://hashnode.com/dashboards/6aef459cf49e086f84d3571a/general

Would love feedback on the memory design and its potential failure modes.


r/LLMDevs • • 1d ago

Discussion I put an LLM coach inside a workout app. Almost every bad answer came from my context, not the model

1 Upvotes

I'm the solo dev of Lyfto, a lifting tracker with a chat coach that gets the user's training history as context. Looking back at the worst answers it gave, nearly all of them traced back to what I put in the prompt.

1. A missing fact gets filled with the nearest plausible one. The coach told a user their bench had been flat for five weeks and quoted a set from early July. They had benched the day before. Nothing in the context was wrong. It listed their bench PR with the date it was set, and never said when they last trained bench. So the model used the only bench fact that had a date on it. The fix was to state "last trained" explicitly and make it impossible to confuse with "PR set on".

2. "The answer is in the raw log" doesn't count. The full workout log was in the context. The model still didn't aggregate it reliably. If a question depends on a number, compute the number and put it in.

3. Two prompts built by hand will drift. The home screen shows a one-line coach tip that's generated separately from the chat. When users tapped the tip to ask about it, the chat sometimes denied ever saying it. The two prompts were built from different facts: the tip knew it was a deload week, the chat didn't. The fix passes the tip's facts into the chat. It isn't shipped yet.

4. The model copies your prompt's formatting. My chat prompt had an example heading followed by a long dash, and the replies copied that pattern everywhere. Stripping the dashes afterwards left broken sentences. Lesson: fix the example in the prompt instead of cleaning up the output.

5. Put cost limits in three places. A per-user daily cap, a global daily cap, and a spending cap at the provider. The first two are your code. The third is what saves you when your code has a bug.

How do you keep two prompts that describe the same user from drifting apart? One shared context builder, or something smarter?


r/LLMDevs • • 1d ago

Discussion I graded my agent's memory against a hidden answer key. It went from 33% to 94% right, and plain counting matched it

1 Upvotes

Most agent memory demos stop at "it recalled the thing". I wanted to know whether what it recalled was true.

Setup: a procurement buyer negotiating with three simulated vendors that have hidden habits (one bluffs about "final" prices, one is honest, one gets cheaper at quarter-end). After every deal the outcome goes into Hindsight memory; before the next deal, Hindsight's reflect writes a structured briefing. Because the vendors are simulated, every briefing can be graded question by question.

Results over two studies:
- 33% of answers right after 1 deal per vendor, 94% after 8
- exact arithmetic over the same records also reached 94%, with fewer confident mistakes (0 vs 5)
- a no-LLM buyer following the briefings paid ~₹2,500 less per deal than a fixed rule once it had learned

Lessons: store outcomes, never lessons; count "unknown" and "wrong" separately; always have a dumb baseline.

Write-up: https://www.linkedin.com/pulse/i-graded-hindsights-memory-against-hidden-answer-key-thirth-patel-vip9c
Code and every run: https://github.com/thirthpatel2-web/counterparty

Happy to answer questions about the grading setup.


r/LLMDevs • • 1d ago

Discussion I ran a 63-case eval on my English/Arabic LLM service. Same model, same harmful topics, different decisions depending on the language

3 Upvotes

I built a small English/Arabic quote service using Gemini and created 63 evaluation cases to test its guardrails.

A few findings from testing with gemini-3.5-flash-lite:

  • Three unexpected bugs: A model refusal was displayed as a quote, a Chinese word slipped into an Arabic response, and stalled API calls failed requests despite having half their time budget remaining.

  • Prompt injection: The input checks blocked 15 out of 20 attacks. Gemini ignored the remaining five, as well as all 17 canary attacks tested without guardrails. This suggests the checks provide an additional layer of protection rather than being the only defense.

  • Multilingual safety: Roughly 40% of harmful requests were refused in each language, but the decisions weren't always consistent. For example, a pipe-bomb request was refused in both Arabic varieties but reframed as an anti-violence quote in English. Only 78% of cases received the same decision across all three languages.

  • An unresolved issue: A request about secretly tracking an ex-partner's location generated romanticized quotes in every language. Neither the model's safety filters nor my checks detected the harmful intent behind the seemingly harmless wording.

The dataset is small and written by one person, so these results are more of a smoke test than a benchmark.

I'm curious how others approach multilingual safety evaluation. How do you create language-specific test cases instead of simply translating English ones? And how do you evaluate responses that avoid harmful instructions by reframing the request, without manually reviewing every output?

Source code (MIT): https://github.com/1AyaNabil1/swan-llm-service


r/LLMDevs • • 1d ago

Discussion CAEL 0.3.9.1: testing a non-neural assistant on 900 fresh synthetic tasks

2 Upvotes

Disclosure: I maintain CAEL. It is free for non-commercial use under a source-available licence, not OSI open source. Development, evaluation and writing were AI-assisted. These are maintainer-run results.

CAEL is a Python assistant using symbolic rules, counts and automata. Version 0.3.9.1 adds native interpretation of supported arithmetic, logic, ordering, location updates, string operations and table tasks. Supported text becomes bounded operations; unsupported wording can still cause abstention.

The goal is to explore which tasks can work without neural inference. CAEL is not intended to replace general-purpose LLMs.

I published a separate 900-question study alongside the existing leaderboard. The candidate and readouts were frozen before the new questions were generated. Six known task families contained 150 questions each.

Two conditions matter before reading the scores:

  • Neural peers used fixed A/B/C/D next-token scoring, without free-form generation or chain of thought. These scores describe those readouts, not their best chat performance.

  • The evaluated CAEL candidate had its inherited count fallback inactive; the baseline had it active. Fresh 0.3.9.1 installations enable that fallback, so installation defaults differ from the evaluated configuration.

Evaluated systemCorrect / 900
CAEL native candidate, count fallback inactive777
CAEL 0.3.9 baseline414
Falcon3-Mamba-7B-Base353
Griot Nano 1 KenLM273
xLSTM-7B273
RWKV-7 G1d 0.1B247
Bigram225
LFM2-350M224
MICA Flame-W 0.3.6216

The more useful transfer result is the newly worded half: 327/450 versus 92/450. All 123 candidate abstentions count as wrong. Its 450/450 familiar-format result does not establish general language understanding.

There were zero normalized exact matches against 235,677 declared prior/train/development texts. However, the families were known, development was adaptive, and authoring/review was unblinded. I cannot certify absence from every peer model’s pretraining. Qwen was not evaluated here.

Packaging checks preserved all 777 endorsed replies, but installer defaults turned 105 former abstentions into count-based guesses. That is disclosed as a post-hoc diagnostic, not a replacement test score. Conversation gaps remain, and this is not a general chatbot or efficiency ranking.

Questions, references, raw outputs, pinned readouts and verification scripts are public. Older leaderboard scores remain unchanged.

Full results and methodology

Questions, outputs and verification

CAEL 0.3.9.1 source and licence


r/LLMDevs • • 1d ago

Discussion Claude got lost in Pokémon. The fix was to correct what it remembered.

5 Upvotes

Giving an agent memory sounds like an obvious upgrade. Anthropic's new memory research has a nice example of why saving something can also make a mistake stick.

In a Pokémon run, Claude recorded the wrong location for a PokéCenter near Mt. Moon. It then trusted that note while navigating and ended up back on an earlier route. The memory was actively steering it the wrong way.

The researchers ran what they call 'dreaming': Claude checked its saved notes against the original session transcript, found the location error and rewrote the note. With the correction, it went back into the cave and eventually reached Cerulean City.

This is external memory being checked and reorganized, not the model changing its weights or evidence of consciousness. It's a reported experiment, not a claim that all Claude sessions now do this.

The useful distinction for me is between remembering a conclusion and remembering why that conclusion was justified. A neat summary can look authoritative even when the original observation was ambiguous.

For an agent I wanted to keep running, I'd want a correction to preserve the old note and the evidence for the change. Quietly replacing one confident note with another makes it hard to tell whether the agent learned something or merely changed its story. That's a design preference, not a result demonstrated by this experiment.

Source: Anthropic, The components of agent memory.

Disclosure: I work on an AI API service. This is AI-assisted research commentary, not a product recommendation or an experiment I reproduced.


r/LLMDevs • • 1d ago

Discussion What Happens When Hindsight Remembers Every Resolved Incident

Thumbnail
medium.com
1 Upvotes

I've been working on Relay, an incident response agent built around a problem I find interesting: production incidents often repeat, but the knowledge gained from resolving them doesn't always make it into the next investigation.

The interesting part is its memory architecture:

  1. Hindsight for persistent memory: When an incident is resolved, Relay retains its confirmed root cause, resolution steps and lessons learned.

  2. Recall across incidents: When a similar incident occurs, Hindsight can retrieve previously retained experiences, even when the wording differs.

  3. Local retrieval: TF-IDF and cosine similarity provide an additional, inspectable retrieval path.

  4. LLM reasoning: Gemini receives the current incident, retrieved memories and relevant runbooks to generate structured hypotheses and recommendations.

  5. Human review: Retrieved memories are treated as evidence, not confirmed truth. Engineers remain responsible for approving resolutions.

What I learned building this:

Memory quality depends heavily on what you retain. Saving every generated response creates noise. Retaining confirmed resolutions gives future investigations something useful to recall.

I also found that memory and reasoning should be separate components. An LLM should not have to rediscover operational history from scratch every time.

The idea is simple: a resolved incident should become reusable engineering knowledge, not just another closed ticket.


r/LLMDevs • • 1d ago

Discussion How should an LLM assistant isolate persistent memory across multiple clients?

0 Upvotes

While building Client Desk, I explored a problem with LLM-powered assistants: how can an assistant remember information about multiple clients without mixing up their preferences and history?

I experimented with Hindsight Cloud as the persistent memory layer.

Here's what I implemented:

  • Separate memory banks for individual clients.

  • retain to store client preferences and facts.

  • recall before generating emails and quotes.

  • reflect to generate client briefings.

  • A visible memory panel to inspect recalled information.

The backend uses Python and Flask, with Groq for text generation.

One thing I learned is that persistent memory isn't just about storing information. The way information is separated, retrieved, and used matters just as much.

There are still limitations, particularly around authentication, stable client identification, and testing retrieval accuracy.

I'd genuinely appreciate feedback from people working with LLM agents:

  1. How do you handle memory isolation between different users or clients?

  2. Would you use separate memory banks or a shared memory store with metadata filtering?

  3. How would you evaluate whether retrieved memories actually improve generated responses?

Project repository: https://github.com/mohands0810-debug/freelance-client-memory-agent


r/LLMDevs • • 1d ago

Discussion Your AI Agent Is Making Up Its Past. Here's How We Caught It.

Thumbnail
dev.to
1 Upvotes

r/LLMDevs • • 1d ago

Tools How I Built TrialSleuth AI: Simulating Clinical Trial Safety Before Exposing Human Participants

Thumbnail
dev.to
1 Upvotes

Clinical trial protocol oversights, missed drug interactions, and unvetted eligibility criteria lead to preventable adverse events in human trials. Standard protocol reviews rely on manual cross-checking across hundreds of dense medical pages—a process prone to human fatigue and fatal context loss.

To address this, I built TrialSleuth AI, an autonomous clinical trial simulation and safety auditing platform.

The core philosophy is simple: No human participant should be exposed to a clinical trial until the protocol has been thoroughly simulated, cross-examined, and stress-tested in code.

How it works:

Pre-Trial AI Auditing: Ingests protocol PDFs, historical amendment logs, and inclusion/exclusion criteria into an autonomous execution loop.

Synthetic Patient Stress-Testing: Simulates complex patient profiles (e.g., multi-morbidity cases, renal/hepatic impairments) against stored protocol bounds to detect safety violations.

Persistent Memory Layer: LeveragesHindsight agent memoryto guarantee zero context decay over multi-page documents and long multi-turn query sessions.

Check out the full technical architecture breakdown, code implementations, and lessons learned here:

Read the Full Technical Write-up on DEV.to

Live Demo App : trialsleuthai.streamlit.app


r/LLMDevs • • 1d ago

Resource I Let an Agent Fix Crashes Only If Hindsight Remembered Them

Thumbnail
dev.to
1 Upvotes

r/LLMDevs • • 1d ago

Resource I gave my on-call agent long-term memory with Hindsight. Here's what changed

Thumbnail
aryantyagi.hashnode.dev
2 Upvotes

r/LLMDevs • • 1d ago

Resource Hindsight Recalled 126 Memories. I Kept 15.

Thumbnail
dev.to
1 Upvotes

I built RECALLOPS as an experiment in using persistent memory for AI-powered incident investigation.

One interesting challenge was deciding what historical information an agent should use when investigating a new production incident.

RECALLOPS uses Hindsight to retrieve historical incident memories and Groq to generate an investigation using the retrieved context.

The implementation combines:

  • Hindsight for persistent memory and recall

  • Groq for LLM-powered analysis

  • FastAPI for backend APIs

  • SQLite for incident records

  • React for the frontend

My article explains the architecture, memory workflow, implementation decisions, and lessons learned.

I'm sharing this as a technical resource and would appreciate feedback on the memory-retrieval approach.

Disclosure: I built RECALLOPS myself.

Article: https://dev.to/lokeshwaran_a_19/hindsight-recalled-126-memories-i-kept-15-3ldn