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.
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
Single-Flight Batching: When Many Callers Need the Same LLM Response

Single-Flight Batching: When Many Callers Need the Same LLM Response

Comments
6 min read
Build a Provider Failover Chain That Actually Works Under Pressure

Build a Provider Failover Chain That Actually Works Under Pressure

Comments
3 min read
Stop Writing Tool Schemas by Hand: tool-schema-from-fn

Stop Writing Tool Schemas by Hand: tool-schema-from-fn

Comments
6 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
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
Debug Agent Failures After They Happen with JSONL Traces

Debug Agent Failures After They Happen with JSONL Traces

Comments
5 min read
Split Long Documents Into Overlapping Chunks Without Losing Context

Split Long Documents Into Overlapping Chunks Without Losing Context

Comments
4 min read
tool-secret-scrubber-rs: Strip Secrets from LLM Tool Logs in Rust

tool-secret-scrubber-rs: Strip Secrets from LLM Tool Logs in Rust

Comments
5 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
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
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
Stop Guessing Anthropic's Dict Shape for Image Blocks

Stop Guessing Anthropic's Dict Shape for Image Blocks

Comments
5 min read
Build System Prompts From Named Sections Instead of One Giant String

Build System Prompts From Named Sections Instead of One Giant String

Comments
4 min read
tool-result-cache-rs: LRU Memoization for Agent Tool Calls in Rust

tool-result-cache-rs: LRU Memoization for Agent Tool Calls in Rust

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