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.
tool-output-truncate-py: Trim Tool Output Before It Eats Your Context Window

tool-output-truncate-py: Trim Tool Output Before It Eats Your Context Window

Comments
5 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
Stop Generating Fresh UUIDs as Idempotency Keys

Stop Generating Fresh UUIDs as Idempotency Keys

Comments
6 min read
Six Security Layers for Python LLM Agents

Six Security Layers for Python LLM Agents

Comments
6 min read
Cut Your Anthropic Bill in Half with the Batch API

Cut Your Anthropic Bill in Half with the Batch API

Comments
5 min read
Monitor Your Agent's Health in Production

Monitor Your Agent's Health in Production

Comments
7 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
Stateful Rolling Chat History: Manage Conversation Memory Without Blowing the Context Window

Stateful Rolling Chat History: Manage Conversation Memory Without Blowing the Context Window

Comments
4 min read
tool-arg-fuzzy-rs: Fuzzy Match LLM Enum Args to Valid Values in Rust

tool-arg-fuzzy-rs: Fuzzy Match LLM Enum Args to Valid Values in Rust

Comments
5 min read
Stop Writing One-Off Case Converters for LLM Tool Args: tool-arg-rename

Stop Writing One-Off Case Converters for LLM Tool Args: tool-arg-rename

Comments
5 min read
llm-retry: Full-Jitter Exponential Backoff for LLM API Calls in Rust

llm-retry: Full-Jitter Exponential Backoff for LLM API Calls in Rust

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
Durable Agent State Checkpoints: Resume Where You Left Off When the Run Crashes

Durable Agent State Checkpoints: Resume Where You Left Off When the Run Crashes

Comments
4 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
When Your LLM Provider Goes Down Mid-Demo: llm-fallback-chain

When Your LLM Provider Goes Down Mid-Demo: llm-fallback-chain

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