DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Heuristic Prompt Compression: Cut Your Context Window Usage Without Losing Key Information

Heuristic Prompt Compression: Cut Your Context Window Usage Without Losing Key Information

Comments
4 min read
agenttap: Wire-Level Prompt Introspection for LLM Agents

agenttap: Wire-Level Prompt Introspection for LLM Agents

Comments
4 min read
Static Lint Rules for Your LLM Prompts (Before They Hit Production)

Static Lint Rules for Your LLM Prompts (Before They Hit Production)

Comments
3 min read
The conversation you saved to disk still has the SSN in it

The conversation you saved to disk still has the SSN in it

Comments
6 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
Priority Queue for Agent Sub-Tasks: Stop Processing Low-Priority Work First

Priority Queue for Agent Sub-Tasks: Stop Processing Low-Priority Work First

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 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
Keep Your Anthropic Prompt Cache Alive With prompt-cache-warmer

Keep Your Anthropic Prompt Cache Alive With prompt-cache-warmer

Comments
5 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
Your Agent Loop Needs a Real Exit: llm-stop-conditions

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

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

Detect Prompt Injection Before Your Agent Acts on It

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