<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Go on Bharath's Blog</title><link>https://bharathbhushan1.github.io/blog/tags/go/</link><description>Recent content in Go on Bharath's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 28 Jun 2026 09:00:00 +0530</lastBuildDate><atom:link href="https://bharathbhushan1.github.io/blog/tags/go/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a Tiny Coding Agent in Go</title><link>https://bharathbhushan1.github.io/blog/posts/2026-06-28-building-a-tiny-agent/</link><pubDate>Sun, 28 Jun 2026 09:00:00 +0530</pubDate><guid>https://bharathbhushan1.github.io/blog/posts/2026-06-28-building-a-tiny-agent/</guid><description>&lt;p&gt;I built a small CLI coding agent in Go, following Thorsten Ball&amp;rsquo;s
&lt;a href="https://ampcode.com/notes/how-to-build-an-agent"&gt;How to Build an Agent&lt;/a&gt;. It
runs against the free tier of Gemini (&lt;code&gt;gemini-2.5-flash-lite&lt;/code&gt;), so the whole
thing costs nothing to play with. The code lives in
&lt;a href="https://github.com/bharathbhushan1/ai-learning/tree/main/test-agent"&gt;&lt;code&gt;test-agent&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;em&gt;Agent&lt;/em&gt; abstraction has a method to get user input, an api key to call the
LLM and a list of tools. The Agentic loop gets textual user input, sends it
to the LLM, and displays the output back to the user.&lt;/p&gt;</description></item></channel></rss>