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.
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
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
The Agent That Retried Five Times Over a String: tool-arg-coerce-py

The Agent That Retried Five Times Over a String: tool-arg-coerce-py

Comments
5 min read
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
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
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
prompt-cache-warmer-rs: Pre-Warm the Anthropic Prompt Cache from Rust

prompt-cache-warmer-rs: Pre-Warm the Anthropic Prompt Cache from Rust

Comments
5 min read
One Registry to Rule All Your Agent Tools

One Registry to Rule All Your Agent Tools

Comments
4 min read
Make Your Agent Idempotent: Run It Twice, Get the Same Result

Make Your Agent Idempotent: Run It Twice, Get the Same Result

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
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
agenttrace: Track Cost and Latency Across Every LLM Call in Your Agent

agenttrace: Track Cost and Latency Across Every LLM Call in Your Agent

Comments
5 min read
agentguard-rs: Domain Allowlists for Rust AI Agent Network Calls

agentguard-rs: Domain Allowlists for Rust AI Agent Network Calls

Comments
5 min read
LRU Memoization for Agent Tool Calls with tool-result-cache

LRU Memoization for Agent Tool Calls with tool-result-cache

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