✕ Clear all filters
33 articles
▶ Videos →

📰 Dev.to · Gabriel Anhaia

33 articles · Updated every 3 hours · View all reads

All Articles 134,364Blog Posts 138,800Tech Tutorials 34,910Research Papers 25,962News 18,910 ⚡ AI Lessons
Sub-Agents vs One Big Agent: 4 Signals That Decide It
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 2mo ago
Sub-Agents vs One Big Agent: 4 Signals That Decide It
Stop debating sub-agent topology. Score your workload on cost variance, traceability, recovery semantics, and parallelism.
Your Agent Just Called the Same Tool 47 Times. Here's the 20-Line Detector.
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 2mo ago
Your Agent Just Called the Same Tool 47 Times. Here's the 20-Line Detector.
max_iterations is the wrong knob. A sliding window on (tool_name, args_hash) catches stuck agents before they burn the credit card.
Tool Definition Drift: When Your Agent's Toolset Outgrows Its Prompt
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 2mo ago
Tool Definition Drift: When Your Agent's Toolset Outgrows Its Prompt
Your agent has 28 tools. The system prompt names three. How the drift shows up in traces and how to stop it before users notice.
An Eval Harness for Tool-Use Agents: 90 Lines, 3 Judges, $3 Per Run
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 2mo ago
An Eval Harness for Tool-Use Agents: 90 Lines, 3 Judges, $3 Per Run
Tool-use agents fail silently when a prompt change rewires which tool gets called. 90 lines of Python, 3 judges in a ladder, runnable on a small golden set for
Why Strict JSON Mode Doesn't Stop Hallucinated Tool Calls
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 2mo ago
Why Strict JSON Mode Doesn't Stop Hallucinated Tool Calls
Strict JSON mode guarantees schema validity, not value correctness. The four ways a perfectly-shaped tool call still ships you broken data.
The Agent That Spent $47K on Itself: An Autonomous-Loop Postmortem
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 2mo ago
The Agent That Spent $47K on Itself: An Autonomous-Loop Postmortem
Four LangChain agents, no step cap, 11 days of recursion, and a $47,000 invoice. The defenses that would have stopped it at iteration 3.
The 5 Failure Modes of Multi-Agent Systems Nobody Warns You About
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 2mo ago
The 5 Failure Modes of Multi-Agent Systems Nobody Warns You About
Loop-of-loops, ownership ambiguity, shared-state races, handoff ping-pong, cost runaway. Each one with the OTel signal and the code-level fix.
Multi-Agent Handoff With Ownership Boundaries Nobody Crosses
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
Multi-Agent Handoff With Ownership Boundaries Nobody Crosses
A research agent and a writer agent kept passing the same task back and forth. Here is the handoff contract that finally stopped the loop.
Two-Thirds of AI-Agent Security Incidents Share One Pattern
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
Two-Thirds of AI-Agent Security Incidents Share One Pattern
65% of firms had an AI-agent incident in 12 months. The recurring pattern across the documented cases and 4 architecture changes that catch most.
97% Expect a Major AI Agent Incident This Year. Are You in the 3%?
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
97% Expect a Major AI Agent Incident This Year. Are You in the 3%?
A 2026 survey says 97% of enterprises expect a material AI agent incident within 12 months. Here's the 5-item readiness checklist that keeps you in the 3%.
An AI Agent Hit 600 Firewalls in 55 Countries With No Human
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
An AI Agent Hit 600 Firewalls in 55 Countries With No Human
Autonomous credential-spraying against FortiGate management ports, and the detection signals that fire on agent-shaped traffic.
Cursor 3 'Glass' Replaced Composer with an Agents Window
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
Cursor 3 'Glass' Replaced Composer with an Agents Window
Cursor 3 launched April 2, 2026 with parallel agents and Max Mode multipliers. Where Glass shines, where it wrecks budgets, and a token-spend comparison.
The Apple-Gemini Deal Anthropic Wasn't In: Google Cloud Next 2026
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
The Apple-Gemini Deal Anthropic Wasn't In: Google Cloud Next 2026
At Google Cloud Next 2026, Thomas Kurian confirmed Gemini will underpin Apple Intelligence and a more personal Siri. What it means for your stack.
DeepSeek V4 Pro and Flash Hit Open Source. Should You Self-Host Now?
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
DeepSeek V4 Pro and Flash Hit Open Source. Should You Self-Host Now?
DeepSeek V4 dropped April 24 under MIT, with 1.6T Pro and 284B Flash. Where self-hosting wins, where managed APIs beat it, and a fallback router.
Multi-Agent vs Single-Agent: The 3 Production Signals That Decide It
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
Multi-Agent vs Single-Agent: The 3 Production Signals That Decide It
Anthropic's own multi-agent system uses 15x more tokens than chat. Here are the 3 signals that justify it, and the test that says single-agent wins.
Your AI Agent's First Tool Call Should Never Be a Write
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
Your AI Agent's First Tool Call Should Never Be a Write
Why agents should always read before they write, and a one-decorator pattern that enforces it on the trace level.
The Discord Prompt-Injection Disclosure That Should Have Been Bigger
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
The Discord Prompt-Injection Disclosure That Should Have Been Bigger
An agent leaked secrets to a Discord channel via a link preview. Walk the timeline and the 30-line egress filter that would have stopped it.
The Most Expensive Hallucination of 2026: A Court Filing Goes Sideways
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
The Most Expensive Hallucination of 2026: A Court Filing Goes Sideways
An Oregon attorney filed an AI-written brief with 15 fake cases. The bill came to $109,700. Here is the missing verification step.
The 5 Guardrails Every AI Agent Needs Before It Touches Production
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
The 5 Guardrails Every AI Agent Needs Before It Touches Production
Action class, cost ceiling, step cap, output policy, escalation. Five wrappers around your agent loop, in the order they need to compose.
An 80-Line AI Agent That Survives 3 Production Failures
Dev.to · Gabriel Anhaia 🤖 AI Agents & Automation ⚡ AI Lesson 3mo ago
An 80-Line AI Agent That Survives 3 Production Failures
The 50-line agent demo is fine until production. Three guardrails (retry budget, loop detection, cost ceiling) turn it into 80 lines that survive.