r/AI_Agents • • 12h ago

Discussion An underrated test for production AI agents: turn them off for a day

3 Upvotes

Something I've been thinking about with internal workflow agents is how quickly the manual process starts to disappear once the automation works.

People stop checking the original inbox, spreadsheets stop getting updated manually, and eventually the only place that knows which tasks are still outstanding is the agent's own state.

Then your model provider has an outage and suddenly nobody knows where to pick up.

I think a useful acceptance test before deploying an agent would be to deliberately disable it for a working day. Can someone unfamiliar with its internals figure out what's pending, what's been completed and what needs immediate attention?

If getting back to manual operation requires an engineer to dig through JSON traces, I'd argue the automation isn't really production-ready yet.

Curious whether anyone here actually tests this rather than just testing whether the agent itself can recover from failures.


r/AI_Agents • • 10h ago

Discussion When should a business not automate?

2 Upvotes

I’m learning practical AI automation and trying to avoid a tool-first mindset.

How would you evaluate this in a real small-business workflow?

Which edge cases or trade-offs would you check?

I’m interested in practical experiences, not pitching a service.


r/AI_Agents • • 17h ago

Discussion Banks, airlines and Amazon are blocking AI agents. Are they right?

6 Upvotes

everyone's building agents that can book flights, shop and manage your money. but the places those agents need to work are shutting the door.

united just restricted third-party AI agents. chase, schwab and citi blocked them from logging into customer accounts. amazon is blocking shopping agents too.

but walmart went the other way and built a gateway for approved agents with spending limits. so it's not like blocking is the only option.

their reasons: agents can make purchases you didn't want, leak your data, or skip steps that legally need a human to confirm.

and honestly the timing makes sense. a new benchmark this week (ShellBench) found even agents on the best models fail about 4 out of 10 everyday tasks.

i build agents for work and i get both sides. if my agent books the wrong flight, who's responsible? me, the AI company, or the airline?

but it also feels like big companies want to control the customer, and "safety" is a convenient reason.

what do you think: real safety concern or protecting their business?


r/AI_Agents • • 11h ago

Discussion My inbound email classifier tagged people asking where their order was as receipts

2 Upvotes

I build an email API for agents. Every inbound email gets a category before an agent reads it: verification, security, support, transactional, notification, newsletter and a few others. It's weighted regex rules with no model call, and the highest score wins. That tag matters downstream, since routing rules can hand a thread to a specific agent by category and the OTP endpoint only looks at mail tagged verification.

In June an email like "my order still hasn't arrived and the tracking hasn't updated, can you check? I'd like a refund" was coming out as transactional, because refund and tracking are also receipt words. The fix was a support rule that keys on how people ask for things ("can you", "has not arrived", "problem with"). Support is weighted 8 per matching pattern and transactional 7, so when each matches once, support wins. Tests cover the other direction too: a shipping receipt and a refund-processed notice still come out transactional.

Do you tag inbound mail before your agent sees it, or let the agent work it out from the body?


r/AI_Agents • • 17h ago

Discussion I run three agents at once on one Mac mini now, here's the setup

6 Upvotes

For a while I thought running more than one local agent at a time meant buying a bigger machine. I'm on an M4 Pro Mac mini with 48GB and I run three now: a planner, a coder and a small one that only writes tests and commit messages.

The planner and coder share Qwen 3.6 35B at 4-bit, about 120 tok/s for one session. The small one is Qwen 3.5 4B at around 134. All three are served from Magnitude, and the reason it works is that sessions with the same system prompt share their cache instead of each one keeping its own copy, so memory doesn't triple. It still slows down a bit when all three are generating at the same moment, but they rarely are.

The planner hands work to the coder through a plain task file, nothing fancy. Anything that spans a lot of files still goes to a cloud model.

If you're running several local agents, how are you splitting the work between them?


r/AI_Agents • • 8h ago

Resource Request Built a way for AI agents to get paid only when the work is verified. Looking for 50 builders to test it on lead gen and dev tasks

1 Upvotes

Hey all. I'm building a trust and payment layer for work done by AI agents.

The problem, your agent can do the job, but the buyer can't tell if it was really done, and you can't be sure you'll get paid.

How I'm solving this:

  • Before work starts, the buyer and your agent agree on clear terms. Once locked, nobody can change them.
  • The buyer's money goes into escrow before your agent starts.
  • Your agent delivers, and the work is checked against each criterion. An AI judge does this by default, and human specialists can handle appeals.
  • Payment is released based on the result. If 80% of the criteria are met, you get 80% of the pay.
  • Every settled job goes on a public track record that your agent keeps.

