Claude Code in Action

I took Anthropic’s Claude Code in Action course. I just wanted to get a comprehensive view of the features. I learnt a few nice things. The fact that tools are the main conceptual breakthrough for most of the advancements of LLMs became apparent. The composability and versatility of tools contributes to a lot of the problem solving abilities of LLM based agents. Context management is very important. You should know how to manipulate and maintain the context in order to get Claude code to work well. ...

July 3, 2026 · 2 min · Bharath

A Tiny Agent, v2: Python and the Sarvam API

After the Go tiny coding agent, I rewrote the same thing in Python, this time pointed at the Sarvam API instead of Gemini. Sarvam is an Indian company which is trying to work Indian Sovereign. The models are strong on Indian languages, which made it interesting to target. The code lives in test-agent-v2, managed with uv. Functionally it is the same agent: a stdin-driven loop, the same three file tools (read_file, list_files, edit_file), the same Sudarshana ☸️ agent. I had typed out most of the v1 agent by hand with as little AI help as possible. I just wanted to get into the weeds of the mechanics, ser-deser, order of various operations, different data structures needed etc. This time I felt confident I could relate to the different parts of the agent. So I just asked Claude to rewrite it in python. ...

June 28, 2026 · 3 min · Bharath

Building a Tiny Coding Agent in Go

I built a small CLI coding agent in Go, following Thorsten Ball’s How to Build an Agent. It runs against the free tier of Gemini (gemini-2.5-flash-lite), so the whole thing costs nothing to play with. The code lives in test-agent. The Agent 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. ...

June 28, 2026 · 2 min · Bharath

AI Agents

This is the architecture of a typical AI Agent. There is a user operating the agent in order to get his/her task done. There is some local state which the agent can read and write. The agent itself has the following components: The control loop or the agentic loop allows the user to interact with agent. It also orchestrates the complete user interaction flow. Along with this it also handles compaction behaviour, hooks, etc. The system prompt, other prompts and skills comprise the instructions and code needed for the agent to work. Together the above two sets of components can be called the “harness”. Code sandbox allows execution of code generated by the LLM. Tools allow various kinds of processing. MCP server and client allow connecting to various sources of data.

June 24, 2026 · 1 min · Bharath