跳到正文
DEV Community· crazyhackerboy·· 2026-10-18AI 評分36

CounterDeal: A local-first, neuro-symbolic real estate terminal for Pune brokerages

CounterDeal: A local-first, neuro-symbolic real estate terminal for Pune brokerages

AI 導讀

CounterDeal 是為浦那房地產經紀公司打造的本地優先工作空間,採用混合神經符號架構,處理房地產交易及 MahaRERA 合規檢查。它以 Ollama 本地執行 gemma2:2b,並以確定性 TypeScript 邏輯執行 RERA 審核;TabPFN-3.5 則用於計算交易反事實概率及讓步建議。整個技術堆疊採用本地開放權重方案,並已開源。

正文

crazyhackerboy

Introduction & The Problem

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

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

📺 Video Demo

Here is a quick walkthrough of the terminal in action:

How I Built It (The Tech Stack)

CounterDeal uses a hybrid, neuro-symbolic architecture to split the workload between natural language and hard deterministic logic:

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

Why Open-Source & Local AI Matter Here

By keeping the entire stack local and open-weight, CounterDeal achieves what closed commercial APIs can't:

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

Run It Yourself & Let’s Connect!

If you want to test this locally, review the code, or run it on your own machine, everything is open-source:

GitHub Repository: https://github.com/smtherer/counter-deal
YouTube Demo: https://youtu.be/ECRpxFGKpdw

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!

hf26challenge, #ai, #opensource, #javascript

來源:DEV Community · dev.to