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.
Validate LLM Output Before It Reaches Your Users

Validate LLM Output Before It Reaches Your Users

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
Function Signatures to Multi-Provider Tool Schemas: One Source of Truth for All LLM Providers

Function Signatures to Multi-Provider Tool Schemas: One Source of Truth for All LLM Providers

Comments
4 min read
Four Ways to Truncate Enormous Tool Output Without Breaking UTF-8

Four Ways to Truncate Enormous Tool Output Without Breaking UTF-8

Comments
5 min read
Defending Against Prompt Injection in Python Agents

Defending Against Prompt Injection in Python Agents

Comments
6 min read
PII in Your Prompt Logs Is a Liability: Redact Before You Send

PII in Your Prompt Logs Is a Liability: Redact Before You Send

Comments
5 min read
agenttrace-rs: Group LLM Calls into Named Runs and Get Cost Breakdowns in Rust

agenttrace-rs: Group LLM Calls into Named Runs and Get Cost Breakdowns in Rust

Comments
4 min read
Stable Anthropic Cache Scope Hashes: Know Whether Your Prompt Will Hit the Cache

Stable Anthropic Cache Scope Hashes: Know Whether Your Prompt Will Hit the Cache

Comments
5 min read
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
Monitor Your Agent's Health in Production

Monitor Your Agent's Health in Production

Comments
7 min read
I run 30 agents in parallel. They share one budget. Here is the pool primitive that makes that safe.

I run 30 agents in parallel. They share one budget. Here is the pool primitive that makes that safe.

Comments
4 min read
Rust: Stop Retries From Double-Submitting LLM Calls With Content-Derived Idempotency Keys

Rust: Stop Retries From Double-Submitting LLM Calls With Content-Derived Idempotency Keys

Comments
4 min read
The longest prompt you'll ever write is a screenshot

The longest prompt you'll ever write is a screenshot

Comments
1 min read
Testing Webhooks: The Pattern I Keep Reaching For

Decoupling reception from processing logic

Testing Webhooks: The Pattern I Keep Reaching For

8
Comments 7
5 min read
Building a Card Game AI with Reinforcement Learning — Implementation Details#2

Building a Card Game AI with Reinforcement Learning — Implementation Details#2

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