Bhaskar Pandey
View résumé
Menu
Back to all projects

AI Bot Team for Real Estate

AlmoraBots

Three small robot workers at separate desks inside glass cubicles, each with its own toolbox, all linked to one central control tower with a stop barrier.
Three narrow bots work inside walls, and one control tower decides what they may do.

A team of narrow, rule-bound AI bots for real estate and small-business work, wrapped in a product that keeps the humans in charge.

What It Is

AlmoraBots is a team of autonomous bots, and it is still in development. Each bot does one narrow job. Mason scouts real estate deals. Parker researches buyer matches. Maya handles marketing. I built and deployed the Python MCP servers that give each of them their tools.

MCP stands for Model Context Protocol. It is an open standard that lets an AI assistant call tools in a program, a bit like giving a worker a labeled toolbox instead of the keys to the whole building. Each bot gets its own server and its own box of tools.

Around the bots sits a product control plane. A control plane is the part that manages and governs the machines doing the work. Mine turns narrowly scoped bot templates into business software that a client can onboard, run, review and manage through an ordinary product interface. The repository is private, so there is no public source link.

Why It Exists

An autonomous bot is only useful to a business if the business can trust it. A client should not have to see or administer the agent runtime, the workflow engine, provider credentials or native workflow identifiers. Those are the engine room. The client wants a dashboard, not a wrench.

So the product draws a hard line between the runtimes and the product. The clever parts can be swapped out. The parts that decide what is allowed, what gets recorded and what counts as approved stay in ordinary, predictable code.

The safety model is the real reason AlmoraBots exists. A bot that sounds confident but acts without checking is a liability. I wanted bots that stop and say "blocked" when they lack what they need.

How It Works, Part One: Who Does What

There are two kinds of workers in the design. One is the agent runtime. Hermes Agent is the platform that supplies evidence-aware reasoning, meaning it weighs the facts it has been given. It stays private and replaceable, which means a client never sees it and I can change it later. An earlier n8n bridge, a workflow engine that chained steps together, once connected the servers to the product. That bridge has been retired.

The other worker is deterministic product code. Deterministic means it gives the same output every time for the same input. This code owns identity, scoring, formulas, approvals, report rendering, idempotency, tenancy and audit. Idempotency means that running the same request twice has the same effect as running it once. Tenancy means each client's data stays separate. Audit means there is a record of what happened.

Browsers talk only to the product API. They never reach the runtime directly. That is the line in practice: a client touches the product, and the product talks to the bots.

Every bot ships as a portable, versioned, signed, certifiable package with an explicit authority envelope. Think of a sealed shipping crate. The signature shows who made it and that nobody opened it on the way. The authority envelope is a written list of what the bot may and may not do.

A sealed signed crate sitting between a glass product layer on the near side and a hidden machine room behind, with a one-way window.
Clients see only the product, and each bot arrives as a sealed, signed package.

How It Works, Part Two: One Tool Call

Here is what happens when a bot needs information. Each bot runs in its own isolated Hermes Agent profile. A profile is a separate workspace with its own settings, so Mason cannot reach into Maya's setup. The profile carries a tool allowlist, a short list of tools the bot may use for its current task, and nothing else is available.

The bot calls a tool on its MCP server. The server reads from an authenticated product read-tool API. A per-profile scoped key proves who is asking. A scoped key opens only the doors that profile needs. The tools return structured output, meaning the answer follows a fixed shape instead of loose prose.

Maya's maya_content_research tool is a good example. It returns only approved context for the brand bound to her current task. If Maya is working on one brand, she cannot see another brand's material.

Reads and writes are treated differently. Reading is allowed through the scoped path. Consequential writes go through product approval, which means they need approval inside the product before they take effect.

One more change is worth noting. The servers first reached the product through an n8n bridge. I migrated them to direct product API endpoints, and the n8n bridge was retired. The stack runs on a self-hosted production platform.

