DEV Community

#agents

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Why Your Bedrock Cost Estimate Was Wrong: Cross-Region Inference Multipliers

Why Your Bedrock Cost Estimate Was Wrong: Cross-Region Inference Multipliers

Comments
5 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
Stop sending your users' SSNs to the LLM

Stop sending your users' SSNs to the LLM

Comments
5 min read
Stop Branching on Error Strings: A Closed Enum for Tool Exceptions

Stop Branching on Error Strings: A Closed Enum for Tool Exceptions

Comments
4 min read
tool-arg-coerce-py: Coerce LLM Tool Args to Expected Types Before They Break Things

tool-arg-coerce-py: Coerce LLM Tool Args to Expected Types Before They Break Things

Comments
5 min read
Redact API Keys and Tokens From LLM Payloads Before They Leave Your Network

Redact API Keys and Tokens From LLM Payloads Before They Leave Your Network

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
PII Redaction Before LLM Calls: Keep User Data Out of Your Prompt Logs

PII Redaction Before LLM Calls: Keep User Data Out of Your Prompt Logs

Comments
4 min read
Fast Heuristic Token Counter: Know Your Prompt Size Without Calling tiktoken

Fast Heuristic Token Counter: Know Your Prompt Size Without Calling tiktoken

Comments
4 min read
Rule-Based LLM Output Validation: Reject Bad Responses Before They Reach Your Users

Rule-Based LLM Output Validation: Reject Bad Responses Before They Reach Your Users

Comments
5 min read
Multi-Provider Streaming Chunk Reassembly: Collect an LLM Stream Into a Complete Response

Multi-Provider Streaming Chunk Reassembly: Collect an LLM Stream Into a Complete Response

Comments
4 min read
Self-Impose Rate Limits on Your Agent Before Your Provider Does

Self-Impose Rate Limits on Your Agent Before Your Provider Does

Comments
6 min read
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
Render Tool Output as LLM-Friendly Markdown: Give the Model Readable Data, Not Raw JSON

Render Tool Output as LLM-Friendly Markdown: Give the Model Readable Data, Not Raw JSON

Comments
5 min read
In-Process Pub/Sub for Agent Events: Decouple Your Observability From Your Logic

In-Process Pub/Sub for Agent Events: Decouple Your Observability From Your Logic

Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.