Case Study 04
Portfolio build — a complete, working system built and measured by Altus Initiatives to demonstrate this capability. Performance metrics below are measured from the build; agency-impact figures are projected for a representative brokerage.
Knowledge-intensive businesses — real estate brokerages included — face a compounding information problem. As the agency grows, so does the volume of questions. As processes evolve, so does the complexity of the answers. And the cost of a wrong answer compounds too: misquoted commission structures, incorrect policy guidance, and missed escalations all have downstream consequences — for the client, for the agent, and for the brokerage's reputation.
Generic AI assistants fail here in a predictable way. They generate confident, fluent responses that aren't grounded in the business's actual data. They hallucinate policy details, invent fee structures, and produce answers that sound authoritative but are wrong. The result is worse than no AI at all — it's misinformation delivered with confidence.
The solution isn't a smarter model. It's a system that retrieves the right information before generating any response, reasons over real business data, knows when to act versus when to escalate, and keeps a human in the loop for high-stakes decisions.
A knowledge agent that answers questions accurately — grounded in the agency's actual documentation, policies, and client data — and routes consequential actions through human approval before executing them. The system operates across three layers:
The agency's knowledge base — process documentation, policy guides, commission structures, FAQ content — is ingested, structured, and stored for retrieval. The system is designed to surface the right information consistently, even on imprecise or poorly worded queries.
The agent is built as a structured graph with three nodes and conditional routing — giving it the ability to reason, retrieve, act, and pause for human approval:
Nodes
Tools available to the agent
The agent is served via a backend API with session management — maintaining full conversation context per user across multiple exchanges, supporting concurrent team members without state interference between sessions.
Grounded, not guessed
For a brokerage with deep process documentation and a team asking the same policy and procedure questions repeatedly, this system functions as an always-available knowledge resource — accurate, consistent, and free of the hallucination risk that makes generic AI tools a liability in client-facing contexts.
Inbound Query (API)
│
▼
Session Memory Lookup
│
▼
┌─────────────────────────────────────────────────────────┐
│ Agent Graph │
│ │
│ Reasoning Node │
│ │ │
│ ▼ Route after reasoning │
│ │ │
│ ┌────┴──────────────────┐ │
│ │ │ │
│ ▼ ▼ │
│ Execution Node Approval Node │
│ (tool execution) (human-in-the-loop gate) │
│ │ │ │
│ ▼ Route after tool ▼ Route after approval │
│ │ │ │
│ └──────────┬────────────┘ │
│ │ │
│ ▼ │
│ Reasoning Node (continued) │
│ │ │
│ ▼ │
│ Final Response │
└─────────────────────────────────────────────────────────┘
│
▼
Session Memory Update
│
▼
Response delivered
Tools: knowledge base search · client lookup · commission calculator · client communication drafting · escalation routing
Full architecture documentation available upon engagement.
| Component | Tool |
|---|---|
| Agent orchestration | LangGraph |
| LLM | OpenAI / Anthropic Claude (configurable) |
| Knowledge base | Structured document store (FAQ, policy, process documentation) |
| Vector store | Chroma |
| Retrieval strategy | Hybrid (vector + keyword) with reranking and query transformation |
| Backend framework | FastAPI (Python) |
| Session memory | Per-session store |
Dedicated calculation tool over AI inference. Commission and fee calculations are handled by a structured calculation engine, not the language model. Language models are unreliable on precise arithmetic and structured financial logic — the error rate is low enough to seem acceptable until it isn't. Separating financial calculations into a deterministic tool eliminates that category of risk entirely on the queries where accuracy matters most.
Human approval as a graph node, not a downstream filter. The approval gate is built into the agent's graph architecture as a first-class node, not added as an afterthought. This means the agent structurally cannot execute consequential actions — escalations, referral routing — without human confirmation. It cannot be configured around, and it does not depend on the agent correctly deciding to ask. For any system that takes actions with real-world consequences, this is the correct architecture.
Query transformation before retrieval. Retrieval quality is only as good as the query going in. Vague, incomplete, or imprecise queries are rewritten into cleaner search terms before they reach the knowledge base. This addresses one of the most common failure modes in knowledge retrieval — poor results on reasonable but imprecise inputs — without requiring the user to learn how to phrase questions correctly.
Hybrid retrieval over vector-only. Semantic similarity search misses exact matches — specific policy clause references, commission tier labels, procedure names. Combining vector search with keyword matching ensures both meaning-based and term-based relevance are captured on every retrieval pass. In a compliance-sensitive context like real estate, missing an exact policy reference is not an acceptable failure mode.
This system is built for deployment readiness. A full production rollout includes the following standard upgrades, delivered as part of the implementation engagement:
This is the same architecture we build for clients. The first step is a 30-minute discovery call — no pitch, no commitment.
Book a discovery call