DEV Community

Rust

This tag is for posts related to the Rust programming language, including its libraries.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
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
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
tool-loop-guard-rs: Break Agent Loops Before They Drain Your Budget

tool-loop-guard-rs: Break Agent Loops Before They Drain Your Budget

Comments
6 min read
agentfit-rs: Token-Aware Message Truncation for Rust LLM Agents

agentfit-rs: Token-Aware Message Truncation for Rust LLM Agents

Comments
6 min read
Translating LLM Telemetry Between OpenInference and OTel GenAI with Rust

Translating LLM Telemetry Between OpenInference and OTel GenAI with Rust

Comments
5 min read
agentsnap-rs: Snapshot Testing for Rust Agent Tool-Call Traces

agentsnap-rs: Snapshot Testing for Rust Agent Tool-Call Traces

Comments
5 min read
Stable Cache Keys for LLM Requests: Canonical Hashing in Rust

Stable Cache Keys for LLM Requests: Canonical Hashing in Rust

Comments
4 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
agent-event-bus-rs: Sync Pub/Sub for Rust AI Agent Events

agent-event-bus-rs: Sync Pub/Sub for Rust AI Agent Events

Comments
5 min read
llm-budget-window: Per-Minute and Per-Hour Token Caps That Actually Work

llm-budget-window: Per-Minute and Per-Hour Token Caps That Actually Work

Comments
5 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
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
claude-stream-rs: parse Anthropic SSE streaming responses into a typed Rust enum

claude-stream-rs: parse Anthropic SSE streaming responses into a typed Rust enum

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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.