{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreichwybnj4ngbjryc52bbqp4hd5ism6u7iva7gx6zcjlqfmqwqqtcy",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mkk7e625fhl2"
},
"path": "/t/yesterday-i-wrote-a-new-coding-agent/1379940#post_1",
"publishedAt": "2026-04-28T08:39:25.000Z",
"site": "https://community.openai.com",
"tags": [
"github.com",
"GitHub - merefield/codegollm: Minimalistic Go based CLI coding agent a la mode"
],
"textContent": "I thought it would be interesting to see how small I could get a working terminal based coding agent.\n\nSo I booted up Codex CLI and started throwing prompts.\n\nThe result is this:\n\ngithub.com\n\n### GitHub - merefield/codegollm: Minimalistic Go based CLI coding agent a la mode\n\nMinimalistic Go based CLI coding agent a la mode\n\nThis is a fully working coding agent, much like Codex CLI. (but of course I’m sure far less capable, even if surprisingly so in its own way)\n\nBuilt with Go so it doesn’t take a year to compile and yet performs super fast.\n\nIt works with OpenAI API and Ollama.\n\nIt can:\n\n * read, write, edit and run arbitrary bash commands\n * it presents code deltas and commands for you to review and approve\n * it maintains an evolving context summary beyond the last X interactions so it uses tokens more efficiently\n * it maintains a session for the current working directory\n * it is guardrailed to the current directory (best efforts!)\n * you can interrupt the agent and set it off in a different direction\n\n\n\nI think the fun stat here is the number of lines of code, using CodeGollm as a baseline:\n\n * Codex repo is 250x bigger\n * Pi-mono coding agent (known for its small size) is 7x bigger\n\n\n\nWhat I learnt doing this is:\n\n * The fundamentals of all this remain pretty straightforward.\n * Codex CLI will happily build you something you can replace it with\n * **Model size really matters - Gemma 4 was a disaster, but gpt-4.1-mini can code pretty well, despite not racking up internal reasoning!**\n\n\n\nYou probably won’t be using this because of course I can’t build something to compete with Codex CLI in a day and there is no ChatGPT auth, but I thought it interesting to share … have fun building!",
"title": "Yesterday I wrote a new coding agent"
}