DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Stop Paying for the Same Tool Call Twice: Memoize LLM Tool Calls with tool-call-cache

Stop Paying for the Same Tool Call Twice: Memoize LLM Tool Calls with tool-call-cache

Comments
5 min read
Version and Hash Your Prompt Templates: Know Exactly Which Prompt Produced Each Response

Version and Hash Your Prompt Templates: Know Exactly Which Prompt Produced Each Response

Comments
5 min read
Defending Against Prompt Injection in Python Agents

Defending Against Prompt Injection in Python Agents

Comments
6 min read
My agent retried a 401 Unauthorized nine times. The fix was two lines.

My agent retried a 401 Unauthorized nine times. The fix was two lines.

Comments
5 min read
Validate LLM Output Before It Reaches Your Users

Validate LLM Output Before It Reaches Your Users

Comments
5 min read
Five Things to Do Before You Deploy Your Agent to Production

Five Things to Do Before You Deploy Your Agent to Production

Comments
6 min read
50 Users Ask the Same Question. Your Agent Makes 50 API Calls. Here's the Fix.

50 Users Ask the Same Question. Your Agent Makes 50 API Calls. Here's the Fix.

Comments
4 min read
prompt-replay: Record and Replay LLM Prompts Across Models

prompt-replay: Record and Replay LLM Prompts Across Models

Comments
5 min read
llm-tool-arg-coerce: Coerce LLM Tool Args to Expected Types with a Function-Sig Shortcut

llm-tool-arg-coerce: Coerce LLM Tool Args to Expected Types with a Function-Sig Shortcut

Comments
5 min read
agent-citation: Track Where Every Agent Claim Came From

agent-citation: Track Where Every Agent Claim Came From

Comments
6 min read
How to Know When Your Agent Is Done (Before It Runs Forever)

How to Know When Your Agent Is Done (Before It Runs Forever)

Comments
6 min read
PII in Your Prompt Logs Is a Liability: Redact Before You Send

PII in Your Prompt Logs Is a Liability: Redact Before You Send

Comments
5 min read
Which Agent Feature Costs the Most? Here's How to Find Out.

Which Agent Feature Costs the Most? Here's How to Find Out.

Comments
7 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
Pre-Warm Your Anthropic Prompt Cache Before the Traffic Hits

Pre-Warm Your Anthropic Prompt Cache Before the Traffic Hits

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