<?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: crazyhackerboy</title>
    <description>The latest articles on DEV Community by crazyhackerboy (@bizz).</description>
    <link>https://dev.to/bizz</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%2F4191512%2F79ffe9db-f644-4f12-80cf-738d0d3f9eee.jpg</url>
      <title>DEV Community: crazyhackerboy</title>
      <link>https://dev.to/bizz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bizz"/>
    <language>en</language>
    <item>
      <title>CounterDeal: A local-first, neuro-symbolic real estate terminal for Pune brokerages</title>
      <dc:creator>crazyhackerboy</dc:creator>
      <pubDate>Sun, 18 Oct 2026 10:19:48 +0000</pubDate>
      <link>https://dev.to/bizz/counterdeal-a-local-first-neuro-symbolic-real-estate-terminal-for-pune-brokerages-264f</link>
      <guid>https://dev.to/bizz/counterdeal-a-local-first-neuro-symbolic-real-estate-terminal-for-pune-brokerages-264f</guid>
      <description>&lt;h2&gt;
  
  
  Introduction &amp;amp; The Problem
&lt;/h2&gt;

&lt;p&gt;When you are handling &lt;strong&gt;high-net-worth client financial records&lt;/strong&gt; and strict property regulations, standard &lt;strong&gt;cloud-based AI tools&lt;/strong&gt; introduce massive &lt;strong&gt;data privacy risks&lt;/strong&gt;. On top of that, &lt;strong&gt;language models&lt;/strong&gt; are notoriously bad at &lt;strong&gt;hard math&lt;/strong&gt;—which is a disaster when you are dealing with strict &lt;strong&gt;statutory compliance&lt;/strong&gt; like &lt;strong&gt;MahaRERA regulations&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I wanted to solve this real-world problem for &lt;strong&gt;real estate brokerages in Pune&lt;/strong&gt;, so I built &lt;strong&gt;CounterDeal&lt;/strong&gt;: a &lt;strong&gt;local-first workspace&lt;/strong&gt; that completely removes &lt;strong&gt;cloud data leakage&lt;/strong&gt; and &lt;strong&gt;LLM hallucinations&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  📺 Video Demo
&lt;/h2&gt;

&lt;p&gt;Here is a quick walkthrough of the terminal in action:&lt;br&gt;
  &lt;iframe src="https://www.youtube.com/embed/ECRpxFGKpdw" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It (The Tech Stack)
&lt;/h2&gt;

&lt;p&gt;CounterDeal uses a &lt;strong&gt;hybrid, neuro-symbolic architecture&lt;/strong&gt; to split the workload between natural language and hard deterministic logic:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local AI Runtime:&lt;/strong&gt; Running &lt;strong&gt;gemma2:2b&lt;/strong&gt; locally via &lt;strong&gt;Ollama&lt;/strong&gt; to handle natural language workspace navigation and the &lt;em&gt;Buyer Concierge&lt;/em&gt; safely with &lt;strong&gt;zero data leakage&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic RERA Auditor:&lt;/strong&gt; Bypasses LLMs entirely for legal and compliance checks, running strict &lt;strong&gt;TypeScript math&lt;/strong&gt; against &lt;strong&gt;MahaRERA&lt;/strong&gt; loading limits and statutory costs to &lt;strong&gt;prevent any hallucinations&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN Deal Rescue Engine:&lt;/strong&gt; A local &lt;strong&gt;FastAPI/Uvicorn microservice&lt;/strong&gt; running Prior Labs' &lt;strong&gt;TabPFN-3.5&lt;/strong&gt; to calculate counterfactual deal probabilities and concession recommendations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; &lt;strong&gt;Next.js (App Router)&lt;/strong&gt;, &lt;strong&gt;React&lt;/strong&gt;, &lt;strong&gt;Tailwind CSS&lt;/strong&gt;, and a custom &lt;em&gt;matte dark design system&lt;/em&gt; optimized for professional broker workflows.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why Open-Source &amp;amp; Local AI Matter Here
&lt;/h3&gt;

