Tagged articles

Agent Loop

35 articles · Page 1 of 1
Qborfy AI
Qborfy AI
Jul 9, 2026 · Artificial Intelligence

What Happens to a Message Inside an AI Agent Loop?

This article walks through the full lifecycle of a user message in Claude Code's Agent SDK, explaining each processing stage, the crucial tool‑use decision, parallel tool execution, error handling, and how Hooks let developers extend the loop without modifying core logic.

AI AgentAgent LoopClaude
0 likes · 16 min read
What Happens to a Message Inside an AI Agent Loop?
Qborfy AI
Qborfy AI
Jul 8, 2026 · Artificial Intelligence

Build a Working AI Agent Loop in Just 50 Lines of Python

This tutorial walks through a minimal 50‑line Python implementation of an AI Agent Loop, covering the core four‑step cycle, dual termination strategies, deterministic vs. autonomous designs, tool registration, and a complete runnable example.

AI AgentAgent LoopDeterministic vs Autonomous
0 likes · 13 min read
Build a Working AI Agent Loop in Just 50 Lines of Python
Qborfy AI
Qborfy AI
Jul 7, 2026 · Artificial Intelligence

Why Agent Loop Is the Overlooked Core Engine Behind AI Applications

This article explains what an Agent Loop is, how it differs from a simple while loop by using intelligent LLM‑driven exit conditions, compares three mainstream design patterns—deterministic, SDK‑level, and multi‑agent orchestration—and offers guidance on selecting the right approach for various AI tasks.

AI AgentAgent LoopClaude
0 likes · 10 min read
Why Agent Loop Is the Overlooked Core Engine Behind AI Applications
macrozheng
macrozheng
Jul 3, 2026 · Artificial Intelligence

Hand‑Craft a Claude‑Style AI Programming Agent from Scratch – A Complete Walkthrough

This article walks you through building a Claude‑style AI programming agent from the ground up, breaking the architecture into twelve incremental versions, explaining the universal agent loop, tool integration, planning, memory compression, concurrency, and multi‑agent collaboration with concrete code examples in Python, Java, Go, and TypeScript.

AI AgentAgent LoopClaude Code
0 likes · 9 min read
Hand‑Craft a Claude‑Style AI Programming Agent from Scratch – A Complete Walkthrough
Architect
Architect
Jun 27, 2026 · Backend Development

From Task Cycles to a Maintainable, Observable, Replayable Agent Loop

The article explains how Loop Engineering turns multi‑round Agent execution into a maintainable, observable, and replayable closed‑loop by defining six core components, reusing traditional development patterns, presenting a CI‑failure triage demo, and highlighting architectural and practical pitfalls.

Agent LoopCI pipelineObservability
0 likes · 19 min read
From Task Cycles to a Maintainable, Observable, Replayable Agent Loop
AI Large Model Application Practice
AI Large Model Application Practice
Jun 22, 2026 · Artificial Intelligence

8 Crucial Questions to Understand Loop Engineering and the New Agent Paradigm

The article breaks down Loop Engineering—a new paradigm for AI agents—by exploring why it emerged, defining its scope, distinguishing it from Agent Loops and Context/Harness Engineering, detailing its building blocks, tools, applicability criteria, and the risks and limitations of fully autonomous loops.

AI AgentsAgent LoopAutomation
0 likes · 16 min read
8 Crucial Questions to Understand Loop Engineering and the New Agent Paradigm
AI Tech Publishing
AI Tech Publishing
Jun 19, 2026 · Artificial Intelligence

Designing a Durable Agent Loop Architecture for Reliable AI Workflows

The article dissects the agent loop concept, explains why durability must span the entire execution layer, presents a three‑layer architecture (loop, skill, orchestrator), shows concrete Inngest code, discusses error handling, observability, and how this model compares to existing tools, concluding with guidance for building production‑grade agent loops.

AI AgentsAgent LoopInngest
0 likes · 21 min read
Designing a Durable Agent Loop Architecture for Reliable AI Workflows
CodePath
CodePath
Jun 15, 2026 · Artificial Intelligence

Episode 3 – Visual Guide to Core Concepts: Model, Tool, and Agent Loop

This article breaks down the three foundational elements of agent programming—Model, Tool, and the Agent Loop—showing how to obtain and configure models, define tools with TypeBox, and manage the reasoning‑tool‑feedback cycle, complete with code examples and a flow diagram.

AI AgentsAgent LoopJavaScript
0 likes · 17 min read
Episode 3 – Visual Guide to Core Concepts: Model, Tool, and Agent Loop
Nightwalker Tech
Nightwalker Tech
Jun 12, 2026 · Artificial Intelligence

Turning One‑Shot AI Agents into Evolvable Systems with Harness Engineering

