<?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 Karthik Rao on Medium]]></title>
        <description><![CDATA[Stories by Karthik Rao on Medium]]></description>
        <link>https://medium.com/@raokarthik99?source=rss-d37e745566c2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GKSup4X4Dew4OUlr5Iy9zg.jpeg</url>
            <title>Stories by Karthik Rao on Medium</title>
            <link>https://medium.com/@raokarthik99?source=rss-d37e745566c2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:45:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raokarthik99/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[Confessions of an “Unprincipled” AI Engineer: What Agent-Building Tutorials and YouTubers Don’t…]]></title>
            <link>https://medium.com/@raokarthik99/confessions-of-an-unprincipled-ai-engineer-what-agent-building-tutorials-and-youtubers-dont-ee1a36cb5e69?source=rss-d37e745566c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee1a36cb5e69</guid>
            <category><![CDATA[google-adk]]></category>
            <category><![CDATA[copilotkit]]></category>
            <category><![CDATA[composio]]></category>
            <category><![CDATA[protocol]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Karthik Rao]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 09:38:05 GMT</pubDate>
            <atom:updated>2025-10-27T16:32:46.016Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<h3>Confessions of an “Unprincipled” AI Engineer: What Agent-Building Tutorials and YouTubers Don’t Tell You</h3><p><strong><em>Protocols over prophets. Principles over hype. Code over social media cults. $0 over nonsense. Because building agents should be boring, solid, and somewhat cheap just like our regular old-school software engineering.</em></strong></p><p>(And yes, I realize that sounds exactly like the YouTubers I’m making fun of. The irony isn’t lost on me.)</p><h3><strong>Table of Contents</strong></h3><p>· <a href="#362e">The short version</a><br>· <a href="#f7a8">The hype vs. the hallway</a><br>· <a href="#4240">Where am I coming from?</a><br>· <a href="#7723">So what came out of it? (Demo)</a><br>· <a href="#d328">My goals and principles</a><br> ∘ <a href="#fc52">Avoiding the quiet lock-ins</a><br>· <a href="#c167">Step 1: Finding the Right Agent Framework</a><br>· <a href="#e965">Stack I chose for this demo and why</a><br>· <a href="#6882">Step 2: Map out your entire system architecture — including the user experience, not just the agent logic</a><br>· <a href="#bb28">Step 3: Map the data flow between components</a><br> ∘ <a href="#502f">End-to-End Flow: User to Agent to Tools</a><br>· <a href="#bfd6">Step 4: Prerequisites for running the Demo locally</a><br> ∘ <a href="#9e60">Configuring Supabase &amp; “Sign-up / Sign-in with Google”</a><br> ∘ <a href="#441d">Configuring a Gemini model for use through Google AI Studio</a><br> ∘ <a href="#d464">Configuring Composio as the MCP Gateway</a><br> ∘ <a href="#22bd">System Requirements</a><br>· <a href="#147f">Step 5: Run the Demo locally</a><br> ∘ <a href="#781e">Running the backend python agent service​</a><br> ∘ <a href="#e0ee">Running the CopilotKit NextJS frontend app</a><br>· <a href="#03dc">What’s next?</a><br>· <a href="#3a9f">Closing Thoughts</a></p><h3>The short version</h3><p>Don’t build your roadmap on whatever “agent platform” is trending this month.</p><p>Build on open protocols. Keep your code close. Pick abstractions you can walk away from.</p><p>Hype burns fast. Interfaces last.</p><p>If you just want to see the results, skip to the <a href="#7723"><strong>demo</strong></a><strong> </strong>or the <a href="https://github.com/raokarthik99/building_agents_consumer"><strong>code</strong></a> <strong>and </strong><a href="#bfd6"><strong>setup guide</strong></a>. The rest is about the thinking behind it.</p><h3>The hype vs. the hallway</h3><p>You’ve seen the videos: <em>“X just dropped a revolutionary agent builder — RIP startups.”</em></p><p>Then you walk into work, down the hallway, and everything looks… the same.</p><p>Even the “AI” features that exist feel thin — like someone duct-taped a chatbot to the corner of an app.</p><p>If these tools are so magical, why aren’t our daily systems transformed?</p><p>Because building something useful has never been about flipping a switch or pasting in an API key. It’s about the hard, unglamorous decisions: how data moves, what tools it can reach, how to handle failure, what you can self-host, and how to keep costs under control. None of that fits into a 12-minute YouTube demo.</p><p>Building agents shouldn’t be treated differently from any other software. The marketing has warped that. We used to sweat the details — scalability, resilience, versioning — but the moment someone says “AI,” it’s suddenly fine to skip the fundamentals because a C-suite exec waved a budget at it.</p><h3>Where am I coming from?</h3><p>In my day job, I build agents at Microsoft. Sounds impressive on paper, but inside Big Tech it’s often a tangle of expensive experiments, shifting priorities, and decisions driven by slide decks more than sense. Everyone needs an “AI initiative.” Few care about the tech debt that follows.</p><p>Protocols? Usually ignored. There’s always a custom “Enterprise way” or “internal service” that does the same thing but slightly worse. Suggest an industry-standard approach and you’ll trigger an existential crisis about who owns what system.</p><p>After months of that, I wanted a reset. I wanted to see what it’s like to build as an outsider — to think the way smaller teams and indie developers have to think. When money isn’t infinite, clarity suddenly matters.</p><p>Part of me hopes this journey might nudge Big Tech to think differently too. It’s probably a ridiculous dream, but I’ve always been stubbornly — maybe even ignorantly — optimistic.</p><p>So I gave myself a rule: <strong>build something great, spend nothing</strong>.</p><p>And while doing it, make every decision defensible and swappable. It’s not about avoiding black boxes altogether. It’s about knowing exactly why they’re there, what role they play, and how you’d replace them if they vanished tomorrow. Build with enough backbone that you could drop in your own version without breaking the system.</p><p>That constraint forced a kind of honesty that’s hard to find inside a big company. It reminded me what engineering is supposed to feel like — creative, thoughtful, a bit scrappy.</p><h3>So what came out of it? (Demo)</h3><p>Honestly? Another chatbot 😬.</p><p>But stay with me — it’s the <em>why</em> behind it that matters.</p><p>It’s a small system built entirely on open protocols, using swappable pieces anyone can extend or self-host. It’s meant to prove that you don’t need a credit card or a startup subscription to build something powerful. You just need to choose your abstractions carefully and stay allergic to lock-in.</p><p>Here’s a short demo of where it’s at right now:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F1130692646%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F1130692646&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F2074462086-ead81d9b28ace46e612f712f6b5b18d722994ac8228e28558cf46f794d49d219-d_1280%3Fregion%3Dus&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/9241cdf693e594178053c315af8c7573/href">https://medium.com/media/9241cdf693e594178053c315af8c7573/href</a></iframe><p>In the next few posts, I’ll keep expanding it, piece by piece, and walk through the decisions that shaped it. The goal isn’t to sell a framework. It’s to show that principled, thoughtful engineering still wins — even in a world obsessed with hype.</p><h3>My goals and principles</h3><ul><li><strong>Build an agent for $0.</strong> No credits, no subscriptions, no cloud handouts — just open tools, code, and a willingness to tinker until something works. I don’t mind using a paid tool if it has a decent free tier and sparks my curiosity. The key is knowing I can replace it later if I put in the effort, and that my overall architecture is strong enough to survive that swap. Curiosity is allowed; dependency isn’t.</li><li><strong>Design for end-to-end security from day one</strong>. In production, you’re not building for one user — you’re building for many, and each one brings their own permissions, scopes, and trust boundaries. Your agent’s interactions with tools must respect per-user authorization: the Gmail it accesses for User A should never leak into User B’s session. This means thinking beyond “does the agent have access?” to “does <em>this specific user</em> have access, right now, for this exact action?” Tool calls should carry user context, OAuth tokens should be scoped per session, and sensitive operations — like sending emails or deleting calendar events — should trigger explicit user approval flows. And crucially, users must have a clear, accessible way to audit what permissions they’ve granted and revoke access when they want out. Security isn’t a feature you bolt on later; it’s the architecture you choose today.Here’s the kicker: this is just old-school, boring, regular software engineering. Multi-tenancy. Authentication. Authorization. Audit trails. User consent management. We’ve been solving these problems for decades in web apps, APIs, and distributed systems. But somehow, the moment “AI” and “agents” enter the conversation, all that hard-won wisdom evaporates. Agent-building tutorials skip straight to the flashy demo — “look, it sends emails!” — without a single mention of whose credentials it’s using, how permissions are scoped, or what happens when two users hit the system at once. Marketing materials sell you on “effortless automation” while quietly sweeping the entire security stack under the rug. It’s as if we’ve collectively forgotten that agents are just <em>software</em>, and software that touches user data needs to be built with the same rigor we’d apply to any other production system.</li><li><strong>Make it genuinely useful.</strong> This part almost broke me. As an engineer, I live in a constant tug-of-war between <em>crafting something meaningful</em> and <em>shipping something that looks good on a slide</em>. Half the time, building agents feels like “solution looking for a problem” until someone in a boardroom declared it “strategic.” But here’s the thing: I still love it. There’s a quiet satisfaction in getting the plumbing right, in making systems talk to each other like they’ve finally agreed to be friends. It’s ridiculous and beautiful at the same time — like teaching two APIs to fall in love. And yes, I’m fully aware that I’m feeding the great capitalist spectacle while pretending to fight it. It’s a performance, and I’m both the actor and the stagehand. Yet somewhere between the cynicism and the caffeine, there’s a moment of genuine joy when something actually works. It’s that strange mix of pride and cynicism that keeps me up at night: knowing I want to build for impact, yet constantly navigating a world that measures innovation in demo videos and investor buzzwords. If you’re reading this and feeling the same existential dread, don’t overthink it. You’re not supposed to. The goal isn’t to solve life; it’s to ship before the demo. Meaning can come later — preferably after a nap 😋<br> — <strong>Case in point: For this blog’s demo, I built an </strong><a href="https://github.com/raokarthik99/building_agents_consumer/tree/main/agent_service/agents/event_organizer_agent"><strong>event organizer agent</strong></a><strong> .</strong> It’s basically a digital conference planner with commitment issues. It can research speakers, check your calendar, and draft personalized outreach emails, all with the manic enthusiasm of a college student who just realized they can automate their homework. And yes, it actually works. It syncs with Notion, Gmail, and Google Calendar like a responsible adult. Yet I still find myself explaining to friends that <em>no</em>, it’s not just a glorified to-do list — while secretly wondering if I’ve just automated the dullest parts of event planning. The best (or worst) part? I’ll never know if it’s actually useful in terms of saving money and time but it’s definitely a cool demo 😅</li><li><strong>Stick to real code, not rented magic.</strong> SDKs are fine. SaaS dependencies that hold your project hostage the moment you stop paying? Not so much.</li><li><strong>Keep control and clarity.</strong> Everything should be understandable, testable, and replaceable. I want to pick my own models, choose where things run, and plug the system into any UI without pleading for permission. That’s what engineering should feel like — creative, grounded, and a little bit defiant.</li></ul><h4>Avoiding the quiet lock-ins</h4><p>Everyone in this space has incentives, and none of them are about your freedom.</p><ul><li>Model providers like OpenAI or Anthropic will happily keep you in their garden — until a price hike or policy change reminds you who owns the gate.</li><li>Cloud providers like AWS, Google Cloud and Microsoft Azure love the “one-stop shop” story that slowly becomes a closed ecosystem.</li><li>Startups (LangGraph, Crew AI) claim “open” but play the same game: free to start, expensive to stay, and “no-code” that quietly means “no escape.”</li></ul><p>No villains here — just business.</p><p>But as a builder, your job is to spot the handcuffs before they click shut.</p><p>That’s why it helps to pause and build around a philosophy. A set of principles that remind you what kind of engineer you want to be before the marketing noise drowns it out.</p><h3>Step 1: Finding the Right Agent Framework</h3><p>Every developer eventually hits the wall: the hunt for that one <strong>perfect framework</strong> that makes AI agents click.</p><p>My journey began, like many modern tragedies, with the allure of <strong>drag-and-drop</strong>. Systems like <a href="https://n8n.io/"><strong>n8n</strong></a> and <a href="https://www.microsoft.com/en-us/microsoft-365-copilot/microsoft-copilot-studio"><strong>Copilot Studio</strong></a> promised a life-changing, ten-minute build. For a while, the magic held. But that sparkle faded as I spent more time <em>guessing</em> the hidden logic of opaque blocks than actually engineering solutions. The process was a black box: hidden code, non-transparent pricing, and a general sense of doom that coding is dead.</p><p>Seeking a more familiar path (and an escape from the doomsday feeling), I moved into the <strong>Microsoft ecosystem</strong> with <a href="https://learn.microsoft.com/en-us/semantic-kernel/overview/"><strong>Semantic Kernel </strong></a>and the newer <a href="https://learn.microsoft.com/en-us/agent-framework/overview/agent-framework-overview"><strong>Microsoft Agent Framework</strong></a>. This is where I started building <em>real</em> things — or so I thought — experimenting with prompt flows and tool connections. For the first time, the “agent” craze felt tangible and under my control. (But no ROI, because remember the whole “solution looking for a problem” thing from earlier?)</p><p>Yet this high was short-lived. The environment dissolved into a maze of “Big Tech-isms.” Tutorials overwhelmingly focused on <a href="https://learn.microsoft.com/en-us/semantic-kernel/get-started/quick-start-guide?pivots=programming-language-python"><strong>console applications</strong></a>. <strong>Console. Apps. In 2025.</strong> We’re building for users, not command lines. <strong>Where’s a real-world open-source example of a full stack, secure app that’s not vendor or cloud locked in?</strong> The ecosystem lacked basic developer necessities: a proper UI playground, clear API exposure patterns, and straightforward solutions for tool integration and authentication.</p><p>I also dabbled with <a href="https://www.langchain.com/langgraph"><strong>LangGraph</strong></a> early on. The pitch was seductive: open-source, extensible, and built by the LangChain team. On paper, it seemed like the perfect escape from vendor lock-in. But here’s the catch — while the framework itself is open-source, deployment is a different story. If you want to host your agent in production, you’re nudged toward LangGraph Cloud, which is neither cheap nor transparent about pricing. The self-hosted “Lite” option exists, but it’s riddled with limitations around authentication and scalability. Developers are left wondering: <em>What’s the point of self-hosting if I can’t even implement custom auth? </em>This <a href="https://github.com/langchain-ai/langgraph/discussions/4700">GitHub discussion</a> captures the frustration perfectly. Users are confused about what they’re actually paying for, whether node executions or uptime are included, and how authentication is supposed to work in different tiers. The lack of clarity isn’t just annoying, it’s a deal-breaker when you’re trying to make serious architectural decisions.</p><p>The story gets more complicated with <a href="https://modelcontextprotocol.io/docs/getting-started/intro"><strong>MCP (Model-Context Protocol)</strong></a>. While widely hailed as the universal answer, a glance at GitHub issues reveals a humbling reality. Examples are frequently broken, remote connections are buggy, and documentation is often an unfinished thought. Worse, every framework that “supports MCP” seems to implement its own custom, incompatible flavor.</p><p>This led to a crucial pivot. I stopped chasing the next hype-cycle framework and started asking a simpler question: <strong>What would a good agent framework actually look like if it respected the builder’s time and intelligence?</strong></p><p>A truly effective agent framework must deliver control, transparency, and freedom. It should serve the developer — not a specific vendor’s stack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uKSEcGSJepIlq25VMRwMMg.png" /><figcaption>Features of a decent agent framework (have to paste a screenshot as Medium doesn’t support markdown tables properly even in the age of AI. Sigh.)</figcaption></figure><p>The future of agents depends on clear, performant communication standards — not just between the agent and the LLM, but between agents and the outside world.</p><ul><li><strong>MCP for Agent-to-Tool Communication:</strong> The Model-Context Protocol is essential, but it needs mature <strong>remote support</strong>. Local, node-based execution models drain CPU on hosted systems. A serious framework must make connecting to remote MCPs feel effortless and reliable.</li><li><a href="https://a2a-protocol.org/latest/"><strong>A2A</strong></a><strong> for Agent-to-Agent Communication: </strong>Agents should be able to collaborate with other agents — even ones that weren’t built by the same developer or use the same framework. A clear, standardized A2A protocol is necessary for building complex, distributed intelligence.</li><li><strong>UI Integration Protocols (e.g., </strong><a href="https://docs.ag-ui.com/introduction"><strong>AG-UI</strong></a><strong>):</strong> This is the missing piece for moving beyond basic chat. Protocols that let the backend agent and frontend UI seamlessly <strong>share state, call tools, and sync context</strong> are required to create genuine, interactive experiences.</li></ul><h3>Stack I chose for this demo and why</h3><p>I eventually landed on <a href="https://google.github.io/adk-docs/"><strong>Google Agent-Development-Kit (ADK)</strong></a> for this blog’s demo.</p><p>ADK provides <a href="https://google.github.io/adk-docs/agents/models/"><strong>model choice</strong></a><strong>, </strong><a href="https://google.github.io/adk-docs/mcp/"><strong>robust remote and local MCP support</strong></a><strong>, </strong><a href="https://google.github.io/adk-docs/a2a/"><strong>first-class A2A support</strong></a><strong>, </strong><a href="https://google.github.io/adk-docs/observability/logging/"><strong>open observability integrations</strong></a><strong>, </strong><a href="https://google.github.io/adk-docs/callbacks/"><strong>easy-to-use hooks and callbacks</strong></a><strong>, a </strong><a href="https://google.github.io/adk-docs/deploy/#other-container-friendly-infrastructure"><strong>deploy-anywhere philosophy</strong></a> (though the docs do market Google Cloud a bit before you get to it), <a href="https://google.github.io/adk-docs/sessions/"><strong>plug-and-play database choices for session persistence, state, and long-term memory</strong></a><strong>, </strong><a href="https://google.github.io/adk-docs/tools/authentication/"><strong>easy OAuth enforcement for tools</strong></a><strong>, </strong><a href="https://google.github.io/adk-docs/get-started/python/#run-with-web-interface"><strong>a useful web UI playground</strong></a><strong>, </strong>and solid technical documentation that covers details other frameworks skip.</p><p>Yes, the irony of escaping one Big Tech ecosystem only to settle into another isn’t lost on me. But ADK quietly ticks most of the right boxes — no hype, no lock-in, and refreshingly under-marketed. It’s like discovering the quiet kid in class built the better framework while everyone else was busy tweeting about AGI. I just hope Google keeps it that way a little longer — at least until this blog makes it out alive. 😄</p><p>Let me sidetrack for a second and rant about Big Tech again. The funny thing is, inside all that corporate noise, there are still these tiny pockets of brilliance — real engineers doing real work. You’ll find someone who hits a wall on a tough problem, figures out a clever way around it, and then just… shares it with the world. Open-source repo, clean docs, detailed setup, and even the story behind <em>why</em> it exists. No PR fluff. Just honesty and good engineering. That’s the kind of energy I love. The kind of people I want to work with — builders who care more about solving problems than selling ideas. And honestly, that’s what I like about Google’s ADK. It doesn’t feel like a marketing product; it feels like something that escaped from an engineer’s side project. The docs are straight-up technical, no buzzwords, no hype. It feels human. There’s some comfort in that. End of rant.</p><p>For the remote MCP setup, I chose <a href="https://composio.dev/"><strong>Composio</strong></a> as my MCP Gateway. It’s one of those decisions that just made everything click. They offer a generous free tier with over 500 tools — which is wild — and I only needed a handful like <strong>Notion</strong>, <strong>Google Calendar</strong>, and <strong>Gmail</strong>. The best part? They handle all the connection management for you. No juggling user tokens, OAuth flows, or other soul-draining integration work. Your code stays lean, your sanity stays intact. In true “future-proof your stack” spirit, this isn’t a lock-in situation.</p><p><strong>ADK lets you connect directly to individual remote MCPs</strong> if you want full control. It even has nice abstractions for storing user credentials safely. The catch? You’ll deal with more storage and code overhead — but you’ll also get bragging rights for building it yourself.</p><p>Here’s the tradeoff: use <strong>Composio</strong> to get running fast, then decide later if you want native integrations. Even their paid tiers are priced sanely (which, in AI-land, feels like spotting a unicorn). Build fast, stay flexible, and don’t overthink it — you’ve got better things to debug.</p><p>To make the demo truly end-to-end, I needed an integration surface (yes, it’s a chatbot again). I went with <a href="https://www.copilotkit.ai/"><strong>CopilotKit</strong></a> — mostly for its open <strong>AG-UI protocol</strong> and the fact that <a href="https://developers.googleblog.com/en/delight-users-by-combining-adk-agents-with-fancy-frontends-using-ag-ui/"><strong>Google ADK supports it officially</strong></a><strong>.</strong></p><p>Then I added authentication between the integration and the agent, so I brought in <a href="https://supabase.com/"><strong>Supabase</strong></a> as the Identity &amp; Access Management layer.</p><p>I know, I know — it’s starting to sound like I’m secretly on these companies’ payrolls. But I swear, no one’s paying me (though I really wish they were after all this free PR).</p><p>If anyone from these companies <em>is</em> reading this, feel free to toss a sponsorship my way — or at least a T-shirt. And if someone from Microsoft happens to stumble upon this… please don’t fire me. In fact, give me something new and exciting to build so I don’t have to keep flirting with other platforms.</p><p>All jokes aside, these are just the tools I picked because they worked well for my demo. Nothing sacred here — they’re all replaceable. For once, the first thing I tried didn’t set my laptop on fire, and that felt like a sign.</p><p>All of this is still free, by the way. I’ll cover the setup prerequisites in the next section. For now, check out the diagrams that follow — you’re smart, you’ll piece it together. I’d explain more, but I’ve already written far too many words. Apparently, long sentences make me sound intelligent… so, uh, figure it out. 😄</p><h3>Step 2: Map out your entire system architecture — including the user experience, not just the agent logic</h3><p>I sketched out this totally unscientific, high-level diagram with a bunch of random components I <em>thought</em> would help tell the story I’m telling now. Spoiler: it actually worked better than expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w_hwqethPjo06plcQvU3Zw.png" /><figcaption>High Level Diagram for how your agent might fit within a larger system</figcaption></figure><p>Don’t overanalyze the diagram above. Once you walk through the code setup and run it locally, it’ll click. The real goal here is to get you to do the same for your own system — sketch it out, label the components, question the arrows, and worry (productively) about how everything fits together. The good part is you can get AI to diagram it for you based on some rough notes you sketch. You can use something like <a href="https://app.eraser.io/">https://app.eraser.io</a>. The important bit is you have a visual representation.</p><h3>Step 3: Map the data flow between components</h3><p>If you studied Computer Science, here’s your moment — you finally get to appreciate Data Flow Diagrams. Remember those? The ones you swore you’d never use again? Yeah, those.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qIn8Xry2qpJt1Vf5EGfTvg.png" /><figcaption>Data Flow Diagram for how things move between different parts of the system your agent fits into</figcaption></figure><h4>End-to-End Flow: User to Agent to Tools</h4><ol><li><strong>User authentication and session setup <br> — </strong>The user signs in through the <strong>frontend app</strong>, which authenticates credentials via the configured <strong>Auth Provider</strong> (e.g., Supabase).<br> — The provider issues a <strong>user access token</strong>, which the frontend securely passes to the <strong>Agent Server</strong> to authorize backend operations.</li><li><strong>Message initiation<br> — </strong>The user sends a message through the <strong>Chat Component</strong> in the app.<br> — The message, along with the user token, is transmitted to the <strong>Agent Server</strong> using the <strong>AG-UI Protocol</strong> (standardized message schema for chat exchanges).</li><li><strong>Agent initialization<br> — </strong>The <strong>Agent Server</strong> validates the user token and identifies the requesting user.<br> — A new <strong>Agent Instance</strong> is created — configured with the appropriate <strong>model</strong>, <strong>system instructions</strong>, and <strong>callback hooks</strong> for this conversation.</li><li><strong>Toolset injection (Before-Agent Callback)<br> — </strong>Before processing begins, a <strong>Before Agent Callback</strong> injects the <strong>MCP Gateway-based Toolset</strong> (Composio).<br> — This ensures that all subsequent tool calls are scoped to the user’s authenticated connections to their respective <strong>remote MCP tools</strong>.</li><li><strong>Tool selection and reasoning<br> — </strong>The <strong>Agent Instance</strong> engages the <strong>LLM</strong>, which analyzes the user’s message and determines which tools to invoke from the available MCP Toolset.</li><li><strong>Handling disconnected tools<br> — </strong>If the LLM requests a tool that the user hasn’t connected, the agent automatically triggers the <strong>COMPOSIO_INITIATE_CONNECTION</strong> meta-tool via the <strong>MCP Gateway</strong>.<br> — This generates a <strong>connection link</strong> and returns it to the user through the chat, prompting them to authorize the external integration.</li><li><strong>Tool invocation<br> — </strong>Once tools are connected (either pre-existing or newly authorized), the <strong>Agent Instance</strong> invokes them through the MCP Gateway.<br> — Multiple tools can be called in a single iteration, depending on how the LLM sequences or chains dependencies between them.</li><li><strong>Iteration and reasoning loop<br> — </strong>The <strong>LLM</strong> processes the returned tool outputs, determines if further iterations are required, and continues the reasoning loop until the task is complete.</li><li><strong>Response streaming<br> — </strong>When processing is complete, the <strong>final response</strong> is streamed from the <strong>Agent Server</strong> to the frontend via the <strong>AG-UI Protocol</strong>, and rendered progressively in the <strong>Chat Component</strong>.</li><li><strong>Connection follow-up flow<br> — </strong>If the user received a connection link earlier, they can complete the connection process externally, return to the chat, and ask the agent to continue.<br> — The <strong>Agent Server</strong> will now detect the connected state and proceed to call the tool as part of the next interaction.</li><li><strong>Conversation continuity<br> — </strong>All subsequent messages retain the full <strong>conversation context</strong>, including model state, prior tool results, and session history — until the user explicitly clears the chat.</li></ol><h3>Step 4: Prerequisites for running the Demo locally</h3><p>This is some really boring stuff. Please ignore my lack of otherwise awesome humor in this section.</p><h4>Configuring Supabase &amp; “Sign-up / Sign-in with Google”</h4><ul><li><strong>Step 1:</strong> Create a <a href="https://supabase.com/">Supabase</a> account and <a href="https://database.new/">project</a> (once you have created an account) if you haven’t already. It’s free to get started.</li><li><strong>Step 2: </strong>Navigate to “Authentication” section and then to “Sign In/Providers” under Configuration. Make sure “Allow new users to sign up” is enabled.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35c07PkYPRtnSvUIQOkAew.png" /></figure><ul><li><strong>Step 3:</strong> Scroll down to “Auth Providers” on this page and select “Google”. Make sure “Enable Sign in with Google” is enabled. “Client IDs” and “Client Secret” will be missing for now. That’s okay. Just copy the “Callback URL (for OAuth)” for now.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YIFLMmymn00k8x21WfAx1g.png" /></figure><ul><li><strong>Step 4:</strong> Go to the <a href="https://console.cloud.google.com/home/dashboard">Google Cloud Platform</a> and create a new project if necessary. It’s again free.</li><li><strong>Step 5: </strong>Use the <a href="https://console.cloud.google.com/auth/clients">Google Auth Platform console</a> to create a new “Client” app. Configure it as follows. You can give it any name but make sure you add <strong><em>“</em></strong><a href="http://localhost:3000/"><strong><em>http://localhost:3000</em></strong></a><strong><em>” </em></strong>as “Authorised JavaScript origins” and paste in the callback URL you copied in Step 3 under “Authorised redirect URIs”. Create a new “Client secret” and make sure you copy and save it somewhere safe. Copy the “Client ID” under “Additional Information” as well.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5ocVo_fRZ8LEV7tYhQbvg.png" /></figure><ul><li><strong>Step 6: </strong>Now, go back to the screen you were on in Step 3 and paste in the “Client ID” and “Client Secret” you copied in Step 5 and “Save”.</li><li><strong>Step 7: </strong>Go to “URL Configuration” and paste in <strong><em>“</em></strong><a href="http://localhost:3000/"><strong><em>http://localhost:3000</em></strong></a><strong><em>”</em></strong> as Site URL and paste in <strong><em>“</em></strong><a href="http://localhost:3000/auth/callback*%E2%80%9D"><strong><em>http://localhost:3000/auth/callback*”</em></strong></a> in “Redirect URLs”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5ocVo_fRZ8LEV7tYhQbvg.png" /></figure><ul><li><strong>Step 8: </strong>Go to “Project Settings” in the side NavBar and copy the “Project ID” and save it somewhere. It’ll be used for the <strong><em>“SUPABASE_URL”</em></strong>, <strong><em>“SUPABASE_JWT_ISSUER”</em></strong> env variables in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/.env.example">agent_service/.env.example</a> and as <strong><em>“NEXT_PUBLIC_SUPABASE_URL”</em></strong> env variable in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/copilotkit-ui/copilotkit-ui-adk-agent-standalone/.env.local.example">copilotkit-ui-adk-agent-standalone/.env.local.example</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5QIIDmTL4YverL3djOfjQ.png" /></figure><ul><li><strong>Step 9:</strong> Go to “API Keys” while inside “Project Settings” and copy the “anon public” and “service role secret” keys and save it somewhere safe. It’ll be used for the <strong><em>“NEXT_PUBLIC_SUPABASE_ANON_KEY” </em></strong>in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/copilotkit-ui/copilotkit-ui-adk-agent-standalone/.env.local.example">https://github.com/raokarthik99/building_agents_consumer/blob/main/copilotkit-ui/copilotkit-ui-adk-agent-standalone/.env.local.example</a> and <strong><em>“SUPABASE_API_KEY”</em></strong> in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/.env.example">agent_service/.env.example</a> respectively</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*utkDqkIlo3vUpFhc_3VQ9A.png" /></figure><ul><li><strong>Step 10: </strong>Go to “JWT Keys” while inside “Project Settings” and copy the “Legacy JWT secret” and save it somewhere safe. It’ll be used for <strong><em>“SUPABASE_JWT_SECRET”</em></strong> in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/.env.example">agent_service/.env.example</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rGzvxKDUQERX9glXGz4seA.png" /></figure><h4>Configuring a Gemini model for use through Google AI Studio</h4><ul><li><strong>Step 1:</strong> Go to <a href="https://aistudio.google.com/api-keys">Google AI Studio</a> and create a API Key. This should be free to do again. Copy it and save it somewhere safe. This will be used for the <strong><em>“GOOGLE_API_KEY”</em></strong> env variable in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/.env.example">agent_service/.env.example</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IBmNmVZAVCafT_rb20-06Q.png" /></figure><h4>Configuring Composio as the MCP Gateway</h4><ul><li><strong>Step 1: </strong>Create an account in <a href="https://platform.composio.dev/auth">Composio</a> for free.</li><li><strong>Step 2:</strong> It should automatically create a “Workspace” and “Project” for you and navigate you the “Project” in the Dashboard.</li><li><strong>Step 3:</strong> Navigate to “MCP Configs” tab from there. You should arrive here. Select “Create MCP Config”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lmtVKEgHc2PYrTZoI0kJuQ.png" /></figure><ul><li><strong>Step 4: </strong>Start searching for and adding the toolkits. We need to add “Notion”, “Google Calendar”, “Gmail” and “Composio Search”. Go with the default values for the “Create Auth Config” screen for all these toolkits. Eventually, you should reach the screens shown in the 3rd image below. Go ahead and select “Create MCP” at that point once all the toolkits are added.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DMtrdV9ByJwEPegacytLNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aJPpzlqeDFrMh3z6D4jXnw.png" /></figure><ul><li>You’ll be redirected to this screen. No need to take any action here. Just dismiss the popup.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YlvH9GHQwFQJmykmJL7KAw.png" /></figure><ul><li>Now, navigate to the “MCP Configs” tab at the top again and you’ll be taken to the list view of all MCP Configs.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AjsiHTjL_6dZU9FZ9ggbqA.png" /></figure><ul><li>From here, now hover on the “MCP Config ID” of the MCP Config you created and you’ll see a “Copy” button appear. Copy and save this value somewhere. It’ll be used as <strong><em>“EVENT_ORGANIZER_AGENT_CIO_MCP_CONFIG_IDS”</em></strong> in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/agents/event_organizer_agent/.env.example">agent_service/agents/event_organizer_agent/.env.example</a></li><li><strong>Step 5: </strong>Navigate to the “Settings” tab and select “New API key”, create it, copy it and save this somewhere safe. It’ll be used as <strong><em>“COMPOSIO_API_KEY”</em></strong> in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/.env.example">agent_service/.env.example</a> and in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/copilotkit-ui/copilotkit-ui-adk-agent-standalone/.env.local.example">copilotkit-ui-adk-agent-standalone/.env.local</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*le3GHb7j1j1KjofGXH21mA.png" /></figure><h4>System Requirements</h4><ol><li>Ensure Python <a href="https://www.python.org/downloads/release/python-3131/"><strong>v3.13.1</strong></a> is installed (should work with any 3.x version but just to be safe). If you are using <a href="https://github.com/pyenv/pyenv">pyenv</a> (and you should if you need multiple python versions), make sure it is selected as the active version when you are running the backend code in the next step.</li><li>Ensure Node <a href="https://nodejs.org/en/blog/release/v24.4.0"><strong>v24.4.0</strong></a> is installed. You can use <a href="https://www.nvmnode.com/guide/download.html">nvm</a> to manage multiple node versions on your system. If using it, make sure this version is selected as the active version when you are running the frontend code in the next step.</li><li>I used a Mac (macOS Tahoe 26.0.1) for this. This should run on Windows / Linux as well but I haven’t personally tested it. Some of the commands in the next step would change if you are using Windows / Linux and I’ll try to add relevant notes there.</li></ol><h3>Step 5: Run the Demo locally</h3><p>Clone <a href="https://github.com/raokarthik99/building_agents_consumer">building_agents_consumer</a></p><h4>Running the backend python agent service​</h4><ul><li><strong>Step 1:</strong> In a new IDE window/terminal, open up the “agent_service” folder(You can also go through <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/README.md">agent_service/README.md</a> in parallel)</li></ul><pre>cd agent_service</pre><ul><li><strong>Step 2: </strong>Create a virtual python env in this directory</li></ul><pre>python -m venv .venv</pre><ul><li><strong>Step 3: </strong>Activate the created virtual env</li></ul><pre>source .venv/bin/activate </pre><p>If you are on Windows, run the following (if you are facing issues, check out <a href="https://medium.com/@rodolfo.antonio.sep/setting-up-a-python-virtual-environment-on-windows-september-2023-aa9a25f856f9">https://medium.com/@rodolfo.antonio.sep/setting-up-a-python-virtual-environment-on-windows-september-2023-aa9a25f856f9</a>)</p><pre>venv\Scripts\activate</pre><ul><li><strong>Step 4: </strong>Install the required dependencies in the activated python virtual env. Remain on this virtual env for the rest of the steps for running this python app.</li></ul><pre>pip install -r requirements.lock</pre><p>If you ever need to change the versions of these packages or add/remove packages, follow the guidance in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/README.md">agent_service/README.md</a></p><ul><li><strong>Step 5:</strong> Setup the env variables by copying over the example ones</li></ul><pre>cp .env.example .env</pre><pre>cp agents/event_organizer_agent/.env.example agents/event_organizer_agent/.env</pre><p>Fill in the values using what you saved in <a href="#bfd6">Step 4: Prerequisites for Running the Demo Locally.</a></p><ul><li><strong>Step 6:</strong> I have a small confession to make at this point…. Remember how I said you could use Gemini for free through AI Studio? That’s still true. But for the demo video, I actually ended up using Claude Sonnet 4.5. I had some leftover credits from Anthropic and figured, why not. The thing is, I wanted to show those long, complex prompts in action, and I kept hitting rate limits with the free Gemini 2.5 Pro. And Gemini 2.5 Flash just wasn’t cutting it for what I wanted to demonstrate.<br> So yeah, technically you could say I click-baited you a little when I said it’s all free. Guilty as charged. But come on, these models cost real money and I don’t control that. The good news is, you can still run the same project with the free Gemini model and try a few relatively simpler prompts that I’ll share in the next steps. You’ll still get the full picture and that nice “ah, now I get it” moment I wanted you to have.<br> So don’t cancel me yet.</li><li><strong>Step 7: </strong>Let’s first run the project using the <a href="https://github.com/google/adk-web">ADK web UI playground</a> (remember one of criteria I said which makes it a good agent framework)</li></ul><pre>adk web agents</pre><p>You should be able to open <a href="http://127.0.0.1:8000/dev-ui/?app=event_organizer_agent">http://127.0.0.1:8000/dev-ui/?app=event_organizer_agent</a> and try out these prompts. Make sure to turn on “Token Streaming” toggle in the top right of the playground to get a better experience. ”Hi”, “Check and initiate connections to Notion, Google Calendar and Gmail”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QF4HMBkWfKuLYICTJZ_D9g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VMLjslUjlgrNZEA2LtIHQg.png" /></figure><p>You can explore all the other UI options and get a feel for the ADK playground if it’s your first time. You can click on the individual tool calls to see detailed request/responses that went over the wire to &amp; from the LLM.</p><p>Once you go through the connections links, you can start a new session and try this prompt to verify the connections: “Confirm that you have access to my Notion”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bn4N0Sih3hYhQk-l7DCJmA.png" /></figure><p>Now, go to your <a href="https://platform.composio.dev/">Composio dashboard</a>, open up the “MCP Config” you created and from there, you can go to the respective toolkit’s “Manage Auth Config” and then you can “Delete” the connected accounts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nyCE3cVOacV67L5l7-POcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPiJcNU1nEFhsIv_zHpvJw.png" /></figure><p>Now, if you run the prompt “Check and initiate connections to Notion, Google Calendar and Gmail”, you’ll see the agent will ask you to connect again.</p><ul><li><strong>Step 8: </strong>Now that you have validated the functionality of the agent through the ADK playground, you can kill the process/terminal that is running the “adk web” command</li><li><strong>Step 9: </strong>Now start the official server (which will inject auth and other AG-UI protocol wrapper APIs)</li></ul><pre>python app.py</pre><p>You should get this if everything goes well:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9TDlPmx56K1JkixdyRrY6w.png" /></figure><p>Now, if you go to, “http://localhost:8000”, you should get this “Missing bearer token” 401 error which means our Supabase OAuth is kicking in and protecting the agent server endpoints</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R15FbKcfDFOuHP-kOx7xLA.png" /></figure><p>Leave this service running while we continue and setup the frontend app</p><h4>Running the CopilotKit NextJS frontend app</h4><ul><li><strong>Step 1: </strong>In a new IDE window/terminal, open up the “copilotkit-ui/copilotkit-ui-adk-agent-standalone” folder (You can also go through <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/copilotkit-ui/copilotkit-ui-adk-agent-standalone/README.md">Rcopilotkit-ui/copilotkit-ui-adk-agent-standalone/README.md</a> in parallel)</li></ul><pre>cd copilotkit-ui/copilotkit-ui-adk-agent-standalone</pre><ul><li><strong>Step 2: </strong>Install the required node module dependencies</li></ul><pre>npm install</pre><ul><li><strong>Step 3: </strong>Setup the env variables by copying over the example ones</li></ul><pre>cp .env.local.example .env.local</pre><p>Fill in the values using what you saved in <a href="#bfd6">Step 4: Prerequisites for Running the Demo Locally.</a></p><ul><li><strong>Step 4: </strong>Run the frontend UI server</li></ul><pre>npm run dev</pre><p>If all goes well, you should see something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nwC7v2ZvDmgs9VxeDhIQ0Q.png" /></figure><ul><li><strong>Step 5: </strong>Navigate to <a href="http://localhost:3000/">http://localhost:3000</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PHD5GShGSOwk6VITG7kn7w.png" /></figure><p>After signing-in, you should be taken to</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*95P4jBZuSASPjJNKEyWqLQ.png" /></figure><ul><li><strong>Step 6: </strong>Try the same prompts you tried in the ADK playground. Make sure the backend agent service is still running: ”Hi”, “Check and initiate connections to Notion, Google Calendar and Gmail”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*27YaO4WWeDyAhhc9WobTeg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fn423l9N4hyTTvb4U0PhOA.png" /></figure><p>You’ll get this richer UI for the connection experience. You can start by connecting Notion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E9yUkZHkS19QMbsSJWABLA.png" /></figure><p>Once you complete the notion connection, it’ll continue, verify that you have connection to Notion and tell you that you have the other 2 connections pending. And you can scroll back to the previous agent message and use the buttons for connecting “Google Calendar” and “Gmail” (one at a time just like Notion)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xDKidOSms36z7OStFa4ChQ.png" /></figure><p>At this point, you can also just “Clear Chat” and try this prompt “Confirm that you have access to my Notion” to verify that the connections are persisting even on clearing the session: “Confirm that you have access to my Notion”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sCZsjhNxrE11My5-jMUfoA.png" /></figure><ul><li><strong>Step 7: </strong>Now, go to the “Manage connections” page and verify that Notion is showing as “Active” and then you can proceed to “Disconnect” it</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ezXusqepZEQfMCABQ9fIVg.png" /></figure><p>Now, if you go back to Chat, create a new session by “Clear chat” and then run the prompt “Check and initiate connections to Notion, Google Calendar and Gmail”, you’ll see the agent will ask you to connect again.</p><p>And there’s that! <strong>If you face any issues, please </strong><a href="https://github.com/raokarthik99/building_agents_consumer/issues/new"><strong>create a GitHub issue in the same repo</strong></a></p><p>As a bonus, if you want to recreate the flow I showed in the demo, you can first create a Notion page like this <a href="https://www.notion.so/SOTA-Tech-AI-Frontiers-Summit-2026-29819f8b5bee80129d1bda140336e63f?pvs=21">SOTA Tech: AI Frontiers Summit 2026 </a>and make sure you select this page access when connecting the agent to Notion. And then you can use a model like “Claude-4.5-Sonnet” to do these long running/multi-step tasks. Steps on how to change the model is covered in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/README.md">agent_service/README.md</a> and as comments in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/agents/github_issues_agent/.env.example">agent_service/agents/github_issues_agent/.env.example</a></p><p>Here’s the sample prompts I used in the video (you can either split it up and use or try with 1-shot as well, please make tweaks as needed based on your setup):</p><pre>Work end‑to‑end on inviting a keynote speaker for “SOTA Tech: AI Frontiers Summit 2026.” First, find and read the Notion page titled the same and confirm you have the access and the preliminary details in place.<br><br>Research Andrew Karpathy &lt;[speaker@email.com]&gt; using the web: identify 2–3 keynote angles aligned to our theme. For each angle, include a one‑sentence rationale, suggested duration, and 2–3 bullet outline. Infer the speaker’s city/area and timezone; if uncertain, list the top 2 possibilities and ask me to confirm.<br><br>Cross‑check your angles against the open keynote slots and recommend the best slot(s) with a brief note on pacing/topic adjacency risks. Then check my Google Calendar and propose 3–5 30‑minute intro‑call windows in the next 2–3 weeks that overlap reasonably with the speaker’s timezone, prefer mornings, and avoid conflicts and travel/commute buffers.<br><br>Find 2–3 quiet vegetarian or veg‑friendly cafes near the speaker’s city/area suitable for meetings; for each, provide address, opening hours, a quick noise/ambience note, and a link. Pair each cafe with one of the proposed times, adjusting for local timezone and travel time from my adjacent calendar events. If we’re in different cities or travel seems impractical, propose a Google Meet alternative instead of cafes.<br><br>Draft a Gmail email to the speaker with subject “Keynote Invitation — SOTA Tech: AI Frontiers Summit 2026.” Keep it to ~150–180 words. Include: brief event overview + audience, the recommended keynote angle with a rough outline, the tentative keynote slot(s), 2–3 intro‑call times, and either the cafe options or a Meet link recommendation. Add 1–2 social‑proof points (e.g., past speakers/partners) from web search.<br><br>Append an “Outreach Log” section (prefer it to be a simple Notion table block) to the same Notion page with date, recipient, topic proposal, proposed slot(s), call times, cafe options/Meet, and status “Invited,” and set a calendar reminder for a follow‑up in 5 days. Ask clarifying questions only if critical; otherwise make reasonable assumptions and state them. <br><br>If the Notion page references a media kit or deck, attach/link it; otherwise note a TODO. Create as a Gmail draft only; do not send.<br><br>Return: a concise status summary, the summarized event details, the proposed angles, recommended slot(s), the intro‑call windows, the cafe list (or Meet alternative), and the full email draft. </pre><p>One more minor “gotcha” for those are curious…..</p><p>If you notice, I have specified a specific version for google-adk in <a href="https://github.com/raokarthik99/building_agents_consumer/blob/main/agent_service/requirements.txt">agent_service/requirements.txt</a>. This is because of this active regression bug in version 1.16+ <a href="https://github.com/google/adk-python/issues/3237">https://github.com/google/adk-python/issues/3237</a>. Looks like it’ll be fixed soon, I’ll validate version 1.18+ and update the requirements.txt accordingly</p><h3>What’s next?</h3><p>Here are some ideas to build on. I’ll try covering some of these as smaller follow-up posts.</p><ul><li><strong>Host and deploy the system for free</strong> without cloud vendor lock-in. I’ve identified the steps and successfully deployed both frontend and backend components using <a href="https://render.com/">Render</a>, and I’ll share that process as a separate post.</li><li><strong>Add persistence through a database</strong> for sessions (conversation history) and state. Enhance the UI to include a conversation list so users can return and continue any conversation.</li><li><strong>Add multi-modality:</strong> image/file inputs, audio (transcript and real-time stream) and video inputs, audio outputs (transcript and real-time stream).</li><li>Add a meaningful use-case and example of <strong>UI and agent shared state</strong> — chatbot updates existing UI components through these shared states, and UI components manipulate the agent outside of the chatbot component.</li><li>Add a meaningful use-case and example of <strong>ADK built-in tools</strong> like Google Search, Code Execution, etc. (though many of these limit you to Gemini as the LLM choice, which goes against the principles).</li><li>Add a meaningful use-case and example of <strong>database MCP integrations</strong>. For example, our event management data could have come from a database instead of Notion.</li><li>Replace Composio (MCP Gateway) with <strong>direct remote MCP integrations through ADK</strong> and manage all the integrated app connection (connected end-user accounts) overhead and security enforcement cost as a tradeoff for not paying for an MCP Gateway through Composio.</li></ul><h3>Closing Thoughts</h3><p>If you’ve made it this far, you’re one of two people: someone who heroically read every word — or someone who scrolled straight here looking for the code or demo video. No judgment. Here you go again: <a href="#7723"><strong>demo</strong></a> or the <a href="https://github.com/raokarthik99/building_agents_consumer"><strong>code</strong></a> <strong>and </strong><a href="#bfd6"><strong>setup guide</strong></a>. (Though, in my defense, I mentioned it way up in paragraph one.)</p><p>If you <em>did</em> read the whole thing, don’t bet your next promotion on anything I’ve said. Consider this your friendly disclaimer: I’m not an AI guru, just an engineer trying to make sense of the madness.</p><p>One more thing: don’t take anyone who calls themselves an “AI guru” too seriously. They’re the reason I had to write this post in the first place, drowning the internet in doomsday forecasts and buzzword bingo while the rest of us just try to make the code run.</p><p>Oh, and one more thing: love people, not companies. I’ve never understood the obsession some folks have with brands and platforms, especially on social media. The arguments, the loyalty wars, the emotional investment in — what exactly? A logo trying to make shareholders happy?</p><p>Love people. Talk to humans. These companies don’t know you exist, and they definitely don’t love you back. Yet we defend or attack them like they’re part of who we are.</p><p>I get caught up in it too sometimes. Branding is powerful. It’s designed to make us care about things that can’t care back. But I’m trying to remember what actually matters. The people building these tools matter. The communities using them matter. The companies are just background noise.</p><p>Step outside once in a while. Touch some grass. Buy something in a store where the checkout doesn’t require an API key. Go to a movie theater — the kind with sticky floors and popcorn that costs more than your cloud credits.</p><p>What really confuses me is how some companies now seem to be trying to exist without people, using AI as the excuse. The whole reason we go to work is to collaborate, learn, and feel something. To build things together, debate ideas, laugh a little, share a terrible cup of coffee. Sure, you can talk to a chatbot, but come on — really?</p><p>Coming back to the topic… I really do care about making this stuff more accessible and open. If you’ve got ideas, I’d love to hear them. Reach out on <a href="https://www.linkedin.com/in/raokarthik99/"><strong>LinkedIn</strong></a> or <a href="/service/mailto:raokarthik99@gmail.com"><strong>Email</strong></a>. Just… maybe not to tell me I’m wrong about agents. I already know.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee1a36cb5e69" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>