DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Pre-Warm Your Anthropic Prompt Cache Before the Traffic Hits

Pre-Warm Your Anthropic Prompt Cache Before the Traffic Hits

Comments
4 min read
The Agent That Retried Five Times Over a String: tool-arg-coerce-py

The Agent That Retried Five Times Over a String: tool-arg-coerce-py

Comments
5 min read
Stop Writing Tool Schemas by Hand: tool-schema-from-fn

Stop Writing Tool Schemas by Hand: tool-schema-from-fn

Comments
6 min read
Detect Prompt Injection Before Your Agent Acts on It

Detect Prompt Injection Before Your Agent Acts on It

Comments
4 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
Debug Agent Failures After They Happen with JSONL Traces

Debug Agent Failures After They Happen with JSONL Traces

Comments
5 min read
Build System Prompts From Named Sections Instead of One Giant String

Build System Prompts From Named Sections Instead of One Giant String

Comments
4 min read
Cooperative Agent Deadlines: Give Every Task a Wall-Clock Time Budget

Cooperative Agent Deadlines: Give Every Task a Wall-Clock Time Budget

Comments
4 min read
My agent made a $400 mistake. I had no idea why. So I built a WHY layer.

My agent made a $400 mistake. I had no idea why. So I built a WHY layer.

Comments
5 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
agenttap: see exactly what your Python LLM client sends over the wire

agenttap: see exactly what your Python LLM client sends over the wire

Comments
5 min read
Stateful Rolling Chat History: Manage Conversation Memory Without Blowing the Context Window

Stateful Rolling Chat History: Manage Conversation Memory Without Blowing the Context Window

Comments
4 min read
token-budget-py: Thread-Safe Token and USD Caps for Python Agents

token-budget-py: Thread-Safe Token and USD Caps for Python Agents

Comments
5 min read
Token-Bucket Rate Limiting for LLM Calls: Don't 429 Your Own Agent

Token-Bucket Rate Limiting for LLM Calls: Don't 429 Your Own Agent

Comments
4 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.