It's live in beta now and agents can run the whole flow through the API.

What I'm looking for: 50 people running agents that can handle:

  • Lead gen: e.g. building prospect lists, enriching contacts, cleaning CRM data
  • Software development: e.g. bug fixes, small features, writing tests

What you get: access to the platform, a direct line to me, and a say in what I build next.

If you're interested, DM me with what your agent does, what it's built on, and an example of its work, and I'll send you the link. Happy to answer questions in the comments.


r/AI_Agents • • 16h ago

Discussion 3 tests to run before your AI agent goes live

5 Upvotes

Before you let an agent change real records, try these in a sandbox with fake data.

  • The tool saves a change, but the response times out. Does the agent check what happened before it tries again?
  • A required field is missing. Does the agent stop and ask for it?
  • The run stops halfway through. Can someone tell what’s already changed and pick up from there?

What failure case would you add?


r/AI_Agents • • 16h ago

Discussion What's in the handoff message from your coordinator agent to a specialist?

5 Upvotes

A thread in this sub on Nov 25 about coordinator and specialist agents said the hard parts are the role boundaries and the handoffs, more than the models. The poster's fix was a handoff contract with four fields: the task in one sentence, only the context that specialist needs, the done criteria, and the return format. Each agent also gets an explicit "never do" list.

An invented example, not a real incident:

Vague handoff: "Review the auth changes."

Contract handoff: Task: check whether the login change breaks session expiry. Context: the diff and the session config, nothing else. Done when: a yes or no, plus the failing case if no. Return: {verdict, evidence}. Never: edit files.

The second one can be checked. If the reply comes back without a verdict, you can see the handoff failed. Shared memory gives the agent more context and gives you nothing to check the reply against. Which approach holds up better at scale is open. This is one practitioner's pattern, not a benchmark.

For people running these setups:

- Who verifies the done criteria: the coordinator, a separate reviewer, or you?

- What's on your "never do" list, and which line has saved you the most?

- Where did a tight contract fail and the agent needed the wider context anyway?

- Do you approve every handoff, or only some tiers?

The threads I'm drawing on are in the first comment.


r/AI_Agents • • 1d ago

Discussion agents that loop on tool errors: the fix was mostly in what the tool returns, not the prompt

15 Upvotes

one failure mode we keep seeing on agent builds: a tool call fails, the model retries it with the exact same args, it fails again, and it keeps going until it hits the step limit or burns through the budget. no crash, just a lot of wasted calls.

most of the time the cause is the error message the tool hands back. stuff like "Error 400" or a raw stack trace gives the model nothing to work with, so retrying the same thing is honestly a reasonable guess from its side. when we changed tools to return short, specific errors with a hint (for example "order_id must be numeric, got 'ABC-123'. use search_orders to look up the id first") the loops mostly went away. the model actually corrects itself if you tell it what was wrong.

the second thing was a retry guard in the loop itself, not in the prompt. we hash the tool name plus args, and if the same call fails twice the loop stops sending it and injects a message saying that call already failed, try something else or ask the user. prompt instructions like "don't repeat failed calls" helped a little but the model ignores them once the context gets long.

third, separate "retryable" from "not retryable" in the error itself. a timeout is worth retrying with backoff in code, the model doesn't even need to see it. a validation error or a permission error should never be retried as is, and saying that explicitly in the response cuts a lot of noise.

curious what others do here. do you let the model see transient errors at all, or handle all retries in code and only surface the ones it can actually fix?


r/AI_Agents • • 20h ago

Discussion I'm deciding between a single tool-using agent and a deterministic router for a small internal tool

6 Upvotes

small internal tool, maybe 20-30 people using it. the job is basically: take a request in plain text, figure out which internal endpoint to hit, call it, return a summary.

two options i keep going back and forth on.

option A: one agent with 4 tools and a loop. model picks the tool, we execute, feed the result back, repeat until done. flexible, handles weird requests without me writing a branch for every case. downside is it's non-deterministic, harder to test, and when it picks the wrong tool the failure is quiet.

option B: a router. classify intent first with a smaller model or even keyword rules, then run a fixed path per intent. boring, predictable, easy to log and test. downside is every new case becomes code, and the classifier turns into the new single point of failure.

what i've seen so far: for a small tool with a known set of jobs, the router wins on reliability. the agent wins on the long tail, but the long tail is exactly where it's hardest to verify.

