Urgent.News

What's breaking now, across thousands of outlets.

AI

The 2 AM Silent Failure: What Running AI Agents in Production Taught Me About Stability

Most AI agents don't fail the way they do in demos. They fail later, and quieter: a task runs at 2 AM, fails silently, nobody gets alerted, and you discover it the next morning — a full day of work gone. We run MeshCtx on a small three-machine cluster. Today's health check comes straight from a production instance that has been running for a while: 15/15 modules online, 0 errors, on v3.121.7.…

In the world of AI agents, failures often occur in unexpected ways. Rather than experiencing a noticeable crash during a demo, these agents tend to falter later, in a more subtle manner. A task may run during the early hours of the morning, fail quietly without alerting anyone, and the user only discovers the issue the following day – a full day of work potentially lost.

At MeshCtx, we have encountered such failures in our own production system, running on a small three-machine cluster. To gauge our stability, we examined the health check from one of our production instances, which reported 15 out of 15 modules online with zero errors and was running on version 3.121.7. The source of this stability lies in several key factors.

Firstly, we have a robust set of automated tests to support our system. We are proud to share that we have 3,728 automated tests, all of which have passed successfully. These tests cover three different platforms: Windows, macOS, and Linux. Our best result on the LongMemEval EM test is 64.6% (3-sample best-of-3, compared to a 62.5% symmetric baseline).

Interestingly, the tighter the memory budget, the better the performance – for instance, at a 16KB memory budget, we achieved a 16.7 percentage point improvement over the symmetric baseline.

Secondly, stability means more than just not breaking. It means that our system has been tested thoroughly across the three platforms, reducing the likelihood of encountering the unforeseen bugs that might arise when deploying to production. Our extensive test coverage is not merely a cost line; it is a demonstration of respect for the user's time and resources.

Thirdly, our system is designed to remember. Most agent failures stem from forgetting, as one task's position list may bleed into another, or yesterday's task state might overwrite today's. Our solution is a layered memory approach with 17 regions, ensuring that positions lists do not bleed into article drafts, and yesterday's task state does not overwrite today's. Remembering the right things is the challenging part, but it is crucial for maintaining stability.

Finally, our system behaves consistently across all platforms, whether it is Windows at the office, macOS at home, or Linux in the cloud. We have automated this consistency rather than relying on manual restarts. For those looking to evaluate AI tools, we recommend checking whether the team publishes their test numbers. Teams that openly share their test results typically have something to back up their claims.

MeshCtx, which is free and open source under the MIT license, is available at meshctx.com. We invite everyone to run the tests and check the health endpoint, so you can verify our claims and those of others.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Adding an Image-to-Video Button to a Creator Tool

I'm an independent developer designing a small asset tool for content creators. The workflow starts with generating images and choosing one.

  • Developer adds "Generate video" button to image tool
  • Image-to-video uses GPT Image 2 and Seedance 2.5
  • Resulting video showcases dress movement for fashion content

What Building a Real App with AI Actually Cost: 36 Parts, Three Seasons, About $17

Three seasons, thirty-six parts, one clinic app — and a meter that ran the whole time. Every part of the ClinicLive trilogy ended with a 💸 box, every retro added its season up, and every number came…

  • Building a real app with AI cost approximately $17.00
  • Expenses broken down into 36 parts, spanning three seasons
  • Season Three had the most expensive single reading at $1.30

AI Era: Building Web Sites and Configuring Nginx Reverse Proxy Process

Preface As the title suggests, I recently spent a few days building a company official website, and on top of that, I’ve developed several sub‑sites for the company over the past few months.

  • AI streamlines website building process with prototypes, UI design, and coding.
  • Developers work as general-purpose engineers, collaborating on functional modules.
  • Self-testing by engineers before submitting modules to formal testing.

More from Friday 4 September →