DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
A Week in Production: What Your Agent Will Actually Break On

A Week in Production: What Your Agent Will Actually Break On

Comments
6 min read
100 Users, One LLM Call: Single-Flight Deduplication with llm-batch-coalesce

100 Users, One LLM Call: Single-Flight Deduplication with llm-batch-coalesce

Comments
6 min read
When Your LLM Provider Goes Down Mid-Demo: llm-fallback-chain

When Your LLM Provider Goes Down Mid-Demo: llm-fallback-chain

Comments
6 min read
tool-output-truncate-py: Trim Tool Output Before It Eats Your Context Window

tool-output-truncate-py: Trim Tool Output Before It Eats Your Context Window

Comments
5 min read
llm-circuit-breaker-py: Open the Circuit Before Your Agent Hammers a Down Provider

llm-circuit-breaker-py: Open the Circuit Before Your Agent Hammers a Down Provider

Comments
5 min read
Sliding Message Window for Agent Loops: Trim Context Without Splitting Tool Pairs

Sliding Message Window for Agent Loops: Trim Context Without Splitting Tool Pairs

Comments
4 min read
When to Move an Agent Library From Python to Rust

When to Move an Agent Library From Python to Rust

Comments
5 min read
Your Agent Doesn't Know When to Stop. Give It a Deadline.

Your Agent Doesn't Know When to Stop. Give It a Deadline.

Comments
4 min read
Stop Generating Fresh UUIDs as Idempotency Keys

Stop Generating Fresh UUIDs as Idempotency Keys

Comments
6 min read
My agent cited a document that does not exist. Here is the library I wrote to catch that.

My agent cited a document that does not exist. Here is the library I wrote to catch that.

Comments
5 min read
Why Every Library in the Agent Stack Has Zero Runtime Dependencies

Why Every Library in the Agent Stack Has Zero Runtime Dependencies

Comments
6 min read
Cut Your Anthropic Bill in Half with the Batch API

Cut Your Anthropic Bill in Half with the Batch API

Comments
5 min read
Monitor Your Agent's Health in Production

Monitor Your Agent's Health in Production

Comments
7 min read
Your Agent Loop Needs a Real Exit: llm-stop-conditions

Your Agent Loop Needs a Real Exit: llm-stop-conditions

Comments
5 min read
Split Long Documents Into Overlapping Chunks Without Losing Context

Split Long Documents Into Overlapping Chunks Without Losing Context

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