When AI agents work well in a single run but fail to reproduce results, the problem lies not in prompts but in the lack of a structured runtime environment; Harness Engineering adds task specifications, context, tools, permissions, memory, skills, workflow, verification, logging and feedback to turn a one‑off agent into a stable, repeatable, and self‑evolving system.

AI AgentsAgent LoopObservability
0 likes · 22 min read
Turning One‑Shot AI Agents into Evolvable Systems with Harness Engineering
LuTiao Programming
LuTiao Programming
May 27, 2026 · Backend Development

After Two Days Refactoring a Spring Boot Project with Codex, I Rethink Java Development

Using Codex to take over a real Spring Boot codebase—modifying packages, fixing beans, refactoring modules, adding idempotency, and even auto‑repairing compile errors—revealed that AI can now understand project context and act as an engineering agent, fundamentally shifting Java development practices.

AI code generationAgent LoopCodex
0 likes · 6 min read
After Two Days Refactoring a Spring Boot Project with Codex, I Rethink Java Development
Tencent Cloud Developer
Tencent Cloud Developer
May 26, 2026 · Artificial Intelligence

What Hidden Secrets Does the Agent’s System Prompt Code Reveal?

This article dissects OpenClaw's agent architecture, detailing how the System Prompt, Skill modules, and Agent Loop interact, explaining PromptMode variations, safety rules, tool definitions, skill loading pipelines, heartbeat handling, sub‑agent spawning, silent replies, and the context engine that assembles messages for LLMs.

Agent LoopContext EngineLLM
0 likes · 17 min read
What Hidden Secrets Does the Agent’s System Prompt Code Reveal?
TechVision Expert Circle
TechVision Expert Circle
May 24, 2026 · Artificial Intelligence

Inside Claude Code: How Its Production‑Grade Agent Engine Works

This article dissects Claude Code’s architecture, detailing its simple while‑loop core, layered tool system with lazy loading, seven‑layer permission defense, five‑stage context compaction, sub‑agent collaboration, hook mechanisms, and the CLAUDE.md context‑engineering approach, revealing why token efficiency and deterministic security drive its design.

Agent LoopClaude CodeContext Compression
0 likes · 14 min read
Inside Claude Code: How Its Production‑Grade Agent Engine Works
Old Zhang's AI Learning
Old Zhang's AI Learning
May 23, 2026 · Artificial Intelligence

The Underrated Lifesaving Template for Qwen Local Deployment

This article analyzes the hidden pitfalls of Qwen's official Jinja chat template, explains how the community‑maintained Qwen‑Fixed‑Chat‑Templates v19 fixes rendering errors, KV‑Cache loss, token waste and agent dead‑locks, and provides step‑by‑step installation instructions for LM Studio, llama.cpp, vLLM and MLX.

Agent LoopChat TemplateKV cache
0 likes · 10 min read
The Underrated Lifesaving Template for Qwen Local Deployment
ZhiKe AI
ZhiKe AI
May 9, 2026 · Artificial Intelligence

Why Agent Loops Matter More Than Raw Model Power

The article explains how AI agents that operate in a reasoning‑action‑observation loop outperform single‑shot LLM inference by continuously observing, planning, and correcting errors, illustrated through a ticket‑booking example and detailed analyses of ReAct, Plan‑Execute, OODA, and Steering Loop architectures.

AI AgentsAgent LoopLLM
0 likes · 15 min read
Why Agent Loops Matter More Than Raw Model Power
dbaplus Community
dbaplus Community
May 2, 2026 · Artificial Intelligence

Inside Claude Code: A Deep Dive into Its Powerful Agent Architecture

This article provides a comprehensive technical analysis of Claude Code, covering its project scale, two‑layer agent loop design, five design principles, tool system architecture, fine‑grained permission model, multi‑agent collaboration strategies, context‑engineered system prompts, and a custom React‑based terminal UI, all illustrated with concrete code excerpts and diagrams.

AI AgentAgent LoopClaude Code
0 likes · 38 min read
Inside Claude Code: A Deep Dive into Its Powerful Agent Architecture
java1234
java1234
Apr 29, 2026 · Artificial Intelligence

What Exactly Is an AI Agent and How Does It Differ from a Chatbot?

The article explains that an AI Agent combines a large language model, a clear goal, and callable tools in a multi‑step reasoning loop, detailing its perception‑plan‑act architecture, differences from plain chat, common misconceptions, and practical questions for evaluating such systems.

AI AgentAgent LoopLLM
0 likes · 8 min read
What Exactly Is an AI Agent and How Does It Differ from a Chatbot?
AI Architecture Hub
AI Architecture Hub
Apr 22, 2026 · Artificial Intelligence

Build a Minimal AI Agent Loop in 30 Minutes and Turn It into a Stable Production System

This article walks through constructing a tiny, runnable AI agent loop that reads a user task, lets the model choose the next step, calls a tool, feeds the observation back, and repeats, then explains how to add harness, memory, permission, and validation layers to make the agent reliable in real‑world engineering environments.

AI AgentAgent LoopHarness
0 likes · 30 min read
Build a Minimal AI Agent Loop in 30 Minutes and Turn It into a Stable Production System
Architect
Architect
Apr 20, 2026 · Artificial Intelligence

Why a Tiny Agent Loop Exposes the Real Engineering Hurdles of AI Agents

The article walks through building a minimal 20‑line agent loop, explains each step—from reading a task to invoking tools and feeding observations back—then shows how real systems like Claude Code, OpenClaw and Pi add layers of harness, memory, permission and validation to make the loop safe and reliable in production.

AI AgentAgent LoopFunction Calling
0 likes · 23 min read
Why a Tiny Agent Loop Exposes the Real Engineering Hurdles of AI Agents
James' Growth Diary
James' Growth Diary
Apr 18, 2026 · Artificial Intelligence

Inside Claude Code: What 510,000 Lines of TypeScript Reveal About AI Agent Architecture

The article dissects Anthropic's open‑source Claude Code—an AI coding agent built on half a million lines of TypeScript—by walking through its agent loop, tool registry, permission system, context‑window management, hierarchical CLAUDE.md configuration, and comparing its agent‑first design to IDE‑first tools like Cursor.

AI AgentAgent LoopCLAUDE.md
0 likes · 20 min read
Inside Claude Code: What 510,000 Lines of TypeScript Reveal About AI Agent Architecture
Old Zhang's AI Learning
Old Zhang's AI Learning
Apr 13, 2026 · Artificial Intelligence

How Harness Engineering Makes or Breaks AI Agents – Lessons from Hsu’s 2026 Lecture

The article explains Harness Engineering—a set of tools that control an AI agent’s cognitive framework, capability boundaries, and behavior flow—showing how proper harnesses can turn modest models into high‑performing agents, while poor harnesses cause failures, with concrete examples, benchmarks, and research citations.

AI AgentAgent LoopContext Engineering
0 likes · 12 min read
How Harness Engineering Makes or Breaks AI Agents – Lessons from Hsu’s 2026 Lecture
AI Step-by-Step
AI Step-by-Step
Mar 22, 2026 · Artificial Intelligence

Why Harness Engineering Is the Key to Stable Agent Loops

The article explains that while an Agent Loop can execute tasks, long‑running stability depends on a well‑designed Harness engineering layer that organizes knowledge, enforces rules, provides verification, and automates cleanup, turning a functional prototype into a reliable production system.

AI AgentsAgent LoopAutomation
0 likes · 10 min read
Why Harness Engineering Is the Key to Stable Agent Loops
AI Step-by-Step
AI Step-by-Step
Mar 22, 2026 · Artificial Intelligence

How OpenClaw’s Agent Loop Turns Chat into Actionable Tasks

OpenClaw distinguishes itself from ordinary chatbots by employing an Agent Loop—a task‑driving execution chain that normalizes inputs, assembles context, makes model‑based decisions, suspends for tool results, and writes back state, enabling continuous task progression rather than single‑turn replies.

AI AgentAgent LoopOpenClaw
0 likes · 10 min read
How OpenClaw’s Agent Loop Turns Chat into Actionable Tasks
inShocking
inShocking
Mar 18, 2026 · Artificial Intelligence

Building a Coding Agent with Claude: A 200‑Line Python Walkthrough

This article explains how to construct a functional coding agent by combining a large language model, a bash tool, and a message history loop, showing step‑by‑step code, system prompts, error handling, and a complete execution example.

AI AgentAgent LoopClaude
0 likes · 10 min read
Building a Coding Agent with Claude: A 200‑Line Python Walkthrough
JavaGuide
JavaGuide
Mar 18, 2026 · Artificial Intelligence

Why Build Your Own Claude Code Agent? A Step‑by‑Step Walkthrough

This article explores the Learn Claude Code website, breaking down the universal agent loop into twelve incremental versions, demonstrating language‑agnostic implementations in Python and Java, and detailing progressive capabilities—from basic tool integration to memory compression, concurrency, and multi‑agent collaboration.

AI AgentAgent LoopClaude
0 likes · 9 min read
Why Build Your Own Claude Code Agent? A Step‑by‑Step Walkthrough
phodal
phodal
Mar 16, 2026 · Industry Insights

How Fitness Functions Can Define “Done” for AI‑Driven Software Development

The article explains how AI‑powered agents change software delivery, why traditional notions of task completion no longer apply, and how a Fitness Function‑based harness engineering approach—illustrated with the Routa project—encodes executable, auditable completion criteria, hard‑gate checks, and contract consistency to reliably guide agents through the development loop.

Agent LoopContinuous IntegrationFitness Function
0 likes · 12 min read
How Fitness Functions Can Define “Done” for AI‑Driven Software Development
AI Explorer
AI Explorer
Mar 14, 2026 · Artificial Intelligence

Build a Claude‑Code‑Level AI Agent in 12 Incremental Lessons

This open‑source tutorial walks developers through twelve progressive lessons, expanding a minimal 84‑line agent to a full‑featured 694‑line Claude‑Code‑style AI system that covers tool calls, sub‑agents, context compression, and multi‑agent collaboration.

AI AgentAgent LoopClaude Code
0 likes · 9 min read
Build a Claude‑Code‑Level AI Agent in 12 Incremental Lessons
Architect
Architect
Feb 20, 2026 · Artificial Intelligence

How Agent Loops Give AI Agents a Personality: Engineering Secrets Revealed

This article explains how the Agent Loop—an engineered while‑loop that repeatedly calls an LLM, decides when to use tools, executes them, and feeds results back—creates persistence, style, memory, judgment, and safety boundaries that together make an AI agent feel like it has its own personality.

AI Agent EngineeringAgent LoopLLM
0 likes · 24 min read
How Agent Loops Give AI Agents a Personality: Engineering Secrets Revealed
AI Tech Publishing
AI Tech Publishing
Feb 15, 2026 · Artificial Intelligence

Mastering AI Agent Engineering in 9 Days: Lesson 1 – The Core Agent Loop

This tutorial introduces the foundational Agent Loop that powers modern AI agents, explains why it is needed, breaks down its four core components, compares workflow‑based and agent‑based designs, and provides a minimal Python implementation with code, pitfalls, and a concrete RSS‑news use case.

AI AgentAgent LoopOpenAI
0 likes · 17 min read
Mastering AI Agent Engineering in 9 Days: Lesson 1 – The Core Agent Loop
BirdNest Tech Talk
BirdNest Tech Talk
Feb 11, 2026 · Artificial Intelligence

How GoClaw Reimagines OpenClaw: A Go‑Powered AI Assistant Architecture

This article provides an in‑depth technical analysis of GoClaw, a Go‑based personal AI assistant that mirrors OpenClaw's design while introducing a more robust agent loop, reflective reasoning, extensible skill system, sophisticated error handling, and multi‑provider failover, complete with code excerpts, architecture diagrams, and performance trade‑offs.

Agent LoopError HandlingLLM Failover
0 likes · 19 min read
How GoClaw Reimagines OpenClaw: A Go‑Powered AI Assistant Architecture
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 27, 2026 · Artificial Intelligence

Why AI Coding Assistants Quit Early and How Ralph Loop Keeps Them Working

The article examines common pitfalls of AI programming assistants—premature exits, fragile single‑prompt workflows, costly re‑prompting, and context loss—explains that these stem from unreliable LLM self‑evaluation, and introduces the Ralph Loop (also called Ralph Wiggum Loop) as a robust, stop‑hook‑driven solution that forces continuous iteration until explicit, verifiable completion criteria are met.

AI codingAgent LoopAutomation
0 likes · 28 min read
Why AI Coding Assistants Quit Early and How Ralph Loop Keeps Them Working
Programmer's Advance
Programmer's Advance
Jan 25, 2026 · Artificial Intelligence

How Codex Agent Loop Transforms Code Generation into a Programming Partner

This article traces Codex's evolution from a simple code‑completion tool to a full‑stack Agent Loop system, explains its loop‑based architecture and core components, showcases practical configurations, multi‑agent collaboration, real‑world case studies, and discusses technical challenges and future trends for AI‑assisted software development.

AI code generationAgent LoopIndustry Insights
0 likes · 29 min read
How Codex Agent Loop Transforms Code Generation into a Programming Partner
AI Tech Publishing
AI Tech Publishing
Jan 24, 2026 · Artificial Intelligence

Agent OS and Skills: 26 Years of Tech Trend Insights

The article examines the emerging concept of Agent OS as a platform for Skills, surveys the few mature Agent OS offerings across code, desktop, and web domains, highlights the rise of response APIs, reviews available agent SDKs, and explains the central role of the agent loop and its various shells.

AI AgentsAgent LoopAgent OS
0 likes · 4 min read
Agent OS and Skills: 26 Years of Tech Trend Insights
Java One
Java One
Jan 24, 2026 · Artificial Intelligence

Master Claude Code: Unlock AI‑Powered Terminal Coding

This guide explains Claude Code’s agent loop, model choices, built‑in tool categories, project access scope, session handling, checkpoint and permission controls, and practical tips for efficiently using the AI‑driven terminal assistant to write, test, and refactor code.

AI coding assistantAgent LoopCheckpoint
0 likes · 15 min read
Master Claude Code: Unlock AI‑Powered Terminal Coding