---
id: 8539
lang: en
title: "How a coding AI works: agents, tokens, tools"
published_at: "2026-05-02 16:10:00"
source_name: "Habr AI"
source_url: "https://habr.com/ru/companies/otus/articles/1020470/?utm_campaign=1020470&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/8539"
categories: ["llm"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# How a coding AI works: agents, tokens, tools

> **Краткая суть (BLUF):** Habr has published a useful breakdown of how AI agents for software development actually work. Behind the "magic" is ordinary engineering: an LLM, a system prompt, chat context, tool calls and a loop of repeated requests.  The piece shows well why an agent's quality depends not only on the model, but also on the length of the history, token caching, the set of tools and the reasoning mode.

Habr has published a detailed breakdown of how AI coding agents are built. The text strips away the aura of "magic" and shows that behind the convenient interface sit very concrete mechanics: tokens, a system prompt, tools, dialogue memory and a loop of repeated model calls.

### What is an AI agent for programming?
A development agent is a wrapper around a large language model. Inside such a system there is the LLM itself, a hidden system prompt with behavior rules, a list of available tools, and code that runs all of this in a "request → function call → result" loop.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/companies/otus/articles/1020470/?utm_campaign=1020470&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/8539
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
