<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mano Sriram</title><link>https://manosriram.com/</link><description>Recent content on Mano Sriram</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://manosriram.com/index.xml" rel="self" type="application/rss+xml"/><item><title>How I Use Agents in 2026</title><link>https://manosriram.com/posts/agentic-workflow/</link><pubDate>Sun, 15 Nov 2026 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/agentic-workflow/</guid><description>&lt;h1 id="how-i-use-agents-in-2026">How I Use Agents in 2026&lt;/h1>
&lt;h2 id="agents">Agents&lt;/h2>
&lt;p>Agents have become a major part of my programming workflow. From personal to professional work, agents
play a big part.&lt;/p>
&lt;p>My homelab is a Tailscale network consisting of a main node (see &lt;a href="https://manosriram.com/posts/homelab-v2/">here&lt;/a>), a Raspberry Pi for ad blocking,
a MacBook Pro M4 with a non-functional screen, a Mac mini, and a Mac Neo.&lt;/p>
&lt;p>Services are controlled via k3s on the main node, so there are a lot of services and even more config files for each
service. Since this is driven by config files (YAML), it becomes much easier to control via an agent.&lt;/p></description></item><item><title>Understanding Clawdbot</title><link>https://manosriram.com/posts/clawdbot/</link><pubDate>Tue, 03 Feb 2026 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/clawdbot/</guid><description>&lt;p>&lt;img src="https://manosriram.com/img/clawdbot.jpg" alt="clawdbot_header">&lt;/p>
&lt;p>Main elements which drive clawdbot:&lt;/p>
&lt;ol>
&lt;li>Gateway and Nodes&lt;/li>
&lt;li>Memory and Context Compaction&lt;/li>
&lt;li>Agent Runtime and SubAgents&lt;/li>
&lt;li>Channels&lt;/li>
&lt;li>Skills&lt;/li>
&lt;li>Hooks&lt;/li>
&lt;li>Plugins&lt;/li>
&lt;li>Templates (AGENTS.md, BOOT.md, HEARTBEAT.md, IDENTITY.md, SOUL.md, TOOLS.md, USER.md)&lt;/li>
&lt;/ol>
&lt;h2 id="gateway">Gateway&lt;/h2>
&lt;p>This is the main server that handles requests from cli and acts as a control plane for all integrations (macOS, web UI, telegram, whatsapp, etc&amp;hellip;).&lt;/p>
&lt;p>Acts as a websocket handler that emits events like agent, chat, presence, healthcheck, cron, etc&amp;hellip;&lt;/p></description></item><item><title>Thoughts on writing code as a hobby</title><link>https://manosriram.com/posts/code-as-a-hobby/</link><pubDate>Sat, 10 Jan 2026 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/code-as-a-hobby/</guid><description>&lt;p>With everyone talking about Claude code and Opus4.5, writing code manually looks very bearish. Before the LLMs, writing code was manual, meaning everything needed to be written by hand. Today, at least for me, I use LLMs to write the boilerplates, or anything that I know exactly what it does. When coding, I mostly use cli helpers like &lt;a href="https://github.com/Aider-AI/aider">aider&lt;/a> which stands beside answering my questions.&lt;/p>
&lt;p>Recently, TailwindCSS laid off 75% of its workforce. This is because of how LLM works: people dont read docs anymore, LLM has already scraped that part. &lt;a href="https://github.com/tailwindlabs/tailwindcss.com/pull/2388#issuecomment-3717222957">[ref]&lt;/a>&lt;/p></description></item><item><title>Apple, AI, and Crypto</title><link>https://manosriram.com/posts/apple-ai-crypto/</link><pubDate>Wed, 12 Nov 2025 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/apple-ai-crypto/</guid><description>&lt;p>I wanted to talk about my opinion on 4 things.&lt;/p>
&lt;h3 id="1-the-com-bubble-and-ai-economy">1. The .com bubble and AI economy&lt;/h3>
&lt;p>During the late 90s and early 2000s, .com boomed. Any solution, you put it on the internet with a .com bubble, and you most probably would be funded. This bubble burst, but .coms became the internet norm, although there are other TLDs.&lt;/p>
&lt;p>Is the same happening for AI right now? Because any company saying AI in their solution description is getting funded, I don&amp;rsquo;t know how. For example, this &lt;a href="https://x.com/ycombinator/status/1988366241460089118">company&lt;/a> recently got funded from YC. Although I do not care about YC companies these days, this is a new low.&lt;/p></description></item><item><title>Getting serious with home server and self-hosting</title><link>https://manosriram.com/posts/homelab-v2/</link><pubDate>Sun, 27 Jul 2025 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/homelab-v2/</guid><description>&lt;p>In one of my last &lt;a href="https://manosriram.com/posts/homelab/">posts&lt;/a>, I was getting started with a home server using a Raspberry PI 4. Since then, I have upgraded the setup and the hardware as well.&lt;/p>
&lt;p>The RPi had 8GB of RAM, but it was not very stable for a home server. By stability, I mean: stable storage, faster RAM, faster processor, more ports, etc Since starting with the home server with RPi, I wanted to have some regularly used services rather than just hosting whatever I like. For example, in the last post, I said I hosted memos for note-taking, but it didn&amp;rsquo;t work. I didn&amp;rsquo;t see myself using it very much (not at all, actually). I understood that this is kind of a trial-and-error method, but I need to have a few services that I actually use regularly.&lt;/p></description></item><item><title>A Day in Bengaluru's Blossom Book House</title><link>https://manosriram.com/posts/blossom/</link><pubDate>Sun, 15 Jun 2025 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/blossom/</guid><description>&lt;p>Today, I visited &lt;a href="https://www.google.com/maps/place/Blossom+Book+House/@12.9742878,77.6043515,17z/data=!3m1!4b1!4m6!3m5!1s0x3bae167def9aaaab:0x8c3e58344d3b98b9!8m2!3d12.9742878!4d77.6069264!16s%2Fg%2F11fy4mq_7s?entry=ttu&amp;amp;g_ep=EgoyMDI1MDYxMS4wIKXMDSoASAFQAw%3D%3D">Blossom Book House&lt;/a> for the first time. I have never visited a book store this big, so naturally i felt overwhelmed when I entered the building. It was a dark cloudy afternoon with little drizzles of rain drops. I entered the bookshop and went straight to the first row.&lt;/p>
&lt;p>The entire floor was filled with books in all directions, it had some stationary items too. I started looking at shelves one by one and found many old/used books which looked antique. I love non-fiction/biography, so I started to look at that section of books.&lt;/p></description></item><item><title>How i make use of LLMs</title><link>https://manosriram.com/posts/llm/</link><pubDate>Wed, 23 Apr 2025 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/llm/</guid><description>&lt;p>Frequency of the use of LLMs have increased a lot for me in the past year specifically. I use claude as my daily driver. I do not pay for the pro plan, but I do have API credits to work with which I am going to talk about.&lt;/p>
&lt;h3 id="aider">Aider&lt;/h3>
&lt;p>Recently discovered this tool to interact locally using codebases. This works great for me. Its very convenient to use llms from the terminal.&lt;/p></description></item><item><title>Building an homelab with Raspberry Pi 4</title><link>https://manosriram.com/posts/homelab/</link><pubDate>Thu, 23 Jan 2025 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/homelab/</guid><description>&lt;p>I have been thinking about building a home lab for myself for a few months and finally bought a Raspberry Pi 4 (8 GB—model B) this week, inspired by &lt;a href="https://thorstenball.com/">Thorsten Ball&lt;/a> and &lt;a href="https://x.com/manosriram/status/1871115922397958626">this little conversation&lt;/a>. My goal is to experiment and also selfhost few things myself.&lt;/p>
&lt;p>First things first, I installed Raspbian Lite OS without desktop since that might be a overhead and not worth it for my requirements.&lt;/p>
&lt;p>&lt;a href="https://x.com/manosriram/status/1880236800272408761">Thanks again Thorsten!&lt;/a>&lt;/p></description></item><item><title>Abstract syntax trees</title><link>https://manosriram.com/posts/abstract-syntax-trees/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/abstract-syntax-trees/</guid><description>&lt;p>ASTs are a representation of the code. It converts a bunch of meaningless tokens into a tree which represents the code.
When the code is seen in the form of tree, multiple usecases arise such as:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Static code analysis - Analyze and find issues in code without executing.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Transform code - ASTs can be used to transform code to some other form.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>We will try to create an AST for the expression &amp;lsquo;1 + 2 * 3&amp;rsquo;. Since this is a single expression, there will be one node. If there are multiple expressions and statements, we store them separately
in a list and execute them separately.&lt;/p></description></item><item><title>Making time to learn software design patterns</title><link>https://manosriram.com/posts/design-patterns/</link><pubDate>Sun, 28 Jul 2024 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/design-patterns/</guid><description>&lt;p>Inorder to write well structured, extensible, and readable code - design patterns help. I have recently started to read and follow more on this path. Until now, I didn&amp;rsquo;t care much about these patterns (although some design patterns are just patterns we do frequently without knowing).&lt;/p>
&lt;p>In 1994, 4 people came together to write the book &lt;code>Design Patterns: Elements of Reusable Object-Oriented Software&lt;/code>. It became a standard for the design patterns and since then the book was also called as &lt;code>The gang-of-four(gof) book&lt;/code>.&lt;/p></description></item><item><title>Writing an Interpreter by Hand</title><link>https://manosriram.com/posts/writing-an-interpreter/</link><pubDate>Thu, 18 Jul 2024 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/writing-an-interpreter/</guid><description>&lt;p>Since I started writing code, I have always wondered how interpreters and compilers work, even though I took a compiler design class in college. However, I had never practically worked on anything related to it.&lt;/p>
&lt;p>A few days ago, the thought of writing my own language hit me. The next thing I did was open my laptop and write a simple parser to parse &lt;code>1+2;&lt;/code>.&lt;/p>
&lt;p>This was going to be a recursive descent parser.&lt;/p></description></item><item><title>Understanding Parsers and Interpreters</title><link>https://manosriram.com/posts/parsers-and-interpreters/</link><pubDate>Sat, 23 Mar 2024 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/parsers-and-interpreters/</guid><description>&lt;h3 id="parsers-and-interpreters">Parsers and Interpreters&lt;/h3>
&lt;p>I have always been fascinated by how compilers and interpreters worked. It seemed like a very complex piece of technology (and it is), giving me a hard time getting started. Having gone through a few blogs and a couple of books like &amp;ldquo;Writing an Interpreter in Go&amp;rdquo;, I realized it isn&amp;rsquo;t the end goal that I wanted - creating a language for example.&lt;/p>
&lt;p>I loved the internal process of interpreters converting text into a working machine. I wanted to learn that and although the books and previous blogs did a good job of explaining the basics, I wanted more. I started to look for articles to understand the basics right.&lt;/p></description></item><item><title>RabbitMQ #1: Understanding RabbitMQ</title><link>https://manosriram.com/posts/rabbitmq-p1/</link><pubDate>Sun, 25 Feb 2024 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/rabbitmq-p1/</guid><description>&lt;p>RabbitMQ is a popular message broker. For some time, i have been working on the same but something didn&amp;rsquo;t sit in my mind. So, i got back to the basics and started from scratch again.
This blog will try to cover how RabbitMQ works and the basics.&lt;/p>
&lt;h2 id="basics-of-rabbitmq">Basics of RabbitMQ&lt;/h2>
&lt;p>There are few terms which are needed to understand how Rabbitmq works.&lt;/p>
&lt;ul>
&lt;li>Queue&lt;/li>
&lt;li>Exchange&lt;/li>
&lt;li>Producer&lt;/li>
&lt;li>Consumer&lt;/li>
&lt;li>Bind&lt;/li>
&lt;/ul>
&lt;h4 id="queue">Queue&lt;/h4>
&lt;p>Queue is the place where messages are sent. Messages are enqueued/dequeued from the queue.&lt;/p></description></item><item><title>Handling concurrency in KeyValue stores</title><link>https://manosriram.com/posts/key-value-concurrency/</link><pubDate>Sun, 10 Dec 2023 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/key-value-concurrency/</guid><description>&lt;p>Key value stores might seem simple from outer view. We set and get the values which I thought the same. However, things get tricky as we dive deep. The problem is that, what happens if few processes write a key at the same time, and few processes read the same key.&lt;/p>
&lt;p>We can actually simulate this using &lt;code>goroutines&lt;/code> in golang.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go" data-lang="go">&lt;span class="line">&lt;span class="cl">&lt;span class="nx">numGoRoutines&lt;/span> &lt;span class="o">:=&lt;/span> &lt;span class="mi">1000&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nx">wg&lt;/span> &lt;span class="o">:=&lt;/span> &lt;span class="nx">sync&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nx">WaitGroup&lt;/span>&lt;span class="p">{}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nx">wg&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">Add&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="nx">numGoRoutines&lt;/span>&lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">for&lt;/span> &lt;span class="nx">i&lt;/span> &lt;span class="o">:=&lt;/span> &lt;span class="mi">0&lt;/span>&lt;span class="p">;&lt;/span> &lt;span class="nx">i&lt;/span> &lt;span class="p">&amp;lt;&lt;/span> &lt;span class="nx">numGoRoutines&lt;/span>&lt;span class="p">;&lt;/span> &lt;span class="nx">i&lt;/span>&lt;span class="o">++&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">	&lt;span class="nx">kv&lt;/span> &lt;span class="o">:=&lt;/span> &lt;span class="o">&amp;amp;&lt;/span>&lt;span class="nx">nimbusdb&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nx">KeyValuePair&lt;/span>&lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">		&lt;span class="nx">Key&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="p">[]&lt;/span>&lt;span class="nb">byte&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="nx">fmt&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">Sprintf&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s">&amp;#34;%d&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="nx">i&lt;/span>&lt;span class="p">)),&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">		&lt;span class="nx">Value&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="p">[]&lt;/span>&lt;span class="nb">byte&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="nx">fmt&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">Sprintf&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s">&amp;#34;testvalue%d&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="nx">i&lt;/span>&lt;span class="p">)),&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">	&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">	&lt;span class="k">go&lt;/span> &lt;span class="kd">func&lt;/span>&lt;span class="p">()&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">		&lt;span class="k">defer&lt;/span> &lt;span class="nx">wg&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">Done&lt;/span>&lt;span class="p">()&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">		&lt;span class="nx">writtenKvPair&lt;/span>&lt;span class="p">,&lt;/span> &lt;span class="nx">err&lt;/span> &lt;span class="p">=&lt;/span> &lt;span class="nx">d&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">Set&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="nx">kv&lt;/span>&lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">	&lt;span class="p">}()&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nx">wg&lt;/span>&lt;span class="p">.&lt;/span>&lt;span class="nf">Wait&lt;/span>&lt;span class="p">()&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The above code creates 1000 goroutines each setting a different value. But, the problem is that multiple go routines can touch the variable where the keyvalue pairs are stored. Why is that a problem? Because we want to be 100% sure that only one process is using the variable at a given moment, which you might have guessed that we&amp;rsquo;ll use locks.&lt;/p></description></item><item><title>Key Value Store internals</title><link>https://manosriram.com/posts/key-value-stores/</link><pubDate>Thu, 23 Nov 2023 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/key-value-stores/</guid><description>&lt;h1 id="key-value-store-and-a-cache">Key Value store and a Cache&lt;/h1>
&lt;p>Doesn&amp;rsquo;t Cache use key value to store objects? Then why do we need a key value store?&lt;/p>
&lt;p>The answer is simple, persistence.
A key-value store is a database but instead of tables and other complex stuff, we simply use a key value structure. Cache&amp;rsquo;s main purpose is to increase read performance.
Anything you think doesnt change that often, you can cache it. Whereas, KV store focuses more on writes along with reads.&lt;/p></description></item><item><title>Neovim vs VSCode</title><link>https://manosriram.com/posts/nvim-vs-vscode/</link><pubDate>Fri, 30 Jun 2023 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/nvim-vs-vscode/</guid><description>&lt;p>My development setup is Tmux + Neovim + Alacritty.&lt;/p>
&lt;p>Tmux is a terminal multiplexer. We can split, rearrange, create multiple terminal panes. Also, you can create multiple tmux sessions.&lt;/p>
&lt;p>Alacritty is a GPU based Terminal emulator. It is really fast, maybe since it is written in Rust.&lt;/p>
&lt;p>Neovim is a fork of Vim, and written in Lua. Here is a &lt;a href="https://github.com/manosriram/Dot-Files/tree/master/nvim">link&lt;/a> to my neovim config if needed.&lt;/p>
&lt;h3 id="neovim-vs-vscode">(Neo)Vim vs VSCode&lt;/h3>
&lt;p>I used to use VSCode quite a while ago. There are many reasons why its the most used editor by developers.&lt;/p></description></item><item><title>Implementing Authorization using Casbin. Introduction to Casbin RBAC</title><link>https://manosriram.com/posts/casbin-rbac/</link><pubDate>Wed, 21 Jun 2023 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/casbin-rbac/</guid><description>&lt;p>Casbin is a library used to implement authorization of different kinds. It simplifies the implementation of roles and permissions in general and it does provide out of box useful methods. Casbin uses some entities inorder to define roles and permissions.&lt;/p>
&lt;p>As you can see, there are different types of authorization models we can use depending on the usecase.&lt;/p>
&lt;p>Model is where we define few parameters on which casbin decides whether to allow or deny the request. There are 4 main entities.&lt;/p></description></item><item><title>PiedPiper scalability issues</title><link>https://manosriram.com/posts/pied-piper-scalability/</link><pubDate>Sat, 17 Jun 2023 00:00:00 +0000</pubDate><guid>https://manosriram.com/posts/pied-piper-scalability/</guid><description>&lt;!-- raw HTML omitted -->
&lt;p>In the episode, there were 5 things they said out loud.&lt;/p>
&lt;ul>
&lt;li>Compress the Manifests: Dinesh
A Manifest is a file that contains information required by the video (Title, Description, Captions, Adaptive Bitrate Info, etc…). A Video usually has one master and many rendition manifest files (the smaller the file size, the better).&lt;/li>
&lt;/ul>
&lt;p>Hence, Dinesh tried to decrease the manifest file sizes by compressing them (probably using the algorithm Richard wrote)&lt;/p></description></item></channel></rss>