DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
prompt-cache-key: Stable Hashes for Anthropic Prompt Cache Scopes

prompt-cache-key: Stable Hashes for Anthropic Prompt Cache Scopes

Comments
5 min read
Your Agent Loop Has No Clock: agent-deadline

Your Agent Loop Has No Clock: agent-deadline

Comments
5 min read
prompt-eval-rubric: Composable 0.0-1.0 Scoring Rubrics for LLM Outputs

prompt-eval-rubric: Composable 0.0-1.0 Scoring Rubrics for LLM Outputs

Comments
6 min read
Single-Flight LLM Calls: Coalesce 50 Concurrent Identical Requests Into One API Call

Single-Flight LLM Calls: Coalesce 50 Concurrent Identical Requests Into One API Call

Comments
4 min read
llm-tool-arg-coerce: Stop LLM String Arguments From Crashing Your Tools

llm-tool-arg-coerce: Stop LLM String Arguments From Crashing Your Tools

Comments
5 min read
llm-retry-py: Full-Jitter Retry for LLM Calls in Python

llm-retry-py: Full-Jitter Retry for LLM Calls in Python

Comments
5 min read
Session-Scoped Tool Call Deduplication: Stop Your Agent From Doing the Same Thing Twice

Session-Scoped Tool Call Deduplication: Stop Your Agent From Doing the Same Thing Twice

Comments
4 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
Format Tool Output for LLMs Before It Becomes a Tool Result: tool-output-format

Format Tool Output for LLMs Before It Becomes a Tool Result: tool-output-format

Comments
5 min read
Tool Call Deduplication: Stop Your Agent from Doing the Same Thing Twice

Tool Call Deduplication: Stop Your Agent from Doing the Same Thing Twice

Comments
6 min read
Pre-Flight Cost Gates for LLM Calls: Stop Expensive Requests Before They Hit the API

Pre-Flight Cost Gates for LLM Calls: Stop Expensive Requests Before They Hit the API

Comments
5 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
Run Your Agent in Shadow Mode Before You Trust It With Production

Run Your Agent in Shadow Mode Before You Trust It With Production

Comments
4 min read
LRU Memoization for Agent Tool Calls with tool-result-cache

LRU Memoization for Agent Tool Calls with tool-result-cache

Comments
5 min read
tool-call-budgets: Stop Runaway Agent Loops Before They Hit Your Invoice

tool-call-budgets: Stop Runaway Agent Loops Before They Hit Your Invoice

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