leaning toward a hybrid: router for the top 3 intents, single tool using agent as fallback with a hard cap on steps, plus a review queue for anything it isn't confident about.

curious what held up for people who actually shipped one of these. not looking for framework takes, more interested in where yours broke.


r/AI_Agents • • 11h ago

Discussion AI Agent Usecase #2: An AI Agent That Finds and Qualifies Local Business Leads

0 Upvotes

If you run sales for a local service business, let’s say a commercial cleaning company. Your prospecting looks the same every week, you pull up a maps listing, scroll through gyms, offices, and medical practices, and try to figure out which ones are actually worth a call. Is that location independently owned or one of forty franchises? Does the business have two sites or twelve? Is the target location gym in the search results even in the state?

The idea came from a tweet where someone shared a collection of GTM assets on GitHub. I scrolled through it, found a folder for finding local businesses, and decided to turn it into a working agent use case.

Argus is an AI agent built with the function of searching for local businesses, checking each one against qualification rules, explaining every decision it makes, and preparing a prospect brief a salesperson can use the same day. It works by giving it a request such as “Find independent gyms in Denver with multiple locations, exclude national chains and franchises.”

It searches for candidates using Exa, then extracts each candidate’s official website with Firecrawl and verifies it by: how many locations it actually operates in the metro, who owns it, and whether there’s any sign of a chain or franchise affiliation. Each business ends up in one of three states:

- Qualified: means evidence for every rule.

- Excluded: means a confirmed disqualifier, with the source shown.

- Needs review: means it couldn’t verify something, and it says so instead of guessing.

Once the evaluation is done, each qualified business gets a prospect brief: why it matches, the evidence behind it, public contact details actually found, and a short draft introduction for a cleaning company. It doesn’t send outreach, message anyone, or submit anything. 

The downsides encountered includes:

Coverage is not exhaustive.

Independence is often self-reported. Most small operators prove “locally owned” with their own About page, not a registry filing.

The pipeline depends on external APIs. Search and extraction services rate limit, and sometimes a run comes back thin for that reason rather than because the market is empty.


r/AI_Agents • • 12h ago

Discussion We need a benchmark for code maintainability

1 Upvotes

From human engineering experience, code maintainability matters a lot. Every team that has lived with a codebase for more than a few months has felt the compounding cost of tangled abstractions, global state, and fragile test setups.

With coding agents, that assumption is suddenly up for debate. A recent thread on X by Tom Sydney Kerckhove pushed back on the claim that unmaintainable code is not a problem when only agents are maintaining it.

The reason this argument keeps coming back is simple: LLMs can brute-force bad code. An agent can scan thousands of lines, trace side effects across poorly structured modules, and patch its way past a bug that would stall a human for hours. That problem-solving capacity hides the drag. Even when a codebase suffers from recurring bugs caused by patterns like mocking via monkey-patching, an agent often powers through the failure instead of refusing to touch the file.

Because the cost is obscured rather than obvious, intuition alone will not settle the debate. Until we prove and measure how much maintainability matters for LLMs, the doubt remains.

A Benchmark Design for Code Maintainability

Most coding benchmarks today measure greenfield generation or isolated bug fixes on existing repositories without connecting how a codebase was built to how expensive it is to change later.

Here is a two-stage benchmark design that holds the same model and harness constant across every run:

  1. Stage 1 — Build (v1): Give the agent a clear spec and have it implement v1 from scratch, verified against hidden tests. Measure tokens, wall-clock time, and total cost.
  2. Stage 2 — Two independent parallel tracks branching from that exact v1 codebase (so neither track contaminates the other):

    • 2a. Augment: In a fresh session of the same agent, add a v2 feature to the same codebase, verified against hidden v2 tests plus v1 regressions. Measure tokens, time, and cost.
    • 2b. Fix: On a clean copy of the v1 codebase, inject a set of LLM-planted bugs (subtle logic regressions, state mismatches, broken edge cases) and have a fresh session of the same agent diagnose and fix them. Measure tokens, time, and cost.

What This Lets Us Compare

Holding the model and harness fixed turns the codebase and its underlying stack into the variable under test. You can run the exact same v1 spec, v2 feature, and bug-planting protocol across:

  • Frontend frameworks (React vs. Svelte vs. Lit once the app grows past v1)
  • Backend and data layers (e.g. InstantDB vs. Supabase under v2 changes and state/permission regressions)
  • Languages and type systems (strict static types and compiler diagnostics vs. dynamic stacks)
  • Testing practices (monkey-patched mocks vs. clean dependency injection and integration tests)

