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.
My agent cited a document that does not exist. Here is the library I wrote to catch that.

My agent cited a document that does not exist. Here is the library I wrote to catch that.

Comments
5 min read
Composable Stop Conditions: Know When Your Agent Is Actually Done

Composable Stop Conditions: Know When Your Agent Is Actually Done

Comments
4 min read
llm-fallback-chain: Ordered Provider Failover for LLM Calls

llm-fallback-chain: Ordered Provider Failover for LLM Calls

Comments
5 min read
Defending Against Prompt Injection in Python Agents

Defending Against Prompt Injection in Python Agents

Comments
6 min read
I thought shadow mode was on. It wasn't. 400 emails later I built agent-shadow-mode.

I thought shadow mode was on. It wasn't. 400 emails later I built agent-shadow-mode.

Comments
6 min read
agentcast-rs: Repair, Validate, and Retry LLM JSON Output in Rust

agentcast-rs: Repair, Validate, and Retry LLM JSON Output in Rust

Comments
5 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
The $12 LLM Call Nobody Saw Coming: llm-cost-cap

The $12 LLM Call Nobody Saw Coming: llm-cost-cap

Comments
5 min read
A Week in Production: What Your Agent Will Actually Break On

A Week in Production: What Your Agent Will Actually Break On

Comments
6 min read
Version and Hash Your Prompt Templates: Know Exactly Which Prompt Produced Each Response

Version and Hash Your Prompt Templates: Know Exactly Which Prompt Produced Each Response

Comments
5 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
The conversation you saved to disk still has the SSN in it

The conversation you saved to disk still has the SSN in it

Comments
6 min read
agentfit: Trim Agent Message History to Fit Your Context Window

agentfit: Trim Agent Message History to Fit Your Context Window

Comments
5 min read
llm-tool-arg-coerce: Coerce LLM Tool Args to Expected Types with a Function-Sig Shortcut

llm-tool-arg-coerce: Coerce LLM Tool Args to Expected Types with a Function-Sig Shortcut

Comments
5 min read
prompt-replay: Record and Replay LLM Prompts Across Models

prompt-replay: Record and Replay LLM Prompts Across Models

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