47% OFFYearly Pro
$30/mo$16/mobilled yearlyGet Pro
Category

AI Engineering in Practice

Hands-on projects and practical tutorials for building real-world AI applications. Step-by-step guides from concept to production deployment.

Explore posts

40 posts in total

AI Engineering in Practice

pip vs uv vs poetry for Python AI services

Which Python dependency manager should you use for production agent services in 2026? The install speed, lockfile story, and Docker build times compared.

PythonAI Agents+3
Read post
9 min
AI Engineering in Practice

Retry patterns for LLM API errors in production

How to build retry logic that handles rate limits, timeouts, and transient failures without burning money. The backoff rules and the 3 errors you must not retry.

AI AgentsError Handling+3
Read post
8 min
AI Engineering in Practice

Real-time agent debugging with Langfuse traces

How to debug a live agent incident using Langfuse traces. The search patterns, the 5-minute workflow, and the post-mortem that catches the root cause.

ObservabilityAI Agents+3
Read post
8 min
AI Engineering in Practice

Agent cost optimization from trace data

How to use Langfuse trace data to find where your agent burns tokens. The 4 queries, the cost-per-user view, and the 50 percent savings patterns.

ObservabilityAI Agents+3
Read post
9 min
AI Engineering in Practice

Langfuse + Grafana: agentic AI monitoring

How to combine Langfuse traces with Grafana dashboards for agent monitoring. The integration, the panels, and the alerting that catches real problems.

ObservabilityAI Agents+3
Read post
8 min
AI Engineering in Practice

Prometheus performance analysis for agentic AI systems

How Prometheus metrics surface performance bottlenecks in agentic AI. The 3 queries, the alert rules, and the dashboard that finds hot loops fast.

ObservabilityAI Agents+3
Read post
8 min
AI Engineering in Practice

Stress testing agentic AI systems beyond the laptop

How to stress test an agentic AI service before it ships. Concurrency, tokens, latency budgets, and the load profile that simulates real traffic.

AI AgentsProduction AI+3
Read post
8 min
AI Engineering in Practice

Docker Compose for the full AI agent stack

How to run your entire agent stack locally with Docker Compose. Postgres, Redis, the agent service, Langfuse, and the network rules that just work.

DockerAI Agents+3
Read post
8 min
AI Engineering in Practice

Docker secrets management for agentic AI services

How to inject API keys and secrets into agent containers without baking them into the image. BuildKit secrets, runtime injection, and the 3 bad patterns.

DockerAI Agents+3
Read post
8 min
AI Engineering in Practice

Docker build errors: troubleshooting AI service Dockerfiles

How to fix the 5 common Docker build errors in AI service Dockerfiles. apt-get failures, wheel builds, layer cache misses, and the silent bugs.

DockerPython+3
Read post
8 min
AI Engineering in Practice

FastAPI CORS for production agentic APIs

How to configure CORS for a production agentic API without wildcard origins. The allowlist, the credentials flag, and the preflight that breaks SSE.

AI AgentsAPI Development+3
Read post
7 min
AI Engineering in Practice

FastAPI lifespan for agentic services: startup and shutdown

Why FastAPI lifespan is the only right place for agent startup code. Per-worker initialization, ordered teardown, and the bugs it kills.

AI AgentsAPI Development+3
Read post
8 min

Weekly Bytes of AI

Technical deep-dives for engineers building production AI systems.

Architecture patterns, system design, cost optimization, and real-world case studies. No fluff, just engineering insights.

Unsubscribe anytime. We respect your inbox.