&lt;p&gt;By keeping the entire stack local and open-weight, CounterDeal achieves what closed commercial APIs can't:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero Data Leakage:&lt;/strong&gt; High-net-worth client buyer requirements and financial queries never leave the machine. Everything runs locally, eliminating &lt;strong&gt;third-party server exposure&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Absolute Legal Precision:&lt;/strong&gt; Compliance checks bypass the language model entirely and run through strict, &lt;strong&gt;deterministic code&lt;/strong&gt; to verify statutory figures.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  🚀 Real-World Validation: The Real Estate Club (Pune)
&lt;/h3&gt;

&lt;p&gt;To see if this system could actually survive the real world, I teamed up with &lt;strong&gt;Gaurav Khatri&lt;/strong&gt;, who runs a local firm called &lt;em&gt;The Real Estate Club&lt;/em&gt; here in Pune. &lt;/p&gt;

&lt;h4&gt;
  
  
  The Mess: Lost Leads &amp;amp; Compliance Paranoia
&lt;/h4&gt;

&lt;p&gt;Gaurav was basically drowning in WhatsApp messages. If you've ever dealt with real estate clients, you know their texts are a chaotic mess of budgets, locations, and mixed signals scattered across miles of chat history. He was straight-up losing hot leads simply because they got buried under cold ones. &lt;/p&gt;

&lt;p&gt;On top of that, every time a client asked a specific property question, Gaurav had to manually cross-check strict &lt;strong&gt;MahaRERA regulations&lt;/strong&gt; and building loading limits. It was a massive bottleneck—and he was terrified that a generic AI would hallucinate a statutory number and land him in legal hot water.&lt;/p&gt;

&lt;h4&gt;
  
  
  The Fix: Getting the Bots to Work Together
&lt;/h4&gt;

&lt;p&gt;We set up a quick multi-agent session using an ultra-cheap, fast model architecture, giving each bot a highly specific job:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Concierge:&lt;/strong&gt; A fast parser bot read incoming chats to instantly extract what the client actually wanted (budget, location, BHK).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Qualifier:&lt;/strong&gt; A second bot looked at the urgency of the tone and immediately flagged them as hot, warm, or cold so Gaurav knew who to call first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The RERA Auditor:&lt;/strong&gt; Instead of letting an AI guess compliance numbers, we hooked this bot up to a strict, hard-coded local database. It checked Pune's actual property regulations with &lt;strong&gt;zero hallucinations&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  The Payoff
&lt;/h4&gt;

&lt;p&gt;We ran this as a 30-day pilot, and the results blew both of our minds:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;📈 40% Spike in Conversions:&lt;/strong&gt; By pulling hot leads out of the WhatsApp graveyard in minutes instead of days, Gaurav was locking down serious buyers before they went to competitors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;⏱️ Seconds, Not Minutes:&lt;/strong&gt; Compliance checks that used to take 45 minutes of manual digging dropped to &lt;strong&gt;under 3 seconds&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;💸 ₹1,80,000+ in Extra Revenue:&lt;/strong&gt; The system rescued high-value deals that literally would have been lost forever in messy chat threads.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Run It Yourself &amp;amp; Let’s Connect!
&lt;/h3&gt;

&lt;p&gt;If you want to test this locally, review the code, or run it on your own machine, everything is &lt;strong&gt;open-source&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/smtherer/counter-deal" rel="noopener noreferrer"&gt;https://github.com/smtherer/counter-deal&lt;/a&gt;&lt;br&gt;
YouTube Demo: &lt;a href="https://youtu.be/ECRpxFGKpdw" rel="noopener noreferrer"&gt;https://youtu.be/ECRpxFGKpdw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to test or collaborate? Clone the repo, check out the local setup instructions in the README, and let me know if you run into any issues or have ideas for improving the tabular microservice. Drop a comment below!&lt;/p&gt;

&lt;h1&gt;
  
  
  hf26challenge, #ai, #opensource, #javascript
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>llm</category>
      <category>privacy</category>
    </item>
  </channel>
</rss>
