AI · Air
FocusPointer
Live business simulations for many organisations on one platform: timed team rounds with a facilitator, leaderboards and live chat, a 3D multiplayer world, and AI scenario re-skins previewed before they apply.
- Multi-tenant platform
- WebSockets
- Deterministic scoring engine
- RAG on pgvector
- 3D world
- GPU jobs
The engineering behind it
Lead Platform and Full-Stack Engineer
FocusPointer · 2025 – present
- Re-architected one-off simulations into a multi-tenant SaaS platform: row-level isolation in a single database, roles per tenant, a subdomain each, and self-serve sign-up that sets up the organisation, its admin and its billing automatically.
- Built a headless, API-first backend from the ground up with more than 50 custom server extensions (endpoints, event hooks and scheduled jobs), plus WebSockets, live leaderboards, chat and a 3D multiplayer environment.
- Got clients’ complex Excel business models calculating live on the server. Workbooks are imported with SheetJS, formulas intact, and run as multi-sheet models in HyperFormula, an Excel-compatible engine whose dependency graph scores every cohort the same way, with no AI in the grading. Each round applies the player’s or team’s inputs, stores the results and reuses one cached engine per model.
- Wrote the Python GPU services: serverless Modal apps on NVIDIA A10G GPUs for cloned-voice speech (Fish Speech) and presenter video (Duix avatar), served through FastAPI endpoints, with voices and model weights kept in Modal Volumes. Also served PyTorch voice models as FastAPI services: XTTS v2 (Coqui TTS and Hugging Face Transformers) and MeloTTS.
- Added retrieval-augmented generation (RAG) on pgvector, GPU services in Docker containers (Kokoro, Wan 2.1 and presenter video) and a self-hosted Ollama server running Mistral NeMo 12B.
Stack
- Python
- FastAPI
- Pydantic
- PyTorch
- Hugging Face Transformers
- Modal (A10G GPUs)
- Docker
- Ollama
- HyperFormula
- SheetJS
- Hono 4
- React 19
- TanStack Router and Query
- React Three Fiber
- Tailwind CSS 4
- PostgreSQL 17 (PostGIS
- pgvector)
- Redis
- Stripe
The problem
Organisations train their leaders and teams with live business simulations. FocusPointer runs those simulations for many organisations on one platform.
What I did
- A headless, API-first backend: more than 50 custom server extensions (endpoints, event hooks and scheduled jobs) carry the business logic. I re-platformed the whole backend onto this architecture.
- Multi-tenancy in one shared database, with row-level isolation through permission filters, roles per tenant and a subdomain per organisation.
- Real time: WebSocket subscriptions drive rounds, leaderboards and chat, and a separate WebSocket server runs the 3D multiplayer world.
- Retrieval-augmented generation: content embedded in pgvector and retrieved by cosine distance into prompts written for each role, gated by plan and logged.
- GPU offload: the presenter pipeline (script, speech, then talking-head video) runs serverless on Modal.
Decisions
- AI is kept out of scoring. The scenario workbook is evaluated on the server through its dependency graph, so every cohort is marked against the same rules.
- Login tokens live in cookies that scripts cannot read, and the login crosses subdomains with a single-use token.
The result
- In beta, with timed team rounds under facilitator control, scheduled sessions, leaderboards, analytics dashboards and live chat.
- A 3D multiplayer world, AI scenario re-skins previewed before they apply, and self-serve onboarding that creates the organisation, its subdomain and its admin, with payments.















