Hi dev.to, this is my first post here.

I've been writing C#/.NET for 23+ years, and over the last month or so I've been building Litos — a small, transparent AI coding agent, written entirely in pure C#/.NET. No Python or Typescript.

The goal wasn't to compete with the big coding agents out there, it was to actually understand how one works, from the inside, by building it myself.

This post is just the basics: what an "agent loop" is, and how 'Litos' AI Coding Agent is put together.

What is an agent loop?