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 Test LLM Agents Without Calling the Real API

How to Test LLM Agents Without Calling the Real API

Comments
5 min read
Adding Memory to Your Python Agent Without a Vector Database

Adding Memory to Your Python Agent Without a Vector Database

Comments
5 min read
Streaming LLM Responses in Python Agents: What Goes Wrong and How to Fix It

Streaming LLM Responses in Python Agents: What Goes Wrong and How to Fix It

Comments
6 min read
Three Error Recovery Patterns for LLM Agent Tool Failures

Three Error Recovery Patterns for LLM Agent Tool Failures

Comments
5 min read
agent-fn-registry: Register Your Agent Tools With Schema, Side Effects, and Defaults in One Place

agent-fn-registry: Register Your Agent Tools With Schema, Side Effects, and Defaults in One Place

Comments
5 min read
My LLM provider went down for 11 minutes. My code spent 4 of them in connect timeouts.

My LLM provider went down for 11 minutes. My code spent 4 of them in connect timeouts.

Comments
4 min read
My agent called search() with `{"query": null}`. The error message I returned saved the next 30 minutes.

My agent called search() with `{"query": null}`. The error message I returned saved the next 30 minutes.

Comments
4 min read
prompt-eval-rubric: Score Your Agent's Outputs Without Paying for Another LLM Call

prompt-eval-rubric: Score Your Agent's Outputs Without Paying for Another LLM Call

Comments
5 min read
Four Patterns for Multi-Agent Python Systems That Actually Work

Four Patterns for Multi-Agent Python Systems That Actually Work

Comments
5 min read
I shipped 50 agent infrastructure libraries. Here is what I learned.

I shipped 50 agent infrastructure libraries. Here is what I learned.

Comments
7 min read
Five Observability Layers Every Production Agent Needs

Five Observability Layers Every Production Agent Needs

Comments
6 min read
prompt-cache-key: Stable Hashes for Anthropic Prompt Cache Scopes

prompt-cache-key: Stable Hashes for Anthropic Prompt Cache Scopes

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
Tool Call Deduplication: Stop Your Agent from Doing the Same Thing Twice

Tool Call Deduplication: Stop Your Agent from Doing the Same Thing Twice

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