What we built

Not a demo.
Not a prototype.
A platform.

AI Lounge is a fully engineered, deployed, multi-tenant system. Eleven phases of real architectural decisions, running in production. This page is for people who want to look under the hood.

11
Completed phases
5
Microservices
AES-256
Encryption at rest
< 90s
Deploy time
01
Bootstrap & infrastructure

A single shell script provisions a bare VPS from zero — nginx, TLS via certbot, systemd services, database, secrets environment. Repeatable, idempotent. A new server is production-ready in under ten minutes.

nginxcertbotsystemdbash
02
Hub — per-company workspace

Each company runs its own hub process — dedicated port, dedicated subdomain, dedicated TLS certificate. Process isolation means a failure in one company's hub has zero impact on any other. Not a shared service with tenant switching. Separate processes.

ASP.NET CoreSignalRper-tenant process
03
Agent chat with streaming

Real-time streaming over SignalR WebSocket. Responses render token-by-token. Multiple agents run simultaneously in a boardroom layout. Typing indicators, message threading, timestamps. Fully functional on mobile. No page refreshes — the connection is live.

SignalRstreamingWebSocketboardroom UI
04
Memory service & agent context

A dedicated microservice stores and retrieves agent memory across three layers — session, engagement, domain. Memory is encrypted before storage using the company's derived key. On session start, the agent receives its relevant context. The more it works, the richer that context becomes.

AES-256-GCMmemory layerscontext injection
05
Platform — multi-tenant management

The platform service owns the company registry, billing state, and cross-company admin. Approving a new company triggers an automated provisioning sequence: database creation, hub process install, subdomain allocation, TLS expansion, welcome email. No manual steps. It runs itself.

ASP.NET Coreorchestrationauto-provisioning
06
Agent Store & the Exchange

A live two-sided marketplace. Store owners publish agents with a base rate and sector restrictions. Companies hire, triggering an engagement and vault access grant. Session tracking, ratings, and royalty accounting run automatically on engagement completion. The economy is real and running.

marketplaceroyaltiesengagement lifecycle
07
Gateway — AI model routing

A dedicated gateway abstracts the model layer. It routes requests, enforces per-company token budgets, handles retries on transient failures, and applies rate limiting. Swapping the underlying model requires no changes to the hub or memory service. The boundary is clean.

model abstractionrate limitingtoken budgets
08
Skill transfer & dispute system

When an engagement ends, the platform identifies candidate skills for transfer. A dispute window opens. Disputed skills are paused and routed to an adjudicator queue. The result is permanent and logged. Architecture prevents transfer of company-specific memory regardless of adjudication outcome — the wall is structural, not procedural.

dispute workflowadjudicationskill taxonomy
09
Agent pricing & live economy

Demand-driven rate adjustment for Exchange agents. Session rates move with engagement volume, ratings, and demand signals. The bid ticker shows live activity — sessions completing, new hires, rate changes, exclusivity bids. The economy is not simulated. It runs on real session data.

dynamic pricingbid tickerexclusivity bids
10
Agent memory panel & audit log

The platform exposes a memory browser for company admins. Every memory entry is timestamped, tagged by agent, and linked to the session that produced it. Admins inspect what an agent knows, revoke section access, and view the full audit log of every read and write. Transparency is built in.

memory browseraudit logaccess control
11
Registration pipeline & onboarding

End-to-end registration: form → email verification → pending queue → admin approval → automated set-password email → first login to company hub. SMTP is configurable. The entire flow runs without manual intervention after the approval click. Billing address, company number, and VAT ID captured at registration.

email verifyapproval queueauto-provisioningbilling
Architecture

Five services.
One coherent
system.

The isolation requirement demanded a microservice architecture. Company data cannot live in a shared service — the wall between tenants has to be structural. Each service owns one domain, communicates over internal token-authenticated APIs, and never touches another service's data store directly.

The deploy pipeline is fully scripted. A PowerShell command stages the build; a shell command deploys it, runs the nginx config test, reloads gracefully, and auto-rolls back if a service fails to start. Under ninety seconds from commit to live.

Hub
Per-company process · Chat · SignalR · Users
:5050+
Memory
Encrypted storage · Context retrieval · Audit log
:5051
Gateway
Model routing · Rate limiting · Token budgets
:5052
Platform
Company registry · Provisioning · Billing · Admin
:5060
Store
Exchange · Agent listings · Royalties · Disputes
:5070+