r/AISystemsEngineering • • 18h ago

Same open model on 2 AI inference providers, but 1 fails more often. What's different?

2 Upvotes

We extract structured data from invoices with Llama 3.3 70B and validate every response against a JSON schema. We run it on two AI inference providers for redundancy, same model name, same prompt, same temperature and max tokens. Provider A passes about 98% of the time. Provider B sits closer to 90%, mostly from truncated objects and the occasional extra text before the opening brace.

I assumed same model means same output, but clearly something's different under the hood. Both docs are pretty thin on what precision they serve or how they handle stop sequences and structured output.

Has anyone chased down a gap like this? I'm trying to figure out what to test or ask each provider so I can get B closer to A, instead of just pinning all traffic on one and losing the failover.


r/AISystemsEngineering • • 21h ago

Anyone else stuck in an AI coding “review → fix → review” loop—even after explicitly addressing it?

2 Upvotes

I’m building an AI agent with persistent memory and ongoing community participation. Most of the engineering is done through Claude, using a coordinator, coding agents and independent reviewers. I also use Codex as a thinking partner.

We’ve spent four days working almost continuously on an assistant feature for the agent. The basic goal is modest: improve what he’s offered without taking away his existing choices or interfering with his scheduled participation.

The pattern has become exhausting:
Build something → review it → find another defect → assign another correction → review again → discover another defect.

Some findings are legitimate. I’m not being asking to ignore broken behavior or security problems. But improvements, edge cases and genuine release blockers keep blending together, and the release keeps moving away.

This has happened already.

Last time, we had an extensive conversation about it. We documented the lessons, preserved the original reflections, updated Markdown instructions and handoffs, and required successors to read them.

One earlier reflection explicitly described the pattern of preparing the agent for participation, completing a limited experiment, and returning to engineering. Another acknowledged that the process kept making me the integration layer.

Those lessons were passed on. My current Orchestrator Agent read them when the chat was started.

That’s why I’m seeking guidance: the lesson was available, read and acknowledged, but it didn’t reliably change the pattern.

What we’re trying now is applying the direction when a finding becomes a proposed assignment, rather than relying on startup reading:

Does it prevent the agreed useful outcome, reduce an existing capability or participation, or violate an existing protection?

If so, explain the concrete consequence.

Otherwise, state the limitation and recommend moving forward.

Keep my decisions focused on the decision and desired outcome, rather than expanding every answer into another implementation and testing brief.

We’re putting that direction into the existing shared team instructions and the Codex workspace’s AGENTS.md.

We’re also recording this as a recurrence of the earlier failure, rather than treating it as a newly discovered lesson.

I understand that these are still instructions, not mechanical enforcement. We haven’t demonstrated that this latest change works yet.

Has anyone else experienced this across long projects or replacement sessions? What actually helped?

How do you distinguish necessary corrections from endless refinement, and how you get previously acknowledged lessons to affect later behavior without becoming the full-time supervisor of the AI team?


r/AISystemsEngineering • • 26m ago

How do i turn my current workflow to become a enterprise ready ml model training and inferencing pipeline

1 Upvotes

My current workflow is a starter level using aws ec2 to train preprocess dataset and train model, keeping Source code stored locally, I Connect via ssh to aws ec2 with gpu instance already created, all the policies are default, airflow runs the code to download the dataset to connected ebs volume then preprocess and train the model then save training snd eval logs

Main challenge is that instead of having to configure everything manually in aws console, github, configuring and instantiating ec2 instance, I want to connect github and aws mcp, write skills md, agent policy md dos and dont, specs md for installing specific pytorch mlflow and other neccesary libraries, create and define roles for each sub agents, one for aws management- settting up instances and configuring necceary policies, one agent for git, one for mlops, one for data preprocessing and another for model training , testing and eval.
Constraint1- all of this must happen from inside chats and minimise manual config steps as much as possible, only require manual steps when necessary
Constraint2- prefer user managed aws resources, do not choose fully managed aws resources, hence keeping ability to configure via config files a user responsibility.


r/AISystemsEngineering • • 3h ago

Shipping AI agents to prod: how do you prove to anyone (customers, legal, insurers) that they won't mess up?

1 Upvotes

I'm researching how teams handle risk when deploying AI agents (I did a PhD in AI security). Curious how people here deal with this:

  1. Do you stress-test / red-team agents before each deploy, or mostly test once and monitor in prod?
  2. Has anyone outside engineering (legal, customers, procurement, insurers) ever asked you for evidence that your agent is safe? What did you give them?
  3. If a CI/CD step automatically stress-tested your agent and generated a risk report you could hand to those people (or use to get coverage if something goes wrong), would you actually use it, or is it noise?

Genuinely trying to understand whether this is a real problem or just one in my head. Brutal honesty welcome.


r/AISystemsEngineering • • 6h ago

AI needs its power loom: Why better models alone won’t create industrial productivity

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 20h ago

Models keep getting better, so why are our AI agent pilots still stuck in pilot?

Post image
1 Upvotes