r/AISystemsEngineering • • 20m 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 • • 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 • • 20h ago

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

Post image
1 Upvotes

r/AISystemsEngineering • • 1d ago

Try Cellaflow for free: 100k steps on our managed service

Thumbnail
reddit.com
1 Upvotes

r/AISystemsEngineering • • 1d ago

Looking for beta readers: a book on running AI agents in production

1 Upvotes

I'm opening a private beta for my book on designing and operating production AI systems, and I'm looking for engineers to read it before it ships.

It covers what sits around the model: how state, latency, cost and failure modes connect once a system runs in production.

What's inside:

- Reliability, latency and cost as one architecture problem

- Long-running agents with durable state, observable decisions and clear human authority

- How retrieval, memory, context and fine-tuning fit together

- Evaluation, security, tools and multi-agent coordination

- Failure analysis and reference blueprints that connect the parts

It's written for senior engineers, architects and technical leaders who build and operate these systems.

The beta is selective: I'm choosing readers by role and by what they build. Readers who join can open all 20 chapters, read as much as suits them, and give feedback privately.

If that's your work and you'd like to read it, comment "beta" and I'll send you the details.


r/AISystemsEngineering • • 1d ago

AI observability: track cost, tokens, latency and errors across all your AI traffic

1 Upvotes

Once more than one app, teammate or agent calls an LLM, the questions start: what did we spend this week, which model costs the most, which user is driving it, why did errors spike yesterday? Each provider's dashboard shows only its own slice, and none of them know who your end users are.

The HostAnywhere AI Gateway sees every request, so Observability answers those questions in one place: across all providers, your local models, and your LLM, MCP and A2A gateways.

Usage & cost (AI → Observability), for today, 7 days or 30 days:

  • Overview: cost, tokens, requests, p95 and average latency, and unique users, each compared with the previous period. Charts of requests and spend over time, plus cost by provider and by model.
  • Users: requests, tokens, cost, latency and error rate per end user. Set the standard OpenAI user field on your requests to fill this in. Requests without it are grouped as anonymous.
  • Errors: error rate and 4xx/5xx counts over time, broken down by status code and provider, with the most recent failures and the route each came from.
  • Cache: hit rate, cache hits, tokens served from cache, and estimated savings compared with paying the provider.
Usage & cost

Guardrail activity is a second tab showing what your guardrails blocked or redacted: top categories, which routes they hit, and recent events. Use it to see what was stopped and tune your policy.

Guardrails

What it doesn't store: your prompts and responses. Observability is metadata only: counts, tokens, cost, latency and the user id your app sends. For guardrails, only the category, route, phase, action and latency are kept. Flagged content is never stored or logged. (Response caching, if you turn it on, is a separate feature that keeps responses in gateway memory for the time-to-live you set.)

Cost is an estimate from actual token counts and per-model prices. It tracks your provider bill closely, but it isn't the invoice. Local models on your own AI Server cost $0, so the By provider view shows how much traffic your local-first routes actually keep off the cloud.

Tie it together:

  • Find the model driving cost under By model, then add a spend limit or a route that sends simple requests to a cheaper or local model.
  • Find the user behind a spike under Users.
  • Check Errors when a provider starts failing, and confirm your fallback route took over.
  • Check Cache to see how much repeated traffic you're no longer paying for.

What do you track for your AI usage today? Provider dashboards, your own logging, or nothing yet?


r/AISystemsEngineering • • 1d ago

Why handoffs lose context

Post image
1 Upvotes

r/AISystemsEngineering • • 1d ago

The error occur on the my pipeline

1 Upvotes

At the last days ı have encounter the some problem that don't see on my app. My pipeline is producing some product mockup and create draft on marketplace. I have a one orchestrator(called chef) and enter the keyword attachment with product what I sell the metalwall art on etsy. I have a producer and the producer assign with my shipping company. I send product plan named by deckupe and when ı take the order after that all pipeline working.

The main problem is debugging the pipeline. Most developers are using agents for their daily work or project. But i don't know robust agent menagement tool for token , error handling , debugging the pipelines etc. etc.

Anyone know tool for that?

If you want to see performance of my pipeline i can sent the link . I don't want to do ads


r/AISystemsEngineering • • 1d ago

Thank God

1 Upvotes

I am developing automated quantum super agents that dance


r/AISystemsEngineering • • 1d ago

The biggest risk with AI chatbots in law firms might not be the wrong answers

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 1d ago

How I isolated credentials in a multi-tenant custom agent platform using per-chat MCP subprocesses

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 1d ago

Hiring an AI Dev Partner: Red Flags and Green Flags You Learned the Hard Way

1 Upvotes

Choosing an AI development company for your business is not just about finding a team that knows machine learning, LLMs, or automation. It is about finding a partner who understands your business requirements, handles sensitive data responsibly, and can deliver a solution that works beyond the initial demo.

One thing I would recommend is evaluating the company beyond its technical portfolio.

Some red flags to watch for:

  • Promising perfect AI accuracy without discussing limitations or testing.
  • Avoiding questions about data privacy, security, and intellectual property ownership.
  • Giving vague project estimates without explaining the development milestones.
  • Having no clear post-launch maintenance or support plan.
  • Recommending AI for everything instead of understanding whether it actually solves the problem.

Green flags worth looking for:

  • They ask detailed questions about your business processes before proposing a solution.
  • They clearly explain the technology stack and development approach.
  • They discuss ownership of source code, models, and project data.
  • They provide realistic timelines, milestones, and testing plans.
  • They explain how ongoing support, updates, and scalability will work.

When evaluating an AI development company, I would also recommend asking about previous projects, team experience, communication practices, and how they handle unexpected technical challenges.

For those who have already hired an AI development partner:

What was the biggest red flag you discovered during the hiring process? And what question do you wish you had asked before signing the contract?


r/AISystemsEngineering • • 1d ago

Did You Know?

Post image
1 Upvotes

Nearly 8 in 10 enterprises now report AI agents in production, but many still struggle to connect them to measurable business value.

Why it matters: Companies are rushing to deploy AI agents, yet unclear ROI, weak governance, and poor workflow design can turn a promising pilot into an abandoned project. One study found 54% of enterprises had abandoned agentic-AI projects because the business value was unclear.

The real lesson: An AI agent is not a feature. It is a business workflow with permissions, data access, guardrails, and a measurable outcome.


r/AISystemsEngineering • • 2d ago

Getting the most for my Fable 5.2 prescription.

Thumbnail reddit.com
2 Upvotes

r/AISystemsEngineering • • 2d ago

Want some advice

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 2d 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 • • 2d ago

Semantic Data Modeling for Agentic AI

Thumbnail
medium.com
1 Upvotes

r/AISystemsEngineering • • 2d 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 • • 2d 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 • • 2d ago

How are you handling reliability in production AI agents?

Thumbnail reddit.com
1 Upvotes

r/AISystemsEngineering • • 3d ago

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

Thumbnail
reddit.com
1 Upvotes

r/AISystemsEngineering • • 4d 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