DEV Community

Artificial Intelligence

Artificial intelligence leverages computers and machines to mimic the problem-solving and decision-making capabilities found in humans and in nature.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Stop Guessing Anthropic's Dict Shape for Image Blocks

Stop Guessing Anthropic's Dict Shape for Image Blocks

Comments
5 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
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
Your Agent Is Calling That Tool Again: tool-loop-guard

Your Agent Is Calling That Tool Again: tool-loop-guard

Comments
6 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
prompt-replay: Record LLM Outputs Today, Replay Against a New Model Tomorrow

prompt-replay: Record LLM Outputs Today, Replay Against a New Model Tomorrow

Comments
5 min read
Per-Tool Call-Count Caps: Prevent Any Single Tool From Running Away

Per-Tool Call-Count Caps: Prevent Any Single Tool From Running Away

Comments
4 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
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 run 30 agents in parallel. They share one budget. Here is the pool primitive that makes that safe.

I run 30 agents in parallel. They share one budget. Here is the pool primitive that makes that safe.

Comments
4 min read
claude-stream-rs: parse Anthropic SSE streaming responses into a typed Rust enum

claude-stream-rs: parse Anthropic SSE streaming responses into a typed Rust enum

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
Stable Anthropic Cache Scope Hashes: Know Whether Your Prompt Will Hit the Cache

Stable Anthropic Cache Scope Hashes: Know Whether Your Prompt Will Hit the Cache

Comments
5 min read
Stop Hammering a Broken API: Circuit Breakers for LLM Calls in Rust

Stop Hammering a Broken API: Circuit Breakers for LLM Calls in Rust

Comments
5 min read
agent-message-window: a sliding context window that never breaks a tool pair

agent-message-window: a sliding context window that never breaks a tool pair

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