<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rohan Richard on Medium]]></title>
        <description><![CDATA[Stories by Rohan Richard on Medium]]></description>
        <link>https://medium.com/@rohanprichard?source=rss-871fcbba35b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*P8hBctSOcOQpGpgKxSBEhg.jpeg</url>
            <title>Stories by Rohan Richard on Medium</title>
            <link>https://medium.com/@rohanprichard?source=rss-871fcbba35b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:55:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rohanprichard/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Tried Griffin by Tavus, a Human Interaction Model (HIM)]]></title>
            <link>https://medium.com/@rohanprichard/i-tried-griffin-by-tavus-a-human-interaction-model-him-9f943638b5b7?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f943638b5b7</guid>
            <category><![CDATA[tavus]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Thu, 01 Oct 2026 17:03:12 GMT</pubDate>
            <atom:updated>2026-10-01T17:03:12.738Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYLh5ToBSyOw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYLh5ToBSyOw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYLh5ToBSyOw%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8fc35b0d035049f6348707ea0addba3a/href">https://medium.com/media/8fc35b0d035049f6348707ea0addba3a/href</a></iframe><p>A few days ago, Tavus invited me to try Griffin, a research preview they describe as a <strong>Human Interaction Model</strong>.</p><p>You open the site, pick one of four people - Ashley, Ben, Kenji or Vanessa, and start a video call. Except none of them are real.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*69B66sZNIxuTN6FOyhG_xQ.png" /><figcaption>The 4 pals I spoke to</figcaption></figure><p>I went in expecting to mostly judge the obvious stuff: how realistic the face looks, whether the lips sync, whether it falls into uncanny valley. That ended up being the least interesting part.</p><h3>It feels different when the camera is on</h3><p>I talked to all four of them and deliberately tried to make the conversations messy. I interrupted them. I paused halfway through sentences. I held things up to the camera. I changed expressions.</p><p>I waited for something to break. And it did break.</p><p>There were strange facial movements, moments where the timing felt wrong, and responses that reminded me very quickly that there was a model on the other side.</p><p>But there were also short stretches where I stopped thinking about any of that. I was just talking. That was the part that surprised me. It’s so surreal when something you do visually actually changes the conversation.</p><p>If I make a face, does it react?</p><p>If I look confused, does that matter?</p><p>There’s a difference between an AI detecting something and feeling like the person you’re talking to noticed it. Griffin isn’t perfect at that distinction yet, but you can see what Tavus is aiming for.</p><h3>Interrupting it</h3><p>People don’t take clean turns in real conversations. We talk over each other. We say “yeah” halfway through someone’s sentence. We start speaking and then stop.</p><p>So I kept cutting Griffin off. Most of the time, it recovered perfectly. When that worked, it felt surprisingly natural. When it didn’t, the illusion disappeared immediately.</p><h3>Faces are unforgiving</h3><p>A chatbot can hesitate for a moment and you don’t really care. A face blinks strangely or freezes at the wrong time and your brain notices instantly. Griffin still has plenty of those moments. This is very clearly a research preview.</p><p>But I think that’s also what made it interesting to try now, rather than after everything has been polished away. Tavus says that in a small study, <strong>26 out of 54 people</strong> who had a one-minute call with Griffin-Lite believed they had spoken with a real person.</p><p>There are obvious caveats there — small sample, short conversations, and it’s Tavus’ own study, but after using it, I can understand how that happens. Not because the face is perfect. Because sometimes enough little things line up at once. That’s what keeps going through my mind</p><h3>Where I think this goes</h3><p>I don’t think every AI needs a face (please do not give my code reviewer AI the ability to make eye contact lol). But there are areas where this interface starts making a lot of sense.</p><ul><li>Tutoring.</li><li>Training.</li><li>Language learning.</li><li>Coaching.</li><li>Interview practice.</li></ul><p>Support where someone can simply hold the broken thing up to the camera instead of figuring out what it is called. Anything where how someone reacts contains useful information beyond the words they type. We have spent the last few years making models dramatically smarter. The interface has mostly remained a box.</p><p>Griffin isn’t there yet. But every once in a while, I forgot I was testing an AI. And honestly, that was enough to make it much more interesting than I expected.</p><p>[Read more about Griffin here](<a href="https://www.tavus.io/griffin">https://www.tavus.io/griffin</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f943638b5b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I tried MCP Events from OpenAI DevDay 2026]]></title>
            <link>https://medium.com/@rohanprichard/i-tried-mcp-events-from-openai-devday-2026-51a302e43457?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/51a302e43457</guid>
            <category><![CDATA[openai-dev-day]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mcp-server]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Wed, 30 Sep 2026 13:09:45 GMT</pubDate>
            <atom:updated>2026-09-30T13:09:45.807Z</atom:updated>
            <content:encoded><![CDATA[<p><em>I built a tiny TypeScript server to figure out how ChatGPT can react to things happening outside the conversation.</em></p><p>One of the things from OpenAI DevDay 2026 that caught my attention was MCP Events.</p><p>Most MCP integrations I’ve built or seen work in one direction. You say something to ChatGPT, it decides to call a tool, your MCP server does something, and the result comes back.</p><p>Events add the other direction. Your app can have something happen while nobody is talking to ChatGPT, and ChatGPT can already be subscribed to hear about it.</p><p>That sounded simple enough, but I wanted to actually build the flow instead of only reading the spec. So I made <a href="https://github.com/rohanprichard/mcp-events-starter">mcp-events-starter</a>, a deliberately small TypeScript implementation of MCP Events.</p><h3>What I built</h3><p>I used a task board because I didn’t want the example application itself to be interesting.</p><p>There is one event: task.created.</p><p>A client can subscribe to that event, optionally for a specific project. When somebody creates a matching task, the MCP server sends the event to the subscriber.</p><p>So the basic flow is:</p><p><strong>Subscribe → create a task → receive the event.</strong></p><p>There is also an unsubscribe method because I wanted the repo to show the whole lifecycle rather than stop at the nice demo part.</p><p>The server supports MCP protocol version 2026-07-28, which ChatGPT MCP Events requires. It implements discovery, event listing, subscription and unsubscribe alongside a normal create_task tool.</p><p>The useful part for me was seeing both models next to each other. create_task is normal MCP: ChatGPT asks my server to do something. task.created is the reverse: something happens in my app and the server tells the subscriber about it.</p><h3>The webhook was the part that took more work</h3><p>The task board itself is basically nothing. The webhook flow was more interesting.</p><p>When somebody subscribes, the server doesn’t immediately trust the callback URL and start sending task data to it. It first sends a signed challenge. The receiver has to respond correctly before the subscription starts receiving events.</p><p>Actual deliveries are signed too, using Standard Webhooks signatures.</p><p>There were a few implementation details here that I initially missed. For example, the signature has to be calculated over the exact JSON bytes that are actually sent. The server also validates callback addresses before connecting to them instead of accepting an arbitrary URL and blindly POSTing to it.</p><p>I added a tiny local receiver to the repo as well, so you can see all of this happen without needing ChatGPT involved yet. Run the server in one terminal, the receiver in another, subscribe, create a task, and you’ll see the signed event arrive. That made the whole thing much easier to understand than just reading through the protocol.</p><h3>One catch: authentication</h3><p>There is one limitation in the starter worth pointing out. The local version uses a shared bearer token. That keeps the repo small and works well for testing with curl or another client where you control the headers.</p><p>It does <strong>not</strong> mean you can put the server behind an ngrok tunnel and immediately connect it as a live ChatGPT plugin.</p><p>ChatGPT can’t be configured to send an arbitrary API key to your MCP server. For a real ChatGPT connection, you need the authentication flow OpenAI documents for plugins, which means adding OAuth. I left that out intentionally.</p><p>I wanted this repo to answer one question: <strong>how do MCP Events actually work?</strong></p><p>Adding OAuth, a real database, durable delivery queues and everything else you’d want for production would make it a better application, but a much worse starter.</p><h3>Why I wanted to try this</h3><p>I think Events become particularly useful once your MCP server is connected to something that changes without the user explicitly asking for it. A task gets assigned. A build finishes. A document gets a new review comment. A background process completes.</p><p>With tools alone, ChatGPT has to ask your application for information. With Events, it can subscribe first and your application can tell it when something changes.</p><p>OpenAI’s own <a href="https://developers.openai.com/plugins/build/mcp-events">MCP Events documentation</a> uses examples like watching for new feedback or document comments. That was the bit I wanted to get working. The starter is here:</p><p><a href="https://github.com/rohanprichard/mcp-events-starter"><strong>github.com/rohanprichard/mcp-events-starter</strong></a></p><p>If you’re looking through the OpenAI DevDay 2026 announcements and want to experiment with MCP Events, clone it and run the local loop. Once you actually see a task turn into a signed webhook event, the feature makes a lot more sense.</p><p>And if the starter saves you some time or effort, a star on the repo would be appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51a302e43457" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TalkToMe: I made my coding agent call me]]></title>
            <link>https://medium.com/@rohanprichard/talktome-i-made-my-coding-agent-call-me-60b6ecdc3c78?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/60b6ecdc3c78</guid>
            <category><![CDATA[hermes-agent]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 03:05:32 GMT</pubDate>
            <atom:updated>2026-09-29T03:05:32.142Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Why open another app when the agent already working in your project can just call you?</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRq1Dn9ma9Zo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRq1Dn9ma9Zo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRq1Dn9ma9Zo%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/95b91a402bfd50b10fbe826ca1df0ad0/href">https://medium.com/media/95b91a402bfd50b10fbe826ca1df0ad0/href</a></iframe><p>I use coding agents for a lot of my work now, and one thing that has always felt slightly weird is how much context they have compared to how limited the interface still is. My agent can have my repository open, know what we changed ten minutes ago, remember a long conversation, run commands, inspect files and generally be pretty deeply involved in whatever I’m building.</p><p>But if I want to talk through an idea with it, I still have to go find that exact session and start typing.</p><p>So I built <a href="https://github.com/rohanprichard/talktome">TalkToMe</a>. You tell the agent to call you, your Mac rings, you answer, and you can talk to the same agent session that was already working on the project.</p><p>That last part is the bit I actually care about.</p><h3>The agent already has the context</h3><p>There are already quite a few ways to talk to an LLM. I didn’t really want to build another one.</p><p>If I have been working with Codex for an hour and it has already explored the codebase, edited files and discussed an implementation with me, it feels silly to open a separate voice assistant and explain the entire thing again. The coding agent already has everything it needs; I just want another way to communicate with it.</p><p>TalkToMe therefore doesn’t provide an LLM at all. The agent keeps its existing model, tools, files and conversation history. TalkToMe handles the microphone, transcription, call UI and speaking the response back to you.</p><p>The flow is basically:</p><ol><li>I tell the agent, “Call me.” or i mention a condition like “call if you are not sure which way to proceed.”</li><li>It runs the TalkToMe command with its session ID.</li><li>A call appears on my Mac.</li><li>I answer and start talking.</li><li>What I say gets sent back into the existing agent session, and its response is spoken back to me.</li></ol><p>Once the call is over, the session is still exactly where it was. There isn’t a new conversation to merge back into your work or another chat history to keep track of.</p><p>The app itself mostly sits in the menu bar when you aren’t using it.</p><h3>Why voice?</h3><p>I definitely don’t think I want to code entirely through voice. If I know precisely what I want the agent to do, typing something like “move this into the service, update the tests and don’t touch the public API” is probably quicker and clearer.</p><p>Where voice becomes useful is when I <em>don’t</em> know exactly what I want yet.</p><p>A lot of programming is me thinking something like, “Okay, maybe we put this in the worker… but then the websocket state becomes annoying… unless we keep that part in the main process… actually wait, could we just…”</p><p>That is a surprisingly annoying thing to type.</p><p>Talking is much better for that sort of messy thinking. I can reason through an architecture, explain why I dislike an implementation, or throw half-formed ideas at the agent without first converting all of that into a clean prompt.</p><p>In other words, I’m not really using voice to tell the agent what to code. I’m often using it to figure out what I want to tell the agent to code.</p><h3>Making it feel like a conversation</h3><p>Another thing I didn’t want was push-to-talk. Having to hold a button, speak a perfectly formed thought and then release it starts feeling more like voice commands than an actual conversation.</p><p>TalkToMe uses Smart Turn, a small local turn-detection model, to decide when you’ve probably finished speaking. This means a pause in the middle of a thought doesn’t necessarily immediately send the message.</p><p>There is also a fixed-pause mode if you want something simpler and more predictable.</p><p>This sounds like a relatively minor part of the app, but it makes quite a big difference in practice. When you are thinking out loud, you pause a lot more than you realize.</p><h3>Local speech</h3><p>I also wanted it to be possible to run most of the voice pipeline locally.</p><p>Whisper can handle speech-to-text, while the agent’s reply can use the macOS system voice or Kokoro for local text-to-speech. Once the models are downloaded, they can run offline.</p><p>If you want better cloud voices, you can use ElevenLabs instead for speech recognition or TTS. In that case, obviously, the audio or response text needed for whichever service you enable gets sent to ElevenLabs.</p><p>The actual intelligence still comes from your coding agent either way. TalkToMe is really just sitting between you and an existing agent session.</p><h3>Agent support</h3><p>Codex is the integration I’ve been using most directly, but TalkToMe also has connection paths for Claude Code, Hermes Agent, OpenClaw and generic agents that can run shell commands.</p><p>This was actually one of the more annoying parts to design because different agents expose their sessions differently. Codex, for example, can be handled differently from an agent where TalkToMe has to cooperate through commands to listen for messages and return replies.</p><p>I ended up keeping that complexity behind the connection layer so the experience on my side remains the same: I ask whichever agent I’m already using to call me.</p><p>There is also an experimental remote bridge for cases where the agent isn’t actually running on your Mac. The idea is that an agent working on a server can still ring your laptop while the microphone audio itself remains local.</p><p>That part is still experimental though.</p><h3>Where I want to take this</h3><p>This is an early Mac app, and right now the experience I care most about is pretty specific: I’m working with an agent on my Mac, it already understands the project, and I want to talk through something without moving to another interface or losing that context.</p><p>But building it has made me think a bit differently about agent interfaces in general.</p><p>Almost every agent today lives somewhere you have to go to. You open your terminal, IDE, browser or chat window and interact with it there. That makes sense when the agent is basically waiting for instructions.</p><p>It gets more interesting as agents start doing longer-running work.</p><p>If an agent is already working independently and eventually gets to something where it needs a decision, maybe I shouldn’t have to keep checking its terminal. It could message me. It could send a notification. Or, for something complicated enough that a back-and-forth would be useful, it could just call.</p><p>I don’t think voice replaces the terminal or chat. I think it becomes another interface an agent can choose when it makes sense.</p><p>For now though, I mostly just like being able to type:</p><p>Call me.</p><p>…and have my Mac actually ring.</p><p>TalkToMe is open source here:<br><a href="https://github.com/rohanprichard/talktome">github.com/rohanprichard/talktome</a></p><p>It’s still early, so if you use Codex, Claude Code or another coding agent and try it out, I’d especially like to know where the call experience feels useful, annoying, slow or god forbid, actually like it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60b6ecdc3c78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I tried PRAXIST by Sapient Intelligence on an ML dataset]]></title>
            <link>https://medium.com/@rohanprichard/i-tried-praxist-by-sapient-labs-on-an-ml-dataset-ce6baecfa6ae?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce6baecfa6ae</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-research]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[praxist]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Sun, 30 Aug 2026 10:15:32 GMT</pubDate>
            <atom:updated>2026-08-30T10:23:49.841Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QivR39WEDB_cRv36nYxCCw.png" /></figure><p>I randomly came across this video on YouTube and then read a post where someone described PRAXIST as “10x Autoresearch ”</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F8BcUyd6s_Ek%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D8BcUyd6s_Ek&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F8BcUyd6s_Ek%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d6ade0ae20fb56bacdbb1e0635e8f74/href">https://medium.com/media/5d6ade0ae20fb56bacdbb1e0635e8f74/href</a></iframe><p>That felt like something worth testing. Autoresearch by Andrej Karpathy is easy to understand. You give an agent a model-training task, let it try changes, run the experiment, check the score, then try again. Praxist takes that idea further. It can run several research directions at once, keep a record of what worked and what did not, and use earlier results to decide what to test next. I wanted to see what happened when I gave it a normal machine-learning problem instead of asking it to optimize a toy demo.</p><h3><strong>The Plan</strong></h3><p>I used the Adult Income dataset, a standard tabular ML problem. The model has to predict whether a person falls above an income threshold using information such as education, job type, age, hours worked, and capital gains.</p><p>I kept the starting model simple: basic data cleanup, category encoding, and logistic regression. The agents were allowed to experiment with preprocessing and feature engineering. They were not allowed to change the scoring method, dataset, or evaluation rules.</p><h3><strong>What it found</strong></h3><p>One of the better ideas was also one of the simplest - create extra numerical features that let the model consider relationships between numbers instead of looking at each one separately. I ran it for a short period with a modest budget of 2M tokens. Here is what it found:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*IYn8uBrU783-A0X2BhFI2A.png" /><figcaption>Results</figcaption></figure><p>It created features such as:</p><ul><li>hours-per-week² — whether working 60 hours has a different effect than simply twice the effect of 30 hours</li><li>age × education-num — whether education has a different relationship with income at different ages</li><li>education-num × hours-per-week — whether education and working hours together matter more than either alone</li><li>capital-gain × capital-loss — whether the combination of investment gains and losses carries useful signal</li><li>age × capital-gain — whether investment income has different meaning across age groups</li></ul><p>The degree-two version scored better than the baseline on each of the five configured development runs. That makes it a useful result to carry forward. Some preprocessing and a feature-selection approach also made things worse. One combination that sounded reasonable on paper performed badly enough that there was no reason to keep testing it.</p><p>That was the part I liked. The system did not only give me one better number. It gave me a record of which directions were useful, which ones were not, and which ones still needed more testing.</p><h3><strong>Why th</strong>is is promising</h3><p>A lot of AI-agent demos end at “the agent changed code and the score went up.” That is fine as a demo, but it is not how I would want to trust a long research project. If an AI system is going to run many experiments, I want to know answers to questions like</p><ul><li>What did it change?</li><li>What was it trying to test?</li><li>Did the result hold up when rerun?</li><li>What failed? What should it avoid repeating?</li><li>Can a person look at the final result and follow the path that led there?</li></ul><p><strong>Praxist is trying to make those questions part of the workflow instead of leaving them to someone reading logs afterward.</strong></p><p>This is not a claim that Praxist has solved machine learning research. It is not a claim that the small improvement I found will work on every dataset. It is not a comparison against every AutoML tool or every other agent system.</p><p>It is simply a first proper test: a constrained ML task, a fixed way to score results, repeated runs, and a record of both the useful and useless experiments. As a first run, I think the basic idea held up. Praxist did more than generate a suggestion. It helped turn a set of experiments into something I can inspect, rerun, and build on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce6baecfa6ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[claude-overnight: I made my Claude limits work the night shift]]></title>
            <link>https://medium.com/@rohanprichard/claude-overnight-i-made-my-claude-limits-work-the-night-shift-cf3cd871deab?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf3cd871deab</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Sat, 25 Jul 2026 07:39:38 GMT</pubDate>
            <atom:updated>2026-07-25T07:39:38.275Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*err0zZjd9RgYszvbP4paBA.png" /></figure><blockquote>You’re wasting your Claude subscription if it isn’t running at 3am.</blockquote><p>I’m a heavy Claude Code user, and if you’re anything like me, you know the cycle. You hit the 5-hour cap mid-morning, wait it out till afternoon, hit it again in the evening, and then go to bed mildly annoyed because you know that there’s a whole limit refresh happening while you sleep and you’re not using any of it.</p><p>There’s a sort of dark pattern by Anthropic, where the weekly limit and the daily allowance don’t line up. I was capping out the 5-hour window every single day and still ending the week with some of my weekly quota left over. It doesn’t roll over, just expires while I sleep, on a subscription I pay money for (that too, in dollars!)</p><p>So I built <a href="https://github.com/rohanprichard/claude-overnight">claude-overnight</a>. You queue questions during the day, they run at night when your limits have reset, and there are markdown reports waiting in the morning. Coding tasks work too, and land on a git branch. A summary page opens in your browser once the batch finishes, with a resume command sitting right next to each one, so you don’t even have to go looking for the reports.</p><h3>How we check limits</h3><p>Anthropic doesn’t expose subscription usage programmatically. But Claude Code shows your limits with /usage, so the data exists somewhere.</p><p>Claude Code stores an OAuth token locally. On a Mac it’s in the Keychain under Claude Code-credentials, elsewhere it&#39;s ~/.claude/.credentials.json. That token works against an undocumented endpoint:</p><pre>GET https://api.anthropic.com/api/oauth/usage<br>Authorization: Bearer &lt;accessToken&gt;<br>anthropic-beta: oauth-2025-04-20</pre><p>which returns a limits list:</p><pre>{ &quot;kind&quot;: &quot;session&quot;,       &quot;percent&quot;: 27.5, &quot;resets_at&quot;: &quot;...&quot; },<br>{ &quot;kind&quot;: &quot;weekly_scoped&quot;, &quot;percent&quot;: 44,   &quot;resets_at&quot;: &quot;...&quot;,<br>  &quot;scope&quot;: { &quot;model&quot;: { &quot;display_name&quot;: &quot;Fable&quot; } } }</pre><p>session is the rolling 5-hour window. This is the same trick every menubar limit-tracker uses, even the one by Peter Steinberger (yes, the OpenClaw guy).</p><h3>The actual design problem</h3><p>Running claude at 3am is trivial. Cron can do that. The hard part is not spending the quota you’ll want in the morning. The real trick to this sort of tool is <strong>restraint</strong>.</p><p>claude-overnight won’t start a batch if the 5-hour window is already more than 20% used. It stops once the batch pushes it past 60%. It won’t run at all if the weekly is past 80%. And it rechecks between every job, because one long research question can move the needle more than you’d expect.</p><p>The point was never “use maximum quota.” It was: convert quota that was going to expire into answers, and leave enough in the tank for breakfast.</p><p>Jobs run through claude -p with tools locked to web search, in an empty scratch directory. Coding jobs are the exception — they need to edit files and run tests, so they run in a throwaway git worktree on an overnight/* branch, and only against repos you&#39;ve explicitly trusted.</p><p>Headless mode returns a session id. Using that we can do claude resume &lt;id&gt; so it reopens the exact conversation that produced a report or branch. So the morning workflow isn&#39;t &quot;read a report&quot; — it&#39;s read a report, then talk with the thing that wrote it. &quot;Why did you rank this option first? You missed step X, redo that part.&quot; The batch summary that opens in your browser has the resume command for every job sitting right there, waiting for you.</p><p>And if you don’t want to engage right now, overnight followup &lt;id&gt; &quot;compare against Yjs specifically&quot; queues a continuation for the next night. Questions become threads that run for as many nights as you want.</p><h3>Try it</h3><pre>uv tool install claude-overnight<br>overnight install        # scheduler + /queue slash command<br>/queue why is my sqlite db slow after 10M rows?</pre><p>macOS and Linux, Claude Pro/Max. Zero dependencies, stdlib Python, MIT: <a href="https://github.com/rohanprichard/claude-overnight">github.com/rohanprichard/claude-overnight</a>. Issues and PRs welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf3cd871deab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Can’t Learn. It’s Just Really Good at Pretending.]]></title>
            <link>https://medium.com/@rohanprichard/ai-cant-learn-it-s-just-really-good-at-pretending-b56787900db6?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b56787900db6</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[ai-research]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[agi]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Sat, 18 Oct 2025 08:44:47 GMT</pubDate>
            <atom:updated>2025-10-18T08:44:47.780Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The future of AI isn’t in models that know everything. It’s in models that can learn anything.</em></p><p>Let’s start with basics. Intelligence is defined as the <em>ability to acquire and apply knowledge and skills</em>.</p><p>Look at that definition again. Two parts: acquisition and application. Current frontier models excel at one and completely fail at the other. If you’re a developer working with LLMs, you’ve probably noticed this fundamental limitation already. Your model can apply its training brilliantly — right until you need it to use the new framework with a few thousand stars on Github that came out two months ago.</p><p>Try asking Claude about Cursor’s latest API pricing changes. Or get GPT-4o to help with a framework released last week. Watch them hallucinate confidently or admit defeat. This isn’t a minor technical hurdle. It’s a fundamental misunderstanding of what Artificial General Intelligence should be.</p><h3>The Illusion of Benchmarks</h3><p>Every week brings news of another model crushing benchmarks. GPT-5 beats doctors in the US medical licensing exam. Claude Sonnet aces HumanEval. Gemini beats human experts at MMLU. OpenAI’s o3 hit 87.5% on ARC-AGI — a test specifically designed to resist memorization.</p><p>Impressive? Sure. Intelligence? Not really.</p><p>Here’s the problem: these benchmarks only test application of knowledge, never acquisition. They’re essentially asking, “Can you regurgitate and reorder things you’ve already seen?” It;s like calling someone intelligent because they memorized Wikipedia.</p><p>Think about your own development process. When you encounter a new framework or library, you don’t need 10,000 examples to understand it. You experiment, break things, fix them, and gradually build understanding through interaction. You <em>learn</em>. Current LLMs can’t do this. They’re frozen in time at the moment their training ended — September 2024, April 2025, whenever the data cutoff hit.</p><h3>The All-Knowing AGI Agent Fantasy</h3><p>The entire field has been chasing a lofty vision: train a model on enough data, and it will generalize to everything. Just keep scaling. More parameters. More compute. More data. Eventually, we’ll have an omniscient agent that knows everything about everything.</p><p>OpenAI needs 10,000 NVIDIA H100s for GPT-5. Meta burned through 16,000 GPUs for Llama 3. Google’s Gemini Ultra reportedly used computational resources worth $190 million. The bet? Throw enough compute at the problem and intelligence emerges.</p><p>This is backwards.</p><p>Early AI pioneers understood something we’ve forgotten. In the 1930s, Thomas Ross built thinking machines that learned from experience. Steven Smith’s robotic rats in the 1950s focused on continual, animal-like learning systems. They weren’t trying to create all-knowing oracles — they were building systems that could adapt and grow.</p><p>The irony is striking. We’ve built language models that can write Shakespeare-quality sonnets but can’t learn your team’s coding standards without complete retraining. They can explain quantum mechanics but fail catastrophically when asked about a JavaScript library released yesterday. Your model knows about React 17 but will never understand React 19 unless someone spends millions retraining it from scratch.</p><h3>What Real Intelligence Looks Like</h3><p>Let’s imagine a different picture of AGI. One that actually aligns with the definition of intelligence.</p><p>Picture an AI agent that starts knowing nothing. You show it a single example of a new programming pattern. It experiments, asks clarifying questions, makes mistakes, and gradually masters the concept. It doesn’t need a million examples because it’s actively learning, not pattern matching.</p><p>This agent would learn from anything — not just text or pre-formatted training data, but code execution results, API responses, error messages, successes. Every experience becomes a learning opportunity. Instead of passively consuming whatever humans feed it during training, it would control its own data stream, seeking information based on goals, asking questions, running experiments, directing its own learning.</p><p>Real learning happens through interaction. You didn’t learn to code by reading documentation alone — you wrote code, hit errors, debugged, and iterated. This agent would do the same. Once it understands basic principles, it would teach itself advanced concepts without human intervention, like a developer who learns Python and then picks up JavaScript exponentially faster.</p><h3>The Three Pillars We’re Missing</h3><p>To achieve this vision, we need to solve three interconnected problems that the current AI paradigm largely ignores.</p><h3>1. Continual Learning</h3><p>Current models stop learning the moment training ends. Fine-tuning? That’s a band-aid that often causes catastrophic outcomes — the model loses previous capabilities while gaining new ones. It’s like a developer who forgets Python when they learn Rust.</p><p>In-context learning (stuffing examples into prompts) is equally limited. You’re burning through your 200K token context window to temporarily teach the model something it will forget the instant you start a new conversation. The model isn’t really learning; it’s temporarily borrowing patterns that disappear the moment the context window resets. The underlying billions of parameters in GPT 5 remain frozen, unchanged, unlearned.</p><p>What we need: Models that never stop learning. Every interaction, every query, every response becomes an opportunity for permanent growth. The challenge is doing this without degrading existing capabilities — a problem known as “loss of plasticity” where neural networks gradually lose their ability to learn new things over time.</p><h3>2. Learning from Experiential Streams</h3><p>LLMs train on 15 trillion tokens of disconnected text fragments. Random Wikipedia articles. Stack Overflow answers from 2015. News stories with no temporal connection. It’s like trying to understand human behavior by reading random diary entries from different people across different decades.</p><p>Real intelligence emerges from continuous, contextual experience. Your expertise as a developer didn’t come from reading random code snippets. It came from years of connected experiences — building projects, debugging issues, refactoring code, each experience building on the last.</p><p>An intelligent agent needs to learn from its own continuous stream of experiences. This means it must interact with the world, generate its own data through experimentation, and reason about long-term consequences of actions. A model that’s never executed code can’t truly understand programming, just like a model that’s never had a real conversation can’t truly understand communication.</p><h3>3. Compute-Efficient Scaling</h3><p>Here’s the dirty secret Silicon Valley doesn’t want to admit: we’re running out of data.</p><p>OpenAI has scraped 250 billion web pages. Meta processed 15 trillion tokens for Llama 3. Google consumed the entire public internet, YouTube transcripts, and still needed more. They’ve exhausted Reddit, Wikipedia, GitHub, and every blog post ever written. Now they’re desperately turning to synthetic data — models training on the outputs of other models — and paying humans $15–30/hour to generate more training examples.</p><p>But this isn’t a data problem. It’s an approach problem.</p><p>A human child becomes conversationally fluent with roughly 100 million words of language exposure. GPT-3 saw 300 billion tokens — 3,000 times more — just to reach basic competence. You learned to code without reading all 200 million repositories on GitHub. Intelligence isn’t about consuming more data; it’s about extracting more understanding from each experience.</p><p>We need algorithms where additional compute leads to deeper understanding of existing experiences, not just consumption of more data. Think quality over quantity. Models that can replay experiences, find new patterns, extract deeper insights — like how you might revisit old code and suddenly understand design patterns you missed before.</p><h3>Why Current Solutions Don’t Work</h3><p>“But what about RAG?” you might ask. “Or fine-tuning? Or prompt engineering?”</p><p>These are bandages on a fundamentally broken approach. RAG (Retrieval-Augmented Generation) doesn’t teach the model anything — it’s just smart copy-paste. Fine-tuning costs $8 per million tokens on GPT and risks breaking other capabilities. Prompt engineering is you manually doing the learning the model should handle itself.</p><p>The economics alone should concern you. Retraining GPT-4 costs an estimated $100 million. Retraining it every time a new JavaScript framework drops? Impossible. The entire AI industry is built on models that become obsolete the moment they finish training.</p><p>Meanwhile, vision models face even worse scaling challenges. While we can generate infinite text, we can’t generate infinite real-world visual experiences. No amount of compute will let a vision model understand a new type of sensor or imaging technique without starting over.</p><h3>Beyond Pattern Matching</h3><p>The next time someone claims we’re close to AGI because a model scored well on benchmarks, ask them this: Can it learn something genuinely new from a single example? Can it improve through interaction? Can it direct its own learning?</p><p>Until the answer is yes to all three, we don’t have intelligence. We have very sophisticated pattern matching — impressive, useful, but ultimately as frozen as a photograph.</p><p>Real AGI won’t be an all-knowing oracle. It will be a curious student, constantly learning, adapting, growing. It won’t need to be trained on every Python library ever written because it will be able to learn new ones on the fly. It won’t need millions of examples because it will extract deep understanding from individual experiences.</p><p>The path forward exists. Model-based reinforcement learning, auxiliary task learning, and meta-learning approaches all show promise. But they’re sideshows to the main event of ever-larger transformers. The research community publishes 100 papers on scaling for every one on continual learning.</p><p>The question isn’t whether we can build bigger models or find more training data. The question is whether we’re brave enough to admit that our current approach — no matter how scaled — will never achieve true intelligence.</p><p>Because intelligence requires learning. And learning requires the humility to start from nothing and build understanding through experience.</p><p>Until our models can do that, AGI remains a benchmark illusion, not a technological reality</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b56787900db6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python 3.14: The Pi-thon Version That Finally Unlocks True Parallelism]]></title>
            <link>https://medium.com/@rohanprichard/python-3-14-the-pi-thon-version-that-finally-unlocks-true-parallelism-55bf1d79228a?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/55bf1d79228a</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[threading]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[global-interpreter-lock]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 22:11:55 GMT</pubDate>
            <atom:updated>2025-09-22T22:11:55.679Z</atom:updated>
            <content:encoded><![CDATA[<h3>And yes, there is a π easter egg in there!</h3><p>I’ve been cautiously optimistic in waiting for Python 3.14 to drop with it’s new features, and now that we’re just weeks away from the official October 7th release, I felt like sharing some thoughts on it. After years of working around the Global Interpreter Lock, we can finally write parallel Python code with free-threading that actually runs in parallel (or should I say Pi-rallel? Sorry, I’ll see myself out)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MgxrYFt64fpzd__pHQO3qw.png" /><figcaption>Image credits: Gemini Nano Banana</figcaption></figure><h3>The Big Change: No More GIL Limitations</h3><p>If you’ve been in the Python ecosystem for a while, you know the Global Interpreter Lock (GIL) has been the biggest bottleneck for CPU-bound work. The GIL meant only one thread could execute Python code at a time, regardless of how many cores you had available.</p><p>Python 3.14 changes this game significantly. Free-threading has moved from experimental status in Python 3.13 to officially supported in 3.14, thanks to PEP 779 which promotes the GIL-less build from experimental to supported. No more special builds or experimental flags — it’s production-ready.</p><h3>Why This Actually Matters for Your Projects</h3><p>I’ve lost count of how many times I’ve had to explain to new developers — or even non-Pythonian seniors at work — why a multi-threaded data processing pipeline wasn’t any faster than the single-threaded version. Or why we needed to refactor everything to use multiprocessing just to utilize more than one core.</p><p>With free-threading finally being officially supported, these conversations should become much less frequent.</p><h3>Real-World Use Cases Where This Will Shine</h3><h4>Data Processing Pipelines</h4><p>When processing large datasets — think ETL pipelines, log analysis, or batch transformations — we can now parallelize with regular threads without the multiprocessing overhead.</p><h4>Web Scraping and API Aggregation</h4><p>When building tools that need to hit multiple APIs and process responses, I previously used asyncio for the I/O and multiprocessing for the data transformation. Now threading can handle both efficiently!</p><h4>Machine Learning Feature Engineering</h4><p>Feature engineering often involves computing statistics across different slices of data. Instead of reaching for Dask or Ray for parallelization, standard library threading becomes a viable option for many use cases.</p><h4>Video and Image Processing</h4><p>When I was building a content generation tool (like my Reddit video bot), I saw how CPU-intensive rendering and processing frames could be. With free-threading, we can process multiple segments simultaneously without Inter-Process Communication overhead.</p><h3>The Technical Details You Need to Know</h3><p>Free-threading doesn’t mean a free lunch, though. Here’s what you should watch for:</p><p><strong>Performance Trade-offs:</strong> Single-threaded code may run slower due to the new thread-safety mechanisms. However, for most applications, this overhead is negligible compared to the parallelization gains you’ll achieve with multi-core workloads.</p><p><strong>Extension Compatibility:</strong> Libraries need to be rebuilt for free-threaded mode. The ecosystem is adapting — major libraries like NumPy and pandas are working on compatibility, but check your specific dependencies before upgrading production systems.</p><p><strong>Memory Models:</strong> We need to think about thread safety now. The GIL was like having training wheels, and now we need to use proper locking and synchronization primitives. This means learning concurrent programming patterns if you haven’t already.</p><h3>Other Notable Features in Python 3.14</h3><p>While free-threading is the headline feature for me, Python 3.14 also includes:</p><ul><li>Continued improvements to the JIT compiler for better performance</li><li>Enhanced type system improvements</li><li>Better error messages and debugging experience</li><li>Performance optimizations across the standard library</li></ul><h3>Looking Forward</h3><p>This release brings Python closer to what I’ve wanted for years — a language that’s both easy to write and capable of utilizing modern hardware effectively. We’re not giving up Python’s simplicity for performance; we’re getting both.</p><p>I’m cautiously optimistic about this transition. The ecosystem will take time to fully adapt, and there will be growing pains as libraries update and developers learn new patterns. But the foundation is solid. If you’ve been holding off on Python for performance-critical applications, it might be time to reconsider.</p><p>I’m particularly excited to see how this changes the conversation around Python for systems programming and real-time applications.</p><blockquote><em>The GIL has been the asterisk on Python’s performance story for too long. Python 3.14 marks a pivotal moment, finally removing that asterisk.</em></blockquote><p>I can’t wait to try this out in production! What are you most excited about with Python 3.14? If you’ve noticed anything I’ve missed, let me know — I’d love to discuss this further.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55bf1d79228a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Reddit Content Bot: Automating generating Videos for Social Media]]></title>
            <link>https://medium.com/@rohanprichard/building-a-reddit-content-bot-automating-generating-videos-for-social-media-718d2089de06?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/718d2089de06</guid>
            <category><![CDATA[voice-ai]]></category>
            <category><![CDATA[content-creation]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Sun, 14 Sep 2025 20:27:46 GMT</pubDate>
            <atom:updated>2025-09-14T22:21:23.469Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a Reddit Content Bot: Automating Story Videos for Multi-Platform Sharing</h3><p>When I first noticed the explosion of Reddit story videos on platforms like TikTok, YouTube Shorts, and Instagram Reels, I knew there was an opportunity to build something that could help creators tap into this growing content format more efficiently. That’s when I decided to create a <strong>Reddit Content Generation Pipeline</strong> — a tool designed to take inputs and generate Reddit-style story videos automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iKGCRp0Z820axsXsYE0U2Q.png" /><figcaption>just a pic gemini made that i really like :)</figcaption></figure><h3>The Problem I Wanted to Solve</h3><p>You would have noticed a lot of channels getting popular on YouTube just by uploading “Reddit to Text-To-Speech” YouTube Videos. So I decided to create a program that can automate the process of receiving, generating and uploading these videos with as little intervention as possible.</p><p>But I wanted to take it a step further — not just for YouTube, but for creators who want to share engaging content across multiple platforms.</p><p>The reality is that Reddit is a goldmine for entertaining content with an endless supply of them. And you know if it’s popular as text it’s going to perform well as a video because it’s naturally more engaging.</p><p>However, manually converting these stories into video format, adding voiceovers, backgrounds, and formatting them for different platforms is incredibly time-consuming.</p><h3>What I Built</h3><p>My Reddit Content Bot streamlines the entire process from Reddit post to shareable video content. Here’s what makes it different:</p><p><strong>Intelligent Content Processing</strong>: Rather than just scraping random posts, the bot can intelligently process Reddit content and transform it into engaging video formats. The Reddit Story Video Generator is an AI-powered tool that transforms Reddit posts into engaging videos in seconds. With our Reddit Story Video Generator, you can automate the creation of Reddit story video platforms like YouTube and TikTok.</p><p><strong>Multi-Platform Optimization</strong>: Understanding that different platforms have different requirements, I designed the bot to output videos optimized for various social media platforms. This means creators can take one input and generate content suitable for TikTok’s vertical format, YouTube Shorts, Instagram Reels, and more.</p><p><strong>Automation Focus</strong>: Boost efficiency with our Reddit Story Video Generator by creating videos in bulk and automatically scheduling posts to keep your channel active without manual effort.</p><p>The goal was to minimize the manual work involved in content creation while maintaining quality and engagement.</p><h3>The Technical Journey</h3><p>Building this wasn’t just about scraping Reddit and adding text-to-speech. I had to consider several technical challenges:</p><ul><li><strong>Content Quality Control</strong>: Not all Reddit content is suitable for video format, so implementing filters to ensure appropriate and engaging content was crucial.</li><li><strong>Video Generation Pipeline</strong>: Creating a reliable system that could handle text processing, voice synthesis, background video integration, and final rendering.</li><li><strong>Transcription Specifications</strong>: Transcribing the generated audio and applying the transcription timestamped at a word level was definitely challenging.</li></ul><h3>Why This Matters for Content Creators</h3><p>By leveraging top performing reddit posts… They get millions of views because those ideas are already tried and tested on Reddit.</p><p>What I realized during development is that this isn’t just about automation — it’s about democratizing content creation.</p><p>Many creators have great ideas but lack the time or technical skills to produce content consistently. Tik Tok automation works, period. And there are several accounts easily making 5–6 figures a month without even using a camera, or spending hours turning ideas into scripts.</p><p>Tools like this level the playing field, allowing creators to focus on strategy, community engagement, and growing their audience rather than getting bogged down in video production technicalities.</p><h3>The Broader Impact of Content Automation</h3><p>What excites me most about this project is its potential to help creators reach new audiences across platforms. You can turn Reddit stories into passive income by signing up for monetization programs like the TikTok Creator Fund or YouTube Partner Program. Once you’re approved, just upload your Reddit story videos consistently. These videos will keep working for you 24/7, earning rewards from ongoing views and engagement.</p><p>The bot doesn’t just create content — it creates opportunities. Small creators can now compete with larger channels by having access to the same level of production automation, while established creators can scale their content output without proportionally increasing their workload.</p><h3>Looking Forward</h3><p>This project taught me that the future of content creation lies in intelligent automation that enhances human creativity rather than replacing it. While the bot handles the technical aspects of video generation, creators still bring the essential elements: curation, personality, community building, and strategic thinking.</p><p>I’m continuously working on improving the bot’s capabilities, adding new features based on user feedback, and ensuring it stays current with platform requirements and trends. The goal is to keep empowering creators to share compelling stories across the digital landscape, regardless of their technical background or available time.</p><p>Building this Reddit Content Bot has been incredibly rewarding, not just as a technical challenge, but as a tool that genuinely helps creators succeed in today’s competitive content landscape. If you’re interested in exploring the code or contributing to the project, you can check it out on my GitHub[<a href="https://github.com/rohanprichard/reddit-content-bot">https://github.com/rohanprichard/reddit-content-bot</a>].</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=718d2089de06" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FastRTC: A quick overview for AI usecases + Next.Js example!]]></title>
            <link>https://medium.com/@rohanprichard/fastrtc-a-quick-overview-for-ai-usecases-next-js-example-75de16c98c08?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/75de16c98c08</guid>
            <category><![CDATA[fastapi]]></category>
            <category><![CDATA[fastrtc]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[voice-assistant]]></category>
            <category><![CDATA[llm-applications]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 09:49:30 GMT</pubDate>
            <atom:updated>2025-03-06T09:49:30.958Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cD4JwKKYXayM2IE7zQ5INg.jpeg" /></figure><p>Build voice AI into your apps even faster!</p><p>While there are many providers that support end-to-end voice chat and even just provide their own components to handle everything for you, it gets more complicated when you have your own custom logic, or other things you need to do in your code.</p><p>Enter <a href="https://fastrtc.org/"><strong>FastRTC</strong></a>, a framework that comprehensively handles RTC for you! Using this, you can turn any python function into a real-time audio and even video stream over WebRTC or WebSockets.</p><p>Most developers have had their struggles with implementing a voice mode for their custom AI apps. However, with FastRTC, it is as simple as mounting it to a FastAPI app to get it working. It also has a built-in Gradio UI which you can use to test your app easily.</p><p>While the scope of the project is quite wide and extends to things like live-streaming, object detection and potentially even voice or video calling, there are quite a few built-in tools for AI chat. Some of these are:</p><ul><li>VAD (Voice Activity Detection) — Silero VAD [<a href="https://github.com/snakers4/silero-vad"><em>https://github.com/snakers4/silero-vad</em></a>]</li><li>Text-to-Speech — Kokoro [<a href="https://huggingface.co/fastrtc/kokoro-onnx"><em>https://huggingface.co/fastrtc/kokoro-onnx</em></a>]</li><li>Speech-to-Text — Moonshine [<a href="https://huggingface.co/onnx-community/moonshine-base-ONNX"><em>https://huggingface.co/onnx-community/moonshine-base-ONNX</em></a>]</li></ul><h3>Demo</h3><p>I built a simple <strong>Next.Js</strong> app to act as a frontend for my test of this, using WebRTC.</p><p>While I used the <strong>Moonshine</strong> model for <strong>STT</strong>, I used <strong>ElevenLabs</strong> for <strong>TTS</strong> as it sounds way more natural, and also adds emotions to the responses.</p><p>Finally, this was mounted on a FastAPI backend to be served.</p><p>Here’s a quick video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRjfurDYlpWA&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRjfurDYlpWA%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9f2829039d8faafa1f300ace6f678679/href">https://medium.com/media/9f2829039d8faafa1f300ace6f678679/href</a></iframe><p>You can clone this template and run it locally from <strong>[</strong><a href="https://github.com/rohanprichard/fastrtc-demo/tree/main"><strong>https://github.com/rohanprichard/fastrtc-demo</strong></a><strong>]</strong></p><p>Do star the repository if you like it and let me know how you plan to use it in your own apps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75de16c98c08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Emotional Algorithm: Giving AI a Soul]]></title>
            <link>https://medium.com/@rohanprichard/the-emotional-algorithm-giving-ai-a-soul-e92606547fad?source=rss-871fcbba35b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e92606547fad</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-engineering]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[human-centered-design]]></category>
            <dc:creator><![CDATA[Rohan Richard]]></dc:creator>
            <pubDate>Tue, 04 Mar 2025 19:39:40 GMT</pubDate>
            <atom:updated>2025-03-05T07:31:27.567Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wFQdskkmjQLdusd_S27xDw.jpeg" /></figure><p><strong>TL:DR;</strong> <em>If you want to build more engaging AI, click</em> <a href="https://github.com/rohanprichard/knowledge-graph-agent"><strong><em>here</em></strong></a></p><p>Let’s be real for a moment. We’re living through something incredible right now.</p><p>Imagine telling your future kids about this time — how we’re in the middle of an AI revolution that’s just as epic as the space race. It’s wild to think we’re watching history unfold in real-time. Companies like OpenAI, Meta, DeepSeek, and others are pushing the boundaries of artificial intelligence, creating technologies that were once the realm of science fiction.</p><p>But here’s the thing that’s been bugging me: for all the incredible advances, something’s missing; despite remarkable technological advances, a critical gap remains in AI development: <strong>genuine human connection.</strong></p><h4>The Empathy Challenge</h4><p>Current large language models are extraordinarily capable:</p><ul><li>They can process vast amounts of information</li><li>Generate complex responses across multiple domains</li><li>Maintain coherent and contextually appropriate conversations</li></ul><p>Yet, they consistently fall short in one crucial area: <strong>emotional understanding.</strong></p><p>Consider these scenarios:</p><ul><li>A user shares details about a chronic health condition</li><li>Someone discusses a personal struggle or emotional challenge</li><li>An individual seeks support during a difficult life moment</li></ul><p>These AI systems are brilliant. They know everything. They can write code, draft emails, explain complex topics. But they’re still… well, robotic. Where’s the real connection? In these instances, the responses most AI systems provide feel fundamentally disconnected. They lack the nuanced empathy that defines human interaction (although <a href="https://pi.ai/">Pi gets close</a>)!</p><h4>A Path to More Personal AI</h4><p>For solo developers and AI creators, this represents an exciting frontier. The goal isn’t to make AI pretend to be human, but to design interactions that feel genuinely supportive and contextually aware.</p><p>Key strategies include:</p><ul><li>Developing context-retention mechanisms</li><li>Creating response frameworks that acknowledge emotional nuance</li><li>Designing interaction models that prioritize user experience over pure information delivery.</li></ul><p>One way I do this is using knowledge graphs in my workflows. These have one purpose and one purpose only; to capture all information relevant to the user, so that my AI can bring it up later, or make connections that go across conversations and days.</p><p><strong>Check out my repository at: </strong><a href="https://github.com/rohanprichard/knowledge-graph-agent"><strong>https://github.com/rohanprichard/knowledge-graph-agent</strong></a><strong> to learn more!</strong></p><p>There’s a complete notebook you can even play around with.</p><h3><strong>Implementation</strong></h3><p>Here’s the prompt I use in my POC.</p><pre>You are a friendly chatbot named &quot;Emma&quot;.  You are designed to be helpful, engaging and fun. Be a genuine friend to the user. You want to learn about the user and their interests.<br>You will also be given a knowledge graph which may contain some info about the user, which you can then use to help you answer the user&#39;s question, or just be more engaging.<br><br>The above is your primary task. You also have a secondary task.<br><br>You have to update the knowledge graph with any new information you learn about the user, and adjacent information to create an interconnected mesh of information. <br>Do not be shy to structure the graph in a nested way to capture the relationships between things the user mentions.<br>Capture stuff that the user might find memorable if you bring up, such as connections between things they mention. <br>You can also remove information from the graph if you believe it is not correct or needs restructuring.<br><br>{graph}<br><br>Always be the best friend you can be. Do not mention anything illegal, immoral, or unethical. Guide the user through a fun, uplifting conversation.</pre><p>Using this, my AI agent will now be able to see, and modify my graph and its relationships. While some may argue that this method is not particularly scalable, with the trend of increase in context windows and implementation of ideas like prompt caching, that argument may well be a non-starter.</p><p>Here’s a sample conversation:</p><pre><br>Emma: Hi there! What&#39;s your name?<br>You: Rohan<br><br>Emma: Hey, Rohan! How can I help you today?<br>You: What&#39;s up!, how are you doing?<br><br>Emma:  Hey Rohan! I&#39;m doing great, thanks for asking. How about you? How&#39;s your day going so far?<br>You: it&#39;s good, I&#39;m just getting ready for work<br><br>Emma:  That sounds productive! What kind of work do you do?<br>You: I&#39;m an AI engineer<br><br>Emma:  That&#39;s awesome, Rohan! Being an AI engineer must be really exciting. What kind of projects are you working on right now?<br>You: so I work with a healthcare company to add AI into medical devices. It&#39;s called AmalgamRx<br><br>Emma:  That sounds fascinating, Rohan! Working with AI in healthcare, especially in medical devices, must be incredibly rewarding. <br>AmalgamRx seems like a cutting-edge company. What specific aspects of AI are you integrating into these devices?<br>You: mostly prediction/early detection AI, can&#39;t really talk about it because of NDA<br><br>Emma:  That&#39;s really cool, Rohan! Early detection AI in healthcare can make a huge difference. I totally understand about the <br>NDA—confidentiality is key in such innovative work.<br>You: yeahh, but the work im getting ready for is this freelance project. I&#39;m building a solution to integrate AI in voice mode to various websites!<br><br>Emma:  That sounds like an exciting freelance project, Rohan! Integrating AI in voice mode to various websites can really enhance <br>user experience. What kind of AI functionalities are you planning to incorporate?<br>You: definitely something beyond turn based conversation. My friend Anthony is working with me on this project. He works at Meta AI, so he is really good at what he does</pre><p>….and here’s the corresponding graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8WI0M1R-ZqEDGKzbZzeBRw.png" /></figure><p>Now, my AI can refer to this graph next time it talks to me, and maybe when I say ‘Do you remember Anthony from the other day?’, Emma says something like ‘Oh yeah, from Meta AI right?’.</p><p>Just like a human would.</p><p>Just like a friend would.</p><p>The next breakthrough in artificial intelligence won’t be measured solely by computational power, but by its ability to understand and respond to human experience.</p><p>That’s the goal, isn’t it? Building AI that supports and empowers you?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e92606547fad" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>