AI Agents vs Workflows? Count Your Branches First
AI agents vs workflows: enumerate your branches, price each runtime decision point, and promote to an agent only when the branches can't be known ahead.
Category
Hands-on tutorials and explainers for working with AI: prompting, tools, workflows, APIs, and the concepts behind them, with working examples and honest trade-offs.
17 posts
AI agents vs workflows: enumerate your branches, price each runtime decision point, and promote to an agent only when the branches can't be known ahead.
Entity deduplication for builders: normalize, hash, and block before embeddings, calibrate thresholds without labels, and account for cost at every stage.
LLM prompt caching can cut agent loop input costs up to 90%. Compare OpenAI, Anthropic, Gemini, and Bedrock on TTLs, breakpoints, and real savings math.
Hands-on AI text watermarking in Python: how the three families work, what survives copy-paste, edits, and paraphrasing, and when to watermark or detect.
Build a prompt dependency graph to compute the blast radius of any prompt change and rerun only the evals your multi-prompt LLM system needs.
NLP vs LLM vs RAG is a routing decision set by task shape. Compare the cost math, failure modes, and an LLM-fallback pattern before picking a model.
Build an AI text detector with small local models, stress-test it on short and human-edited text, and use the error rates to decide if it ships.
Learn LLM context window management with a token budget ledger, a stepwise compression ladder, and the prompt cache trap that punishes trimming.
Structured output local LLM enforcement means choosing JSON mode, grammar decoding, or tool-calling. Each trades latency, throughput, and reliability.
Control reasoning effort LLM APIs across OpenAI, DeepSeek, and Anthropic. Practical routing rules to cut cost and latency without losing accuracy.
LLM browser agents look easy in demos. Shipping one means defaulting to APIs, containing prompt injection, and budgeting for unpredictable per-step costs.
Run AI models locally on Mac with MLX and Nativ. A trade-off framework for when on-device inference beats APIs on cost, privacy, and latency.