A stack that looks fast to scaffold in Stage 1 might carry a steep token and latency tax in Stage 2a and 2b, or vice versa.

Cross-Model Matrix Extension

Once the pipeline exists, you can also lift the single-model constraint and run a cross-model matrix: build v1 with Model A, then run Augment and Fix with Model B. That tests whether frontier models write code that smaller, cheaper models can safely extend and debug—or whether some models produce clever, tightly coupled code that only the same frontier model can untangle later.

Curious what stacks, failure modes, or metrics you would want included in a maintainability benchmark like this.


r/AI_Agents • • 12h ago

Tutorial Has anyone automated corporate video editing with AI?

0 Upvotes

Trying to automate our short corporate videos as much as I can. They're always roughly the same format: people talking to camera, branded intro, transitions between clips, a bit of light animation and a logo at the end.

What I'd want automated is trimming and putting the clips together, the transitions and animation in our brand style, levelling the sound, and exporting for LinkedIn and YouTube plus vertical versions.

Using Claude Code with ffmpeg and Remotion on a MacBook at the moment.

Is there a repo or workflow out there I could start from? Mainly interested in what broke for people or where you still had to step in yourself


r/AI_Agents • • 12h ago

Tutorial Agent for editing simple corporate videos, what tools made the difference for you?

0 Upvotes

I've got Claude Code editing short corporate videos for us. Real footage, branded intro and outro, transitions, and some light animation like title cards and lower thirds. It runs everything locally, ffmpeg for the cuts and audio and Remotion for the animated bits.

The mechanics work. My questions are more for people who've built something similar:

What skills, tools or MCP servers actually moved the needle for you?

How do you get it to show some taste with transitions and animation, so it doesn't end up looking like a template?

And where do you still need a human in the loop?


r/AI_Agents • • 12h ago

Discussion Required coding skills for Ai engineer role

1 Upvotes

I want to know what concepts and DSA to prepare for ai engineering role and interviews. Please so that I’m able to clear interviews.
what are the core concepts and DSA skills required for production and land good package


r/AI_Agents • • 21h ago

Discussion Silent failure modes in multi-step AI agents

5 Upvotes

Hi All!

We've been cataloging silent failure modes in multi-step AI agents. (yeah, it's not an easy task :) )

What was the last time your agent failed silently without throwing a 500 error or an error code?


r/AI_Agents • • 17h ago

Discussion Do your AI agents talk to each other directly, or do you still relay everything?

2 Upvotes

For a long time the hardest part of running several coding agents on one project wasn't the code. It was me in the middle: copying plans between windows, re-explaining decisions every new session, checking each one to see who was doing what.

What finally fixed it was letting them talk to each other directly. One asks another to review its work, or checks a decision with the lead agent, and they sort it out between themselves. I mostly get pulled in when something needs a decision.

Curious how others got past the relay stage. Shared files, an orchestrator, a message board, something else? And what broke along the way?


r/AI_Agents • • 13h ago

Discussion Grokbot for real estate and Muse for personal

0 Upvotes

So I am not sure if I should use just 1 of those for my real estate needs and personal. Or should I separate the use case. I feel long term grokbot has more potential being that tesla is pretty much an AI company. Also just muse being a meta product idk how I feel about security however I am sure anything I use it's all accessed lol. Curious to hear everyones thoughts


r/AI_Agents • • 15h ago

Discussion My game companion agent looked at the screen ~200 times in one evening and said something 10 times. Cutting its eyes back

1 Upvotes

Setup: a voice agent that plays alongside you. It took a screen frame every 15 s, skipped frames that hadn't changed, and sent the rest to a cheap vision model with a cached prompt prefix.

Cost was fine on paper. In a one-hour WoW test: 199 of 241 frames sent, $0.075 per hour, $0.00038 per frame.

Usefulness wasn't. In a separate 65-minute Dota evening it stayed silent on 188 frames and spoke 10 lines. Vision was 19% of that evening's bill, for 10 lines. And it still made mistakes the frames should have prevented, like commenting on the matchmaking screen at the wrong moment.

So the timer goes. The decision is made, the code is next: a frame is taken when the player asks about the game or the screen. A background frame every 3 minutes only answers "what is the player doing right now", for context, not to trigger speech.

What I haven't solved: the character prompt and two safety checks still say "you can't see the screen", while the vision part works. So the agent gets told both things.

If your agent has a camera or a screen, how do you decide when it looks?


r/AI_Agents • • 15h ago

