<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anuj Panchbhai</title>
    <description>The latest articles on DEV Community by Anuj Panchbhai (@anpan_27).</description>
    <link>https://dev.to/anpan_27</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4156506%2F1fd5a3f6-a13f-4dd3-86f5-fd1c5e743fe7.jpg</url>
      <title>DEV Community: Anuj Panchbhai</title>
      <link>https://dev.to/anpan_27</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anpan_27"/>
    <language>en</language>
    <item>
      <title>I Built an AI Agent for My Friend That Can Plan, Budget &amp; Pay for Real-World Tasks</title>
      <dc:creator>Anuj Panchbhai</dc:creator>
      <pubDate>Sun, 04 Oct 2026 14:44:47 +0000</pubDate>
      <link>https://dev.to/anpan_27/i-built-an-ai-agent-for-my-friend-that-can-plan-budget-pay-for-real-world-tasks-5cp1</link>
      <guid>https://dev.to/anpan_27/i-built-an-ai-agent-for-my-friend-that-can-plan-budget-pay-for-real-world-tasks-5cp1</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;MidPilot&lt;/strong&gt;, a privacy-first AI agent for fellow builders that can turn a goal into an executable mission. You can tell it something like &lt;strong&gt;“Build me a website”&lt;/strong&gt; or &lt;strong&gt;“Book me a restaurant table,”&lt;/strong&gt; and MidPilot plans the task, identifies the resources it needs, estimates the budget, and asks for approval before spending.&lt;/p&gt;

&lt;p&gt;Under the hood, &lt;strong&gt;Qwen runs locally through Ollama&lt;/strong&gt;, keeping sensitive context on the user's machine. For payments and financial control, MidPilot uses &lt;strong&gt;blockchain technology through Midnight Network&lt;/strong&gt;, combining programmable spending policies with privacy-preserving &lt;strong&gt;zero-knowledge proofs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The goal is to give AI agents the ability to interact with real-world services and money &lt;strong&gt;without giving them unrestricted access to a user's wallet&lt;/strong&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Live:-&lt;a href="https://youtu.be/5jc_G18KL3A" rel="noopener noreferrer"&gt;https://youtu.be/5jc_G18KL3A&lt;/a&gt; &lt;br&gt;
All the Installing instructions are present in my Github repo. &lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/ANPAN27/MidPilot" rel="noopener noreferrer"&gt;https://github.com/ANPAN27/MidPilot&lt;/a&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I built MidPilot around &lt;strong&gt;Qwen2.5 3B&lt;/strong&gt;, an open-weight model running locally through &lt;strong&gt;Ollama&lt;/strong&gt;. The model is the reasoning layer of the agent: it understands natural-language goals, plans missions, identifies required resources, estimates budgets, and decides which tools to use.&lt;/p&gt;

&lt;p&gt;The entire AI interaction can run locally, so sensitive mission and financial context does not need to be sent to a closed AI API. Because Qwen is open-weight and runs through Ollama, the model can also be swapped or customized as MidPilot evolves.&lt;/p&gt;

&lt;p&gt;The agent is built with &lt;strong&gt;Node.js and TypeScript&lt;/strong&gt; and uses tool calling to interact with MidPilot's local policy engine and &lt;strong&gt;MCP-based Midnight wallet&lt;/strong&gt;. The policy engine checks spending limits, merchant restrictions, time restrictions, and emergency freezes before transactions are allowed.&lt;/p&gt;

&lt;p&gt;For the blockchain layer, MidPilot uses &lt;strong&gt;Midnight Network&lt;/strong&gt; for real on-chain transfers, while the project also includes a &lt;strong&gt;Compact smart contract&lt;/strong&gt; designed for privacy-preserving policy validation. The current hackathon implementation keeps policy enforcement local as the active payment gate, with the on-chain ZK enforcement designed as the next layer.&lt;/p&gt;

&lt;p&gt;This open architecture is important because MidPilot is meant to give builders control over both the &lt;strong&gt;AI model and their financial data&lt;/strong&gt;, rather than depending entirely on a closed AI provider.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation matters because MidPilot is an AI agent that deals with &lt;strong&gt;budgets, payments, and potentially sensitive financial information&lt;/strong&gt;. I wanted the user to have control over where their data and AI reasoning happen.&lt;/p&gt;

&lt;p&gt;Using &lt;strong&gt;Qwen2.5 3B locally through Ollama&lt;/strong&gt; means MidPilot can reason on the user's own machine instead of sending every mission and financial instruction to a closed AI provider. It also gives me the freedom to &lt;strong&gt;swap models, experiment with different open-weight models, and customize the agent&lt;/strong&gt; as the project evolves.&lt;/p&gt;

&lt;p&gt;This was especially important for building a financial agent. With a closed API, I would be dependent on one provider's model, pricing, policies, and data-handling decisions. With an open approach, I can inspect, modify, and replace the AI layer while keeping the rest of MidPilot under my control.&lt;/p&gt;

&lt;p&gt;For me, open innovation isn't just about making the project cheaper—it gives MidPilot &lt;strong&gt;privacy, transparency, flexibility, and ownership&lt;/strong&gt;, which are especially important when an AI is making decisions around real money. &lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