A single tool call passing through an allowlist gate and a keyed door, then a stop barrier before any write.
A bot's request passes an allowlist, a scoped key, and an approval checkpoint before anything changes.

What Keeps It Careful

The gates matter more than the bots. Critical evidence and authority gates cannot be disabled. If critical evidence is missing, stale, unauthorized or contradictory, the result is blocked. The system does not hand back a low-quality answer or a quiet reassurance.

Some actions are off the table completely. Seller outreach, negotiation, contracts, offer delivery and unapproved CRM stage changes are prohibited outright. A bot can research. It cannot talk a seller into anything.

Money inputs are handled with care. Dollar inputs start unset, and an admin has to activate each immutable formula version. Immutable means it cannot be edited after it is made, so you can always trace which formula produced a number.

A bot needs a language model to do its thinking. Running that model is called inference. A tenant is one client of the product, and each tenant can use its own subscription to a model provider. The bot runs in an isolated runtime cell, an isolated space kept apart from everything else. The product keeps an opaque connection reference, a label that points to the subscription without revealing it. The reference records what the connection can do, whether it is healthy and when it expires. The product never stores credentials or tokens. An API key, a secret code that proves who is calling, is an optional fallback. It is never used to switch billing without anyone choosing it.

What I Built It With

The MCP servers are written in Python. The control plane is a Docker-first monorepo. Docker packs a program and everything it needs into a container that runs the same anywhere, and a monorepo keeps all the project's code in one repository. The web app is built with Next.js, a framework for building websites, and TypeScript, a language that checks what kind of value each piece of data is. Data lives in PostgreSQL, a database, and Drizzle is the toolkit that talks to it. Better Auth handles sign-in. S3-compatible storage holds files, in the style of Amazon's S3 file storage service. The control plane also has a transactional-outbox dispatcher. An outbox is a table where a message waits until it is safely sent, so a crash does not lose it or send it twice.

The agents run on Hermes Agent. The whole stack runs on a self-hosted production platform.

Where It Stands Today

AlmoraBots is in development. Three Python MCP servers are deployed, for Mason, Parker and Maya. The wider bot team is not finished. A separate GoHighLevel CRM MCP integration is still under development.

The first bot template is a pre-pilot candidate in testing. I want to be exact about what that means. There is no customer, no certification and no pilot. I am not claiming any of them.

Glossary

MCP
Model Context Protocol, an open standard that lets an AI assistant call tools exposed by a program.
Hermes Agent
The agent platform that runs the bots and supplies their reasoning.
n8n
A workflow engine that chains automated steps together; an earlier bridge to the product used it and has been retired.
Docker-first monorepo
A single code repository for the whole project, set up so everything runs in Docker containers, which pack a program with what it needs.
Next.js
A framework for building websites and web apps.
TypeScript
A programming language that checks what kind of value each piece of data is.
PostgreSQL
A database that stores the product's data in tables.
Drizzle
A toolkit that lets code talk to PostgreSQL in a safe, organized way.
Better Auth
The sign-in and account system for the product.
S3-compatible storage
File storage that works like Amazon's S3 service.
tenant
One client of the product, kept separate from every other client.
inference
Running an AI model to get an answer.
opaque connection reference
A label that points to a model subscription without revealing the credentials behind it.
control plane
The managing layer that onboards, runs and governs the bots, kept apart from the bots themselves.
tool allowlist
A short list of the tools a bot may use for its task, with everything else blocked.
scoped key
A credential that opens only the data one bot profile needs.
authority envelope
A written list of what a bot is allowed and not allowed to do.
idempotency
Running the same request twice has the same effect as running it once.
transactional outbox
A table where an outgoing message waits until it is safely sent, so a crash cannot lose or duplicate it.

Key Facts

  • Three deployed Python MCP servers
  • Signed packages, scoped keys, tool allowlists
  • Bot team in development, no public source link

Back to all projects