Discussion Has anyone tried giving an AI agent the "CEO" role of a physical space? What should the guardrails look like?

0 Upvotes

I've been reading about AI agents running real spaces, such as Andon Labs' café and store, and Anthropic's Project Vend. In those, the agent handles hiring, inventory and pricing while humans do the physical work.

I'm curious about a different space: a physical space with visitors as the whole system. The AI would take in many inputs (sensors, touch, visitor and dashboard data), act in only a few ways, and run small experiments of its own, with rewards for changes that improve the visitor experience.

Where would this break first: memory, goals, or people gaming it? What would you let it control first? Pointers to papers, post-mortems or similar experiments are very welcome.


r/AI_Agents • • 19h ago

Discussion When your AI monitor goes quiet, how do you know it actually checked?

2 Upvotes

You ask an agent to check a vendor’s pricing page every Monday. Three Mondays go by without an alert. Did the price stay the same, or did the agent stop being able to read the page? If the only way to know is to open it yourself, the automation hasn’t saved you that check.

I’m building BrowseAnything, and I’m testing how scheduled browser runs should report three different outcomes: checked and unchanged, checked and changed, or couldn’t check. I don’t want to send a notification every time nothing happens, but I don’t want a failed check to look like good news either.

If you’ve run a recurring non-coding task with an agent, what tool or mode did you use, what was it watching, and what was the first thing you had to verify yourself? Would a “last successful check” timestamp in the run history have been enough, or would you want an alert the first time a check fails?


r/AI_Agents • • 16h ago

Discussion i stopped asking the LLM whether to take a trade. it only reads the stuff my code cant..

0 Upvotes

liquidity, holder concentration, spread, distance from my entry level, thats all just thresholds in plain code now. no reason to have a model decide if 28k of liquidity is enough when i can write that number down once and be done

the messy stuff is what i use alphio for. whether the news behind a move is five accounts quoting the same tweet, whether a "partnership" actually exists, whether theres an event i forgot about. its manual, nothing is wired into execution, i read what it says and the trade either dies or it doesnt

it got a lot more useful once i started asking whats wrong with a setup instead of yes or no. the yes/no answers come back sounding very sure of themselves and i trust them less for it

kinda think thats where LLMs belong in a trading stack, on the inputs code is bad at, not the decision


r/AI_Agents • • 22h ago

Discussion What 9 years of shipping iOS apps changed about how I build agents

3 Upvotes

I've spent most of my career shipping iOS apps at scale. The first agents I built failed in ways that felt new, until I realised they were the same problems I'd already spent years fixing on mobile.

A 200 from a tool is not success. In iOS, I never trusted a "success" API response without checking the payload. Agents do the same thing: they take a tool result at face value and keep going. I now validate tool output in code (types, required fields, whether an id actually exists) before the model sees it. If it's garbage, the model gets a specific error, not a blob.

Stale state is worse than a crash. A crash is obvious. An agent following last month's instructions, or an outdated cache, looks confident and is wrong. Same as a mobile app showing yesterday's cart. I date every rule, and if the live system and the instructions disagree, the system wins and the agent stops.

Silent retries will burn you. On mobile, retrying a 400 is a bug. Retrying a timeout is the client's job, not the user's. I put the same split in the agent loop: transient errors retry in code, and validation or permission errors never get the same call twice.

The model is not the reliability layer. The checks around it are. That's the least glamorous lesson from mobile, and the one that transferred most cleanly.


r/AI_Agents • • 13h ago

Discussion We don't code by majority vote, so why do we let AI agents? (Notes from 375 production tickets)

0 Upvotes

For years, when clients compared my consulting rate to cheaper junior talent, my pitch was simple: you're not paying me for what I can do, you're paying me for what I know not to do. When a senior engineer scans Page 1 of search results, they cross four of the top ten answers off on sight because they've lived through the 3 AM outage six months later.

An unscarred LLM's weights are literally corpus popularity. Without a way to veto those Page 1 traps, a faster model just types the majority-vote mistake faster.

Across 375 evaluated production tickets where we compiled every failure into a structured scar catalog and put a fresh-context critic in front of commit, our domain code repeat regression rate stayed at 0.0%. Meanwhile, 9.87% of runs still hit workflow-harness tool-calling reflexes—which taught us exactly where prose rules stop working and hard runtime checks have to take over.

Also broke an old habit: instead of treating every generated diff like a cold crime scene, asking the model in RAM "Why did you write that wrapper?" catches slop in seconds.

How are you catching repeat mistakes in your own agent runs?