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 Branching on Error Strings: A Closed Enum for Tool Exceptions

Stop Branching on Error Strings: A Closed Enum for Tool Exceptions

Comments
4 min read
claude-cost: Cache-Aware Claude Cost Calculator for Rust (Anthropic API + Bedrock)

claude-cost: Cache-Aware Claude Cost Calculator for Rust (Anthropic API + Bedrock)

Comments
4 min read
tool-arg-coerce-py: Coerce LLM Tool Args to Expected Types Before They Break Things

tool-arg-coerce-py: Coerce LLM Tool Args to Expected Types Before They Break Things

Comments
5 min read
Render Tool Output as LLM-Friendly Markdown: Give the Model Readable Data, Not Raw JSON

Render Tool Output as LLM-Friendly Markdown: Give the Model Readable Data, Not Raw JSON

Comments
5 min read
Build Anthropic Content Blocks Without Wrestling With Dicts

Build Anthropic Content Blocks Without Wrestling With Dicts

Comments
3 min read
Fast Heuristic Token Counter: Know Your Prompt Size Without Calling tiktoken

Fast Heuristic Token Counter: Know Your Prompt Size Without Calling tiktoken

Comments
4 min read
Self-Impose Rate Limits on Your Agent Before Your Provider Does

Self-Impose Rate Limits on Your Agent Before Your Provider Does

Comments
6 min read
Register Named Health Checks for Your Agent So You Know What's Broken

Register Named Health Checks for Your Agent So You Know What's Broken

Comments
4 min read
In-Process LRU Cache for LLM Calls: Stop Paying for the Same Response Twice

In-Process LRU Cache for LLM Calls: Stop Paying for the Same Response Twice

Comments
4 min read
Circuit Breaker for LLM Calls: Stop Hammering a Provider That Is Already Down

Circuit Breaker for LLM Calls: Stop Hammering a Provider That Is Already Down

Comments
4 min read
Strip Thinking Tags From LLM Output Before Sending to Users

Strip Thinking Tags From LLM Output Before Sending to Users

Comments
4 min read
VCR-Style Record/Replay for LLM Tests: Make Your Agent Tests Deterministic and Free

VCR-Style Record/Replay for LLM Tests: Make Your Agent Tests Deterministic and Free

Comments
4 min read
Rust: Check If Your Payload Fits a Model's Context Window Before You Send It

Rust: Check If Your Payload Fits a Model's Context Window Before You Send It

Comments
4 min read
Building Production Multi-Agent Workflows in n8n: What 50 Deployments Taught Us

Building Production Multi-Agent Workflows in n8n: What 50 Deployments Taught Us

Comments
4 min read
Flunes: turning 'it's broken' into real GitHub issues, via one link

Flunes: turning 'it's broken' into real GitHub issues, via one link

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