r/AISystemsEngineering • • 9h ago

Semantic Data Modeling for Agentic AI

Thumbnail
medium.com
1 Upvotes

r/AISystemsEngineering • • 10h ago

What does it take to make AI agents reliable enough for real-world manufacturing?

Post image
1 Upvotes

AI agents are increasingly capable of analysing data, identifying problems and recommending actions. But deploying them in industrial manufacturing environments introduces challenges that go beyond the capabilities of individual AI models.

What happens when production data is incomplete or outdated? How can an agent operate within strict safety and operational constraints? And when should it defer to human operators?

Researchers from VITO and Eindhoven University of Technology have developed the AI-enabled Manufacturing and Maintenance (AIMM) Framework to explore these questions.

The framework takes a systems-engineering approach, focusing on four interconnected layers to support reliable AI deployment in manufacturing.

Using Overall Equipment Effectiveness (OEE) analysis as an example, the research explores how AI agents could support applications such as:

  • Identifying and investigating equipment performance issues
  • Supporting predictive maintenance and production scheduling
  • Improving quality control and operational efficiency
  • Reducing energy consumption and improving resource efficiency

The central argument is that reliable industrial AI depends not only on model performance, but also on data quality, secure infrastructure and clearly defined responsibilities between humans and AI agents.

For those working in manufacturing, industrial automation or AI development: what do you consider the biggest obstacle to deploying AI agents in real production environments? Is it data reliability, system integration, safety or trust?

Article and whitepaper:
https://vito.be/en/news/how-can-ai-agents-be-used-reliably-wide-range-manufacturing-settings-increase-both


r/AISystemsEngineering • • 11h ago

What did your first AI automation project actually cost versus the quote?

1 Upvotes

I'm curious about the real costs of implementing AI automation in a business. For those who have already completed a project, how close was the final cost to the original quote?

I've noticed that how much does ai automation cost is not always an easy question to answer. The initial estimate may cover development, but the actual project can involve additional expenses such as API usage, software subscriptions, system integrations, data preparation, testing, and ongoing maintenance.

A few things I'd like to understand from people with hands-on experience:

  • What was the original budget, and how much did you actually spend?
  • Did integrations or unexpected technical issues increase the cost?
  • Were ongoing API, hosting, and maintenance costs higher than expected?
  • What would you do differently if you started the project again?

One thing worth considering is the difference between the initial development cost and the total cost of running an automation over time.

I'm especially interested in real experiences from founders, operations teams, and procurement leads. What surprised you most about your first AI automation project's final bill?


r/AISystemsEngineering • • 14h ago

How do you handle production deployment for apps?

3 Upvotes

I recently developed some apps for a production environment at my company. I was curious what you guys have used for deploying AI built applications and managing backend.

Security, scalability, ease of support, are all questions I’ve been trying to figure out.


r/AISystemsEngineering • • 16h ago

How are you handling reliability in production AI agents?

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 19h ago

AI Audit Evidence, Part 7: A Status Is Not a Receipt

Thumbnail
reddit.com
1 Upvotes

r/AISystemsEngineering • • 1d ago

I've been annoyed with the state of memory benchmarks and how easy it is to present dishonest results, so I made a deterministic, LLM-agnostic doc2query benchmark myself.

2 Upvotes

I started building memory systems for myself early this year, and that expanded into other areas of AI infrastructure. I pretty much exclusively engineered solutions to solve my own problems, and the results turned into quality systems that started to hold up more and more. Somewhere in there, when I was trying to improve my agent's memory, I ran more memory benchmarks than any one person should have to sit through, and I realized how easy the numbers are to move. Pick a friendlier k, a smaller pool, a kinder judge model or a stronger answer model, and the same system suddenly looks a lot better. What annoyed me the most was that oftentimes that wasn't disclosed. That, and there's a lot of chest-thumping over numbers that don't really mean that much, yet some still define their worth by the high number.

