DEV Community

Python

import antigravity

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Per-Step JSONL Logging for Agent Runs: Know What Your Agent Did and When

Per-Step JSONL Logging for Agent Runs: Know What Your Agent Did and When

Comments
4 min read
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
I parallelized two tool calls to speed up my agent. One was a database write. Here's what happened.

I parallelized two tool calls to speed up my agent. One was a database write. Here's what happened.

Comments
6 min read
Stop Writing One-Off Case Converters for LLM Tool Args: tool-arg-rename

Stop Writing One-Off Case Converters for LLM Tool Args: tool-arg-rename

Comments
5 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
Build a Metrics Dashboard for Your Python Agent in 50 Lines

Build a Metrics Dashboard for Your Python Agent in 50 Lines

Comments
6 min read
Replay Every LLM Prompt Against a New Model Before You Migrate

Replay Every LLM Prompt Against a New Model Before You Migrate

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

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

Comments
5 min read
llm-fallback-chain: Ordered Provider Failover for LLM Calls

llm-fallback-chain: Ordered Provider Failover for LLM Calls

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
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
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
Stop Your Agent from Sneaking in 'I would recommend...' When You Said Only 'escalate', 'resolve', or 'defer'

Stop Your Agent from Sneaking in 'I would recommend...' When You Said Only 'escalate', 'resolve', or 'defer'

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