AI Engineer Programming
Author

AI Engineer Programming

In the AI era, defining problems is often more important than solving them; here we explore AI's contradictions, boundaries, and possibilities.

137
Articles
0
Likes
588
Views
0
Comments
Recent Articles

Latest from AI Engineer Programming

100 recent articles max
AI Engineer Programming
AI Engineer Programming
Aug 7, 2026 · Artificial Intelligence

How to Ensure Reliable Structured Outputs in LLM Agents

The article explains why format constraints alone cannot guarantee correct content in LLM agents, compares JSON Mode, Structured Outputs, and Tool Calling, and provides a step‑by‑step engineering guide—including model‑specific quirks, schema validation, retry loops, and layered fallback strategies—to achieve robust structured results.

AgentJSON ModeLLM
0 likes · 13 min read
How to Ensure Reliable Structured Outputs in LLM Agents
AI Engineer Programming
AI Engineer Programming
Aug 4, 2026 · Artificial Intelligence

Why Agents Call Unneeded Tools and How to Tackle It as a System‑Engineering Problem

The article defines tool hallucination in LLM agents, analyses training bias, context pollution, loop feedback and dialogue inertia as root causes, and proposes multi‑layer defenses—including visibility control, intent verification, runtime gating, architectural isolation, and feedback loops—framed as a system‑engineering challenge rather than mere prompt tweaking.

AgentLLMRuntime Guard
0 likes · 17 min read
Why Agents Call Unneeded Tools and How to Tackle It as a System‑Engineering Problem
AI Engineer Programming
AI Engineer Programming
Aug 2, 2026 · Artificial Intelligence

Comprehensive Cost Assessment of End-to-End RAG Systems

This report breaks down production‑grade Retrieval‑Augmented Generation (RAG) system costs into five modules—LLM inference, vector database, embedding, bandwidth, and infrastructure—revealing that model choice drives over 40% of expenses, quantisation can halve vector costs, and multimodal storage may outpace vector database spending.

LLM inferenceRAGVector Database
0 likes · 14 min read
Comprehensive Cost Assessment of End-to-End RAG Systems
AI Engineer Programming
AI Engineer Programming
Jul 29, 2026 · Backend Development

Imperative Control Flow vs Declarative Workflow Orchestration: When to Use State Machines

The article compares traditional imperative sequencing of function calls with declarative workflow orchestration using state machines, highlighting how the latter separates business logic into data-driven transition tables to improve flexibility, observability, and error recovery in complex, mutable backend systems.

State Machinedeclarative programmingimperative programming
0 likes · 9 min read
Imperative Control Flow vs Declarative Workflow Orchestration: When to Use State Machines
AI Engineer Programming
AI Engineer Programming
Jul 28, 2026 · Fundamentals

Essential Git Commands for AI Programming: worktree, diff, and .gitkeep

This guide walks through practical Git workflows—creating parallel worktrees, handling merge conflicts, stashing changes, inspecting diffs, navigating history with log and reflog, amending commits, using reset versus revert, cherry‑picking specific changes, bisecting bugs, and preserving empty directories with .gitkeep—tailored for AI coding tools such as Claude Code, Cursor, and Codex.

amendbisectcherry-pick
0 likes · 9 min read
Essential Git Commands for AI Programming: worktree, diff, and .gitkeep
AI Engineer Programming
AI Engineer Programming
Jul 28, 2026 · Artificial Intelligence

Control State vs Data State in AI Agents: From Turing Machines to LangGraph

This article explains the distinction between control state and data state in AI agent frameworks, tracing the concept from Turing machines through operating systems, databases, and compilers, and shows how LangGraph separates these states via a three‑layer architecture, code examples, and design guidelines.

AI AgentsLangGraphcontrol state
0 likes · 13 min read
Control State vs Data State in AI Agents: From Turing Machines to LangGraph
AI Engineer Programming
AI Engineer Programming
Jul 26, 2026 · Artificial Intelligence

Agent Development Lifecycle (ADLC): Vendor‑Neutral Guide to Build, Test, Deploy, Monitor, and Govern AI Agents

This note outlines a vendor‑agnostic Agent Development Lifecycle (ADLC) that extends traditional SDLC with five stages—Build, Test, Deploy, Monitor, and Govern—detailing layer‑wise tooling choices, evaluation strategies, deployment infrastructure, observability practices, and governance concerns for modern AI agents.

AI lifecycleAgentOpsGovernance
0 likes · 15 min read
Agent Development Lifecycle (ADLC): Vendor‑Neutral Guide to Build, Test, Deploy, Monitor, and Govern AI Agents