So I decided I wanted to build a benchmark that didn't have variables to tweak, had no LLM involved in the scoring, and was deterministic at its core. After months of putting it off, I finally finished Parsica Recall. It only asks one thing: when an agent needs a memory, does the memory system put the right record in front of it?

My rules:

- The judge never calls a model. Every score is an id match, a phrase match or a token overlap, so two people running the same inputs get the same bytes. `--verify` runs the whole thing twice and compares the hashes.

- You don't get to pick k. The window comes from the size of the pool, and the chance line (what a random retriever would score) is printed next to every number.

- Every run writes out each question's full window with ids, ranks and scores, so any number can be re-derived.

- It doesn't publish anyone's scores, mine included. The only numbers in the repo are calibration, plain BM25 and an oracle, so you can see where the floor and the ceiling are. BM25 gets 87.58 gold@15 on the current set, so that's the floor to beat. I don't really think comparing benchmark scores is a good indicator that a system is actually useful and practical, so I've never felt the need to advertise numbers for my own systems.

The coolest part of this, and the thing I wanted the most, is that you can build a benchmark out of your own agent's memories, doc2query style. It reads an export of your store and writes the questions an agent would later ask about those records, with the right records pinned by id. That's the one step that uses a model. It works with Anthropic, OpenAI or Google using your own API key, or any endpoint that speaks OpenAI's chat format, including a local model. It gives you a cost estimate first and won't do a live run without a spending cap. Scoring never touches a model, and the benchmark itself runs fully offline. Fair warning though, building a set sends a sample of your records to whichever provider you pick (a model on your own machine keeps everything local), so read the doc2query guide before you point it at anything sensitive.

It should work with pretty much any memory system. You can hand it a results file from anything in any language, write a small Python adapter, or run it read-only against a live store.

pip install parsica-recall

parsica-recall run --adapter bm25 --verify

It's MIT, standard library only, Python 3.11+. It's also a beta, and it stays a beta until it's actually been used and peer reviewed, which is a big part of why I'm posting it here. If the methodology is wrong somewhere, I really want to know. Not in this release yet: the bigger standard tracks, scoring against the sealed half of the questions, and a full-stack mode where an answer model reads the window.

Please let me know if you have thoughts or ideas. I would love to collaborate or take feedback. As far as I know, nothing like this really exists, so it's important to me that it eventually gets a green light from other users in the community. I'm hoping to open up some discussion on the topic and see if others feel the same way as me!

https://parsica.ai/recall

https://github.com/Antaris-Analytics-LLC/Parsica-Recall


r/AISystemsEngineering • • 2d ago

What do you think about my Agentic AI FYP project? can you recommend something about it

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 2d ago

College Software Engineering project using AI

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 3d ago

We built an AI Game Master where the LLM doesn’t get to decide what actually happened — 75 real player actions later, here’s what broke

2 Upvotes

I’m working on an experimental AI-powered tabletop RPG with persistent world state, multiplayer characters, and an LLM acting as Game Master.
We ran into a fundamental problem with LLM-driven games:

The model can describe an action convincingly without that action being valid, authorized, or actually committed to the game world.

So we started building an architecture where the LLM interprets player intentions and narrates outcomes, but **the server remains authoritative over what actually happens**.

**The architecture**
Our current pipeline separates five responsibilities:
**Input and evidence:** Preserve the original player text, actor, clauses, context, and references.
**Interpretation and planning:** Convert natural language into proposed actions and ordered steps.
**Validation and execution:** Check permissions, ownership, prerequisites, rules, and world effects.
**Event journal:** Commit confirmed changes and associate them with execution receipts.
**Narration and memory:** Generate responses from confirmed outcomes, keeping narrative memory separate from authoritative world facts.
The stack is React/TypeScript, Node/Express, and PostgreSQL.
**A deceptively difficult example**
Consider this player instruction:
*“I buy one ration and then eat one ration from my existing supplies.”*
The distinction matters.
The player explicitly wants to consume an **existing** ration, not necessarily the newly purchased one.
If the model silently changes that reference, the resulting inventory state might be internally consistent but still violate the player’s intention.
Our approach preserves clause-level references and validates individual effects against the original instruction.
This is an architectural example, not a claim that every variation of this instruction currently works.

