DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Stop sending your users' SSNs to the LLM

Stop sending your users' SSNs to the LLM

Comments
5 min read
When the Model Says 'ASCENDING' and Your Enum Wants 'asc': tool-arg-fuzzy

When the Model Says 'ASCENDING' and Your Enum Wants 'asc': tool-arg-fuzzy

Comments
5 min read
Build Anthropic Content Blocks Without Wrestling With Dicts

Build Anthropic Content Blocks Without Wrestling With Dicts

Comments
3 min read
The WHY Layer: Log Why Your Agent Made Each Decision

The WHY Layer: Log Why Your Agent Made Each Decision

Comments
4 min read
Circuit Breaker for LLM Calls: Stop Hammering a Provider That Is Already Down

Circuit Breaker for LLM Calls: Stop Hammering a Provider That Is Already Down

Comments
4 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
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
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
Composable Output Guardrails: Filter Agent Responses Before They Reach Users

Composable Output Guardrails: Filter Agent Responses Before They Reach Users

Comments
4 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
Declarative Tool Prerequisites: Enforce Tool Ordering Before the Agent Calls in the Wrong Order

Declarative Tool Prerequisites: Enforce Tool Ordering Before the Agent Calls in the Wrong Order

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
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
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
VCR-Style Record/Replay for LLM Tests: Make Your Agent Tests Deterministic and Free

VCR-Style Record/Replay for LLM Tests: Make Your Agent Tests Deterministic and Free

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