Urgent.News

What's breaking now, across thousands of outlets.

Tech

Why Linear Agent Chains Break in Production Banking (And How We Built Deterministic State Graphs with LangGraph + Redis)

Author: Chaman Shah, Principal AI Systems Architect at Elesium The "Prompt and Pray" Crisis in Enterprise AI If you spend any time browsing GitHub or Twitter, you have seen dozens of AI agent tutorials that look remarkably similar: The fragile tutorial pattern that fails in banking chain = prompt_template | llm | output_parser | tool_executor response = chain.invoke({"input": user_query}) In a…

The linear agent chain model, commonly used in AI tutorials, fails when deployed in production banking environments due to several critical issues. First, the model suffers from catastrophic infinite loops when the LLM receives unexpected API errors, leading to excessive token usage. Second, it loses state during external gateway timeouts, forcing customers to restart the process or creating duplicate database records. Third, prompt injection attacks can bypass the system, granting unauthorized access to internal APIs.

To address these problems, Elesium developed a Deterministic Cyclical State Machine using LangGraph StateGraph, backed by Redis Enterprise Checkpointer with MessagePack binary serialization. This architecture ensures resilience, recovery, and high-throughput state persistence, making it suitable for mission-critical enterprise workflows in banking and regulated financial services.

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 Tech

JobRequester: I built this free Chrome extension that tracks job applications and am looking for feedback

Hi all, I'm the person who built this, and I'd really like honest feedback from people who are job hunting right now. I've been job searching myself, and two parts of it were pure busywork: copying…

  • JobRequester is a Chrome extension that automates job application processes.
  • It captures job details from platforms like LinkedIn and Indeed.
  • User feedback is requested via the Chrome Web Store.

WARN Act and Age Discrimination — Are Older Workers Protected When Layoffs Hit?

A WARN notice tells you a layoff is coming, not why you were chosen. That gap matters: the WARN Act and the laws against age discrimination do different jobs, and a layoff can satisfy one while…

  • WARN Act requires 60-day notice for plant closures or mass layoffs.
  • Age Discrimination in Employment Act protects workers aged 40+, with 20+ employees.
  • Older workers can file claims under WARN Act, ADEA, or both for layoff discrimination.

One SQL predicate, eleven implementations: unifying them and what our differential harness caught

This is a story about paying down the most expensive kind of technical debt in a query engine — duplicated semantics — and the testing harness that made it safe.

  • Eleven separate implementations of SQL predicate evaluation in MoteDB caused inconsistent results
  • Team wrote characteristic tests to lock current behavior before making changes
  • Differential harness caught seven pre-existing divergences in version 0.17

More from Sunday 8 November →