<?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>Sarvam on Bharath's Blog</title><link>https://bharathbhushan1.github.io/blog/tags/sarvam/</link><description>Recent content in Sarvam on Bharath's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 28 Jun 2026 18:00:00 +0530</lastBuildDate><atom:link href="https://bharathbhushan1.github.io/blog/tags/sarvam/index.xml" rel="self" type="application/rss+xml"/><item><title>A Tiny Agent, v2: Python and the Sarvam API</title><link>https://bharathbhushan1.github.io/blog/posts/2026-06-28-tiny-agent-v2-sarvam/</link><pubDate>Sun, 28 Jun 2026 18:00:00 +0530</pubDate><guid>https://bharathbhushan1.github.io/blog/posts/2026-06-28-tiny-agent-v2-sarvam/</guid><description>&lt;p&gt;After the Go &lt;a href="https://bharathbhushan1.github.io/blog/posts/2026-06-28-building-a-tiny-agent/"&gt;tiny coding agent&lt;/a&gt;,
I rewrote the same thing in Python, this time pointed at the
&lt;a href="https://www.sarvam.ai/"&gt;Sarvam&lt;/a&gt; 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
&lt;a href="https://github.com/bharathbhushan1/ai-learning/tree/main/test-agent-v2"&gt;&lt;code&gt;test-agent-v2&lt;/code&gt;&lt;/a&gt;,
managed with &lt;a href="https://docs.astral.sh/uv/"&gt;uv&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Functionally it is the same agent: a stdin-driven loop, the same three file
tools (&lt;code&gt;read_file&lt;/code&gt;, &lt;code&gt;list_files&lt;/code&gt;, &lt;code&gt;edit_file&lt;/code&gt;), 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.&lt;/p&gt;</description></item></channel></rss>