DEV Community

# agents

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Ordered Provider Failover: Try Anthropic, Fall Back to OpenAI, Then Gemini

Ordered Provider Failover: Try Anthropic, Fall Back to OpenAI, Then Gemini

Comments
4 min read
Normalize Provider Error JSON So Your Agent Can Actually Handle Failures

Normalize Provider Error JSON So Your Agent Can Actually Handle Failures

Comments
3 min read
Strip Thinking Tags From LLM Output Before Sending to Users

Strip Thinking Tags From LLM Output Before Sending to Users

Comments
4 min read
Thread a Run ID Through Every Agent Call So You Can Debug Anything

Thread a Run ID Through Every Agent Call So You Can Debug Anything

Comments
4 min read
claude-cost: Cache-Aware Claude Cost Calculator for Rust (Anthropic API + Bedrock)

claude-cost: Cache-Aware Claude Cost Calculator for Rust (Anthropic API + Bedrock)

Comments
4 min read
Composable Output Guardrails: Filter Agent Responses Before They Reach Users

Composable Output Guardrails: Filter Agent Responses Before They Reach Users

Comments
4 min read
Step Through Your Agent's Failures Like a Debugger

Step Through Your Agent's Failures Like a Debugger

Comments
4 min read
Fill Missing Tool Args From Schema Defaults: Stop Your Agent From Omitting Optional Parameters

Fill Missing Tool Args From Schema Defaults: Stop Your Agent From Omitting Optional Parameters

Comments
4 min read
Stop sending your users' SSNs to the LLM

Stop sending your users' SSNs to the LLM

Comments
5 min read
Persist Your Agent's Conversation History Without Rolling Your Own JSON

Persist Your Agent's Conversation History Without Rolling Your Own JSON

Comments
4 min read
Give Your Agent a Scratchpad: Keyed In-Memory Notes Between Tool Calls

Give Your Agent a Scratchpad: Keyed In-Memory Notes Between Tool Calls

Comments
4 min read
Rust: Check If Your Payload Fits a Model's Context Window Before You Send It

Rust: Check If Your Payload Fits a Model's Context Window Before You Send It

Comments
4 min read
Rust: Build Anthropic Content Blocks Without Reading the API Docs Twice

Rust: Build Anthropic Content Blocks Without Reading the API Docs Twice

Comments
4 min read
How I Shipped 2,500+ Commits With AI Agents Using a 12-Phase Workflow

How I Shipped 2,500+ Commits With AI Agents Using a 12-Phase Workflow

Comments
12 min read
The Minimum Viable Test Suite for Working with Agents

The Minimum Viable Test Suite for Working with Agents

Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.