The problem
Businesses that run on handoffs lose work between people. In UAE brokerages, leads slip between the first enquiry and the follow-up, managers cannot easily see who is responsible for what, and client contact details are among the most sensitive data they hold. Fulfilment firms have the same gap in another shape: stock, recipient lists and courier handovers tracked in spreadsheets, paper and chat, with billing rebuilt at month end.
Two industries, one platform
Icarus is one platform with industry packages. Each organisation is admitted to the packages it uses, navigation and permissions follow that admission, and someone who belongs to both switches between them explicitly. The core is shared, while each package keeps its own model of the work: a brokerage deal is not a campaign, and a campaign is not a freight shipment.
Shared by every package
- Sign-in, memberships and roles
- Tenant isolation in PostgreSQL
- Protected contacts with audited access
- Retry-safe commands, outbox and job queue
- Exact money and site calendars
- Evidence, audit and the Claude connector
For UAE real-estate brokerages
Real Estate
Every enquiry gets an accountable owner and a first-contact clock, client contacts stay protected, listings cannot go live until they are ready, and owners see where work is stuck.



How it works
- An enquiry arrives from Bayut, Property Finder, an inbox or a referral and keeps its source.
- It is assigned with a reason and a first-outreach SLA starts. Agents work from Focus, one queue of what is due.
- Agents call, email or message from the record. Numbers stay masked, and every reveal, copy or call is authorised and logged.
- Requirements are matched against inventory. A listing missing what it needs is blocked from publishing, with the reason on screen.
- Viewings, offers and deals keep their own history: an accepted offer creates the deal, and completion is recorded separately.
- Owners see urgent signals, an intervention queue ordered by SLA risk, and the cost per win of each lead source.
What it changes
Brokerages typically run on a real-estate or general CRM, with portal inboxes, spreadsheets and WhatsApp around it.
- Leads
- TodayPortal leads land in shared inboxes, and who called back, and when, is hard to see.
- With IcarusEach enquiry has an owner, a source and a first-contact clock managers can see.
- Contacts
- TodayClient numbers live in spreadsheets and personal phones, and leave with agents.
- With IcarusEncrypted, masked by default, and every use is authorised and audited.
- Oversight
- TodayOwners ask around or wait for a weekly report.
- With IcarusUrgent signals, an intervention queue and cost per win for each lead source.
- Switching
- TodayYears of records sit in the previous CRM.
- With IcarusA migration center imports its CSV or Excel export, with a test run, explicit acceptance and rollback.
Designed to replace the CRM. Portals and WhatsApp stay in use, with Icarus as the record behind them.
For campaign-fulfilment firms in the UAE and India
Logistics
Client materials, campaign kits, recipient lists, packing, dispatch and billing in one system, with exact rupee amounts and evidence at every handover.