**Our latest live test**
We tested three fresh adventures involving six characters and 75 actual player actions.
Results:
**54/75** actions received a resolution or response.
**1** action received a legitimate rule-based rejection.
**9** actions ended in technical rejection or an unresolved waiting state despite HTTP 201.
**11** actions failed with HTTP 503 inside our game processing pipeline.
**173** LLM transports, all provider-side HTTP 200.
**$0.50** conservatively estimated model costs for the complete run.
That means **26.7% of submitted actions encountered technical problems**.

And no, we’re not happy with that number.
The interesting part is *where* the failures occurred.
Our engine could correctly prevent unauthorized inventory changes, preserve separate player locations, and record discoveries.

But ordinary actions such as knocking on a door while speaking, asking an NPC to show a letter, or combining movement with a gesture sometimes failed during action-plan validation.
Seven of the eleven HTTP-503 repair cases involved PLAN_EFFECT_UNCHOSEN.
In one particularly entertaining case, a character suggesting that an NPC move under a rain shelter ended up in the attack-target validation path.
Apparently, diplomacy is a combat maneuver now.

**What actually worked**
In our strongest adventure, one character discovered a geological clue, voluntarily shared it with another player, and the second character attempted a descent based on that information.
The descent failed its dice roll.
The engine respected that failure and kept the character at the original location.
In another adventure, a character physically picked up a basket, carried it back to the village, and later discovered initials carved into it. Those changes were recorded in the persistent world state.

These are small examples, but they matter to us: **the story can move forward without treating every sentence generated by the model as a new world fact.**

**What we’re trying to solve next**
Our biggest challenge isn’t adding more guardrails.
It’s making the transition from natural language to validated execution reliable enough that legitimate player actions don’t get blocked by the very mechanisms intended to protect them.

We’re especially interested in how other developers handle:
Preserving user intent across multi-step LLM-generated plans.

Validating effects without turning every natural-language interaction into a brittle command parser.
Maintaining persistent state and character-specific knowledge across long sessions.
Recovering from partial or invalid model outputs without inventing new user decisions.


r/AISystemsEngineering • • 3d ago

Framework Fatigue: Which Agent or RAG Framework Did You Keep in Production?

1 Upvotes

There are so many AI frameworks now that choosing one can become a project of its own.

I’m interested in hearing from ML engineers and architects who have moved beyond demos and deployed RAG applications or AI agents in production.

In the LangChain vs. LlamaIndex discussion, both have useful strengths, but the real test is how well they handle changing documents, retrieval quality, integrations, debugging, and maintenance over time.

A few questions for people with production experience:

  • Which framework did you start with, and which one did you keep in production?
  • Did you use LangChain, LlamaIndex, Haystack, or build your own retrieval pipeline?
  • For agent workflows, did LangGraph, CrewAI, or AutoGen make development easier or add unnecessary complexity?
  • What caused the biggest problems: framework limitations, retrieval accuracy, latency, observability, or upgrades?
  • If you started again today, would you choose the same stack?

One lesson worth discussing is whether a framework actually reduces engineering effort after deployment, rather than simply making the first prototype faster.

I’ve also been reviewing different approaches to which framework we kept in production, but I’m more interested in real experiences than feature comparisons.

What framework did you keep, replace, or remove after taking your system to production?


r/AISystemsEngineering • • 3d ago

Hi y'all. Please share insights on how are you giving your AI agents context about your data?

3 Upvotes

How are you actually giving AI agents context about your data without it turning into a total dumpster fire?

Because every pilot I see trips over the exact same things. The AI has a total meltdown trying to figure out what is what and that leads to wrong answers every time. Like it still can't understand which revenue table is the "real" one, and completely botches our definition of an "active customer" to name a few.

Curious what has actually held up in the real world and not just in some shiny poc demo. Are you:

  • Force-feeding it docs and instructions?
  • Hooking it up to a semantic layer, if so how?
  • Gatekeeping it with only highly curated, certified golden datasets?
  • Doing some secret fourth thing?

Please tell me how you are doing this - If anything breaks each time, what breaks first, and what do you do differently if you are starting over?


r/AISystemsEngineering • • 3d ago

Building an evidence-driven AI system with Azure AI Foundry and AKS — Dendro Inspector

Post image
1 Upvotes

r/AISystemsEngineering • • 4d ago

Look at me, a genius: I designed a multi-agent HR/policy assistant

Post image
1 Upvotes

r/AISystemsEngineering • • 4d ago

Your AI agent works perfectly in demos. But what happens in production?

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 4d ago

Production RAG: What Retrieval Problems Took Longest to Fix?

2 Upvotes

When moving an enterprise rag knowledge base from a demo to production, retrieval quality can become one of the hardest problems to solve.

A system may work well with a small test dataset but struggle when it needs to search thousands of documents, handle different file formats, and answer questions from multiple departments.

I'm curious about the experiences of people who have deployed RAG systems in production.

A few challenges seem particularly difficult:

  • Chunking: Small chunks can lose context, while large chunks may include irrelevant information.
  • Retrieval quality: Vector search does not always find exact product names, policy numbers, or technical terms.
  • Reranking: Initial search results may be relevant but not necessarily the best sources for answering a question.
  • Data freshness: Updated documents may not immediately appear in the index.
  • Access control: Different employees need access to different documents, which makes permission-aware retrieval essential.

Another interesting decision is framework selection. LangChain, LlamaIndex, and Haystack offer different approaches to building RAG pipelines, but the right choice depends on integration needs, retrieval flexibility, and production requirements.

For those who have built production RAG systems:

  1. Which retrieval problem took the longest to fix?
  2. Did hybrid search or reranking make a noticeable difference?
  3. Which framework did you choose: LangChain, LlamaIndex, or Haystack, and why?

I'd be interested in hearing practical lessons, especially problems that only appeared after deployment.


r/AISystemsEngineering • • 4d ago

What do you think about my Agentic AI FYP project? can you recommend something about it

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 4d ago

Title:I built a sub-2ms CPU "reflex copilot" for AI agents that cuts token bills by ~40% and stops destructive commands before they run

Thumbnail
reddit.com
1 Upvotes

r/AISystemsEngineering • • 4d ago

Anyone running AI agents in production? What are you paying for to keep them reliable?

0 Upvotes

I’ve been looking into how companies are handling reliability when AI agents are actually talking to customers or making decisions based on company data.
Not talking about demos or personal chatbots. I mean actual production systems like customer support agents, internal knowledge assistants, RAG applications, etc.
One thing I’m curious about is what happens when an agent gives a convincing answer but uses outdated information, cites the wrong source, or just makes something up.

I’ve been building something in this space, but before going further I want to understand how people are dealing with this in the real world.
A few things I’m curious about:

What tools or services are you currently paying for to monitor, evaluate, or verify your AI agents? (LangSmith, Langfuse, Arize, custom solutions, etc.)

What’s the most annoying reliability problem you keep running into?

How do you currently catch incorrect answers before they reach customers? Or do you mostly find out after something goes wrong?

Are you happy with your current tools, or is there something you wish they actually did?

Roughly how much are you spending on reliability, monitoring, or evaluation? Even a ballpark would be helpful.

I’m especially interested in whether teams have built their own verification systems because existing tools weren’t solving their problems.
Not trying to pitch anything. I’m genuinely trying to understand what the real problems are versus what sounds like a problem in theory.
Would appreciate hearing from anyone actually running these systems, including people who tried tools and decided they weren’t worth paying for.


r/AISystemsEngineering • • 4d ago

Our AI worker retried a subscription limit 900 times. Here's what we learned.

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 5d ago

I built a shared memory for coding agents (Claude Code, Cursor, Codex and more). 1.6 just shipped: no Node needed, daily backups, 7 default tools

1 Upvotes

Tell one agent something once and the others can find it. That is Monomem: one SQLite file on your own computer, shared by every MCP app you connect. No cloud, no API keys, no hidden model calls. MIT licensed.

Each note says which app wrote it and keeps its earlier versions, so you can replace, archive or roll back. If a write looks like a planted instruction or contains a secret, it is held for you to approve, and other agents never see it until you do.

What’s new in 1.6:

One download, nothing else to install. It carries its own Node. Windows, Mac and Linux, with checksums and a build attestation.

Tool list cut from 37 to 16, with 7 shown by default. Default tool descriptions are about 1,540 tokens, down from about 5,300 for 1.5’s defaults.

Daily automatic backups while it runs, and a one-command restore.

Sync between your own computers with a shared folder or private git repo. Files are encrypted, and there is no server.

Redesigned dashboard: Notes, Review, Held and Activity tabs, dark and light, works as an installable web app.

monomem update checks the checksum before it swaps anything.

Setup now handles 17 apps (Claude Code, Claude Desktop, Cursor, Codex CLI, Gemini CLI, VS Code, Zed, Windsurf, Kiro, Cline, Copilot CLI, OpenCode and others). It shows what it will change, makes a backup, and asks first.

monomem rollback --note <id> undoes a note and what was built on it.

What it does not do (please read this before relying on it):

The write check is pattern matching. A reworded attack can get through. 2 of the 26 attacks it replays are known misses.

Agents that can run shell commands or open the database file can bypass it.

The download isn’t code-signed yet, and I haven’t tested it on a Mac.

Search is keyword-based unless you run a local embedding model.

claude.ai and ChatGPT support (OAuth) is a preview and off by default.

Try it without touching your notes: monomem demo runs a short tour on a throwaway store.

After upgrading from 1.5, run monomem setup again. Your apps keep running the old pinned version until you do.

Repo: https://github.com/calasdan-sketch/monomem

Happy to answer questions, and I want bug reports, especially from Mac users.


r/AISystemsEngineering • • 5d ago

A workspace where agents carry out scientific work, evidence stays connected, and scientists can focus on insight.

Thumbnail app.lykeion.tech
1 Upvotes

r/AISystemsEngineering • • 5d ago

Where Do You Draw the Line on Agent Autonomy? Approval Gates in Real Deployments

4 Upvotes

One thing that can go wrong with AI agents is allowing them to complete sensitive actions without proper approval or a clear audit trail.

For example, an agent might process a customer request correctly but fail to record who approved the action or why it was performed. When something goes wrong later, the team has no clear history to investigate.

I think human-in-the-loop ai agents work best when autonomy is based on the risk of each action.

Here is what I would generally separate:

  • Automatic actions: Answering common questions, checking order status, and retrieving approved information.
  • Approval required: Issuing refunds, changing sensitive customer records, cancelling important bookings, or approving financial transactions.
  • Always logged: Important decisions, approval or rejection status, agent actions, and final execution results.

One lesson is that approval gates should not slow down every routine task. They should focus on actions where mistakes could create financial, operational, privacy, or compliance risks.

I’m curious how other teams handle this in production:

  1. Do you use fixed approval rules or risk-based policies?
  2. How do you handle missing approvals or audit-log failures?
  3. Do you use an enterprise GRC platform, a custom policy engine, or both?

For anyone exploring this design question, this guide offers a useful perspective on where to draw the line on agent autonomy.


r/AISystemsEngineering • • 6d ago

Hi, I am looking for a remote entry-level AI Engineer job or internship.

1 Upvotes

r/AISystemsEngineering • • 6d ago

Background chatter made our voice agent answer 0/5 turns. An adaptive client-side gate got 4/4 at lower noise levels.

Thumbnail reddit.com
0 Upvotes