# Build your own coding agent

DevFeed: [Build your own coding agent](<https://devfeed.tech/articles/build-your-own-coding-agent-18311.md>)

Original publisher: [Read original article](<https://newsletter.aiengineer.co/p/build-your-own-coding-agent>)

Author: Owain Lewis

Published: 2026-08-05T20:06:19Z

Content type: tutorial

Language: en

Sources: [The AI Engineer](<https://devfeed.tech/sources/the-ai-engineer.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [coding](<https://devfeed.tech/topics/coding.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>), [Code](<https://devfeed.tech/topics/code.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [codex](<https://devfeed.tech/topics/codex.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-development](<https://devfeed.tech/tags/ai-development.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [code](<https://devfeed.tech/tags/code.md>), [codex](<https://devfeed.tech/tags/codex.md>), [coding](<https://devfeed.tech/tags/coding.md>), [commands](<https://devfeed.tech/tags/commands.md>), [development](<https://devfeed.tech/tags/development.md>), [go](<https://devfeed.tech/tags/go.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

This tutorial explains the basic architecture of coding agents and implements a minimal Go-based agent called Micro Neo. The agent connects to an existing AI model and supports reading files, editing files, and running shell commands. It also describes the harness loop that sends tasks and tool results between the user, model, and local machine.

## Source excerpt

Why I built my own coding agent and lessons learned