How it works
- A client's campaign is booked under an agreement, with a versioned kit and a recipient list.
- Materials are received blind: staff count what arrived before they see what was expected, and differences go to review.
- Recipient lists go into a protected store. Staff see one recipient at a time, and every view is logged.
- Stock is reserved for complete kits, then packed and sealed through guided, step-by-step work on a paired device, with photo evidence.
- Manifests hand parcels to couriers or the firm's own runs. Deliveries, failed attempts and returns are recorded, and recipients get a tracking link.
- Work done is priced from versioned rate cards into a billing queue, approved, and handed to accounting, which acknowledges it. Each day ends with a daily close.
What it changes
Fulfilment work is often tracked in spreadsheets, paper delivery notes and chat, with billing rebuilt at month end.
- Stock
- TodayCounts kept in spreadsheets and corrected by hand when they drift.
- With IcarusOne ledger by owner, site and condition, where every movement is recorded and none is edited afterwards.
- Packing
- TodayLabels applied by hand and checked on paper.
- With IcarusGuided packing with issued codes and a photo for each sealed pack.
- Recipients
- TodayRecipient lists arrive as spreadsheets and travel as attachments.
- With IcarusA protected store that shows one recipient at a time and logs every view.
- Billing
- TodayMonth-end billing rebuilt in workbooks from notes and courier statements.
- With IcarusCharges derived from recorded work and versioned rate cards, approved, then handed to accounting.
Designed to replace the day-to-day operating tools within an agreed scope. Accounting, tax and banking stay in the systems that own them. Freight forwarding is designed as the package's second profile.
Captured on 28 November 2026 on synthetic demo companies: Leads and Inventory from a local run of the live release, the rest from the live product. No client data is shown.
Follow one request
Scroll the diagram sideways to see all of it.
A request arrives
From a person in the web app, or from an AI assistant connected through the MCP server, each with its own authenticated identity.
A thin adapter checks its shape
Routes, API handlers, Server Actions and MCP tools only validate input and call a command. No business rule lives here.
Domain policy decides
Pure TypeScript rules, with no database or network access, decide what is allowed and what happens next.
One transaction does the work
The command authorises the user, claims an idempotency key, checks the record version and writes state, events and an outbox entry together, inside a tenant transaction that PostgreSQL row-level security enforces.
The outbox delivers, with retries
A PGMQ job sends email, feed updates and webhooks after the transaction commits. Failures retry and stay visible; nothing is fire-and-forget.
Key decisions
- Industry packages behind one admission check. A package is an entitlement on the organisation, checked by the same authorisation as everything else, so a member without it gets a clear denial rather than an empty screen, and each package owns its own routes and navigation.
- Tenant isolation enforced by the database. Every business table carries the organisation ID with composite foreign keys and forced row-level security. The app connects as a non-owner role with settings scoped to each transaction, and tests prove isolation under that real role rather than an admin one.
- Contacts and recipients treated as protected data. Phone numbers and emails are encrypted, exact-match search uses keyed blind indexes, normal views show masked values, and every reveal, copy or call is authorised and logged in an append-only audit trail. Logistics recipient lists get the same care: one recipient at a time, with an access history.
- Commands that are safe to retry. Each command validates, authorises, claims an idempotency key, checks versions, and writes state, events and an outbox entry in one transaction. Repeating a request returns the same result; changing it produces a conflict instead of a silent overwrite.
- Exact money and local time. Money is a currency plus a whole number of minor units, stamped when it is written and never converted. Dirhams and US dollars serve Real Estate, rupees are admitted for Logistics only, and totals refuse to mix currencies. Each site keeps its own calendar, in Dubai or Kolkata.
- External delivery that never fires and forgets. Email, feeds and webhooks leave through the outbox and a PGMQ job queue, with retries and visible failures.
- An AI connector with consent built in. An OAuth-secured MCP server lets a user connect Claude to their workspace. Tools are scoped per user, results leave out contact details, and anything that would change data is submitted as a proposal that a person must approve.
How I built it
I directed AI coding agents, with Claude orchestrating and reviewing and Codex implementing, under a written engineering guide:
- Model and effort tiers per task. Mechanical work went to a fast model; security, tenancy, money and concurrency work went to the strongest model at the highest effort.
- Review of every change. Agents implemented; every diff, merge and security-sensitive change was reviewed before it landed.
- Quality gates that only tighten. CI runs type checks, linting, unit, integration and end-to-end tests, and limits on file size and complexity that can be lowered but never raised.
- Decisions written down. 76 architecture decision records explain why the system is built the way it is, so agents and people work from the same reasoning.
- A second industry under the same rules. Logistics was admitted through a written decision, planned against written research, and built in reviewed bundles, with every migration replayed on a fresh database.
What was built
- A multi-tenant web app and installable PWA, deployed on Vercel and Supabase through a staged release chain.
- Real Estate: intake and follow-up, CRM, inventory and listing readiness, transactions, operations and insights, with an owner's view of team performance and SLA risk.
- Logistics: clients and agreements, campaign bookings with kit versions and recipient lists, a stock ledger with blind receiving and cycle counts, guided packing, dispatch, delivery and returns, rate cards, a billing queue, a finance handoff and a daily close.
- 53 database migrations. The production audit checked 276 tenant tables under forced row-level security with 777 isolation probes and found no violations.
- 1,500+ test files, including end-to-end Playwright suites.
- 76 architecture decision records.
Outcome and lessons
Icarus did not reach paying customers, and I am moving on from it at the end of 2026. Both packages run in production on synthetic demo companies, and the engineering carries over directly to any team building AI on sensitive data.
- Sell before you build. A handful of early conversations with brokerages would have taught us more than months of features.
- Put isolation and privacy in the database. Rules enforced by PostgreSQL hold even when application code gets something wrong.
- Let a second industry test the core. Building Logistics on the same foundations showed which parts were truly shared, such as identity, contacts, commands and audit, and which belonged to a package.
- Treat AI agents as fast implementers that still need rules and review. The written guide, model tiers and mandatory review are what made the speed safe.
Stack
- TypeScript
- Next.js
- React
- PostgreSQL (Supabase)
- Drizzle
- Better Auth
- PGMQ
- Vercel
- Model Context Protocol
- Playwright
- Claude Code
- Codex