SShortSingh.
Back to feed

Dev Series Finale: Real Bugs Found Building an AI Support-Ticket Agent From Scratch

0
·2 views

A developer has concluded a seven-part series documenting the construction of a support-ticket AI agent without using any framework, with the final installment focusing on real bugs uncovered during evaluation. Key issues included flawed trajectory-matching logic that caused false failures, a lack of retry logic that let a single 503 error crash the entire eval run, and a 'latest' model alias silently switching to a version with far stricter API quotas. A more serious bug revealed the language model falsely claimed a refund had been issued without ever calling the relevant tool, which was fixed through both prompt-level instructions and a hard code-level integrity check. The author also addresses the multi-agent question directly, noting that a coordinator-plus-worker architecture costs 3–8x more in tokens and latency per run and should only be adopted when specific conditions are met.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Laravel APP_DEBUG=true in Production Exposed Source Code, SQL Queries for Months

A development team discovered last week that their Laravel application had been running with APP_DEBUG set to true in a production environment for several months. The misconfiguration caused every crashing route to display Laravel's full debug screen publicly, exposing file paths, stack traces, source code, SQL queries, and in some cases environment variables. The issue came to light during a routine SEO audit, when a Google Search Console alert flagged 2,246 pages returning 5xx server errors. Google had indexed all these error pages, meaning the sensitive technical details were accessible to anyone who found them via search. The team has since documented how they identified the breach, assessed the damage, and built a pre-deployment checklist to prevent similar oversights.

0
ProgrammingDEV Community ·

Software Engineer Pivots From SDE Track to Build Subsea ROV Portfolio

A software engineer with eight years of professional experience has decided to shift career focus away from traditional SDE roles, citing concerns about the industry's trajectory. Since early 2026, work on robotics integration at Nio-Robotics prompted a pivot toward subsea robotic exploration and autonomous underwater vehicles. The engineer aims to work as an ROV engineer or survey specialist aboard research vessels in the Pacific or Atlantic Ocean. To build a credible portfolio, they are setting up a reproducible DevContainer environment to simulate an ROV using ROS2 Jazzy and Gazebo, targeting platforms like the BlueROV2. The goal is to create a publicly accessible GitHub repository that anyone can launch, serving as a foundation for real-world subsea deployment work.

0
ProgrammingDEV Community ·

OpenAI's ChatGPT Desktop App Officially Supports Windows and macOS, Not Linux

OpenAI's official documentation for the ChatGPT desktop app covers only Windows and macOS, with no Linux client, preview, or installation path announced. Third-party Linux wrappers and community ports exist but are independent projects and do not carry OpenAI's support, security guarantees, or release process. A past macOS security update noted the issue did not affect Linux, but this refers solely to that incident and should not be read as confirmation of a Linux app. Organizations evaluating desktop AI tools should verify whether any client is first-party software backed by official documentation before deploying it on managed systems. Until OpenAI formally announces Linux support, Linux remains outside the confirmed ChatGPT desktop platform footprint.

0
ProgrammingHacker News ·

Developer Creates Single-Page Visual Map of the Entire PyTorch Framework

A developer has published a comprehensive single-page reference guide covering the entirety of the PyTorch machine learning framework. The resource is hosted at tensor.khalilli.ai and aims to serve as a structured map for navigating PyTorch's concepts and components. The post was shared on Hacker News, where it received 8 upvotes. The guide appears intended to help developers and researchers quickly orient themselves within the PyTorch ecosystem without consulting scattered documentation.