Platform Pages
All frontend routes served by the Bridge AI OS gateway at go.ai-os.co.za
Core
Intelligence
Economy
Automation
Infrastructure
Vertical Products
Auth & Onboarding
API Reference
All endpoints handled by the Bridge Gateway at :8080. Click a path to copy it.
Auth APIs
MethodPathAuthDescription
GETGET /auth/me🔒Returns current user profile from JWT
POST/auth/token-exchange🔓Exchanges Supabase access_token for Bridge JWT
POST/api/auth/root-token🔒Issues root token using ZERO_TRUST_SECRET header
POST/auth/register🔓Email/password registration — creates Supabase user + Bridge record
POST/auth/login🔓Email/password login — returns signed JWT
AEOS Core
MethodPathAuthDescription
GET/api/economy/me🔒Returns current user wallet balance in ZAR and BRDG
POST/api/treasury/auto-split🔒Applies AEOS 4-way revenue split to an incoming amount
GET/api/treasury/splits🔒Returns treasury split history and balances
GET/api/system/overview🔒Full system state — services, economy, missions, AIC summary
Mission Statement Engine
MethodPathAuthDescription
POST/api/mission/generate🔒Generates AI mission statement + rules + T&C for an entity
GET/api/mission🔒Lists all missions for the authenticated entity
GET/api/mission/:id🔒Returns a specific mission by ID
PUT/api/mission/:id🔒Updates mission status (active/expired) or edits rules
AIC — Autonomous Intelligence Core
MethodPathAuthDescription
POST/api/aic/classify🔒Phase 1: Classifies an input signal into entity type + intent
POST/api/aic/score🔒Phase 2: Opportunity score = (EDV × CP × SVM) / TTC
POST/api/aic/simulate🔒Phase 2: Monte Carlo simulation of opportunity outcomes
POST/api/aic/process🔒Phase 1: Main agent process — routes to appropriate swarm agent
POST/api/aic/process-v2🔒Phase 2: Enhanced process with scoring + reinvestment routing
POST/api/aic/close🔒Phase 3: Closes a deal via autonomous closer agent loop
GET/api/aic/state🔒Phase 2: Returns current AIC pipeline state and metrics
GET/api/aic/queue🔒Phase 2: Returns job queue depth per agent type
GET/api/aic/autonomy🔒Phase 3: Returns Autonomy Index (0–100) self-sufficiency score
GET/api/aic/intelligence🔒Phase 3: Intelligence report — anomalies, opportunities, recommendations
GET/api/aic/system🔒Phase 3: System manifest — full AIC configuration and capabilities
POST/api/aic/detect🔒Phase 3: Anomaly detection on time-series input data
Leads & CRM
MethodPathAuthDescription
GET/api/leads🔒Returns paginated leads list with AIC score
POST/api/leads🔒Creates a new lead record
POST/api/leads/:id/convert🔒Converts a lead to a deal and triggers closer agent
POST/api/leads/ai-generate🔒Uses AI to generate qualified leads based on ICP criteria
Apps, Brands & Platform
MethodPathAuthDescription
GET/api/apps🔒Lists registered apps for the authenticated user
POST/api/apps🔒Registers a new app with API key generation
DELETE/api/apps🔒Deletes an app and revokes its API key
GET/api/brands🔒Lists brand profiles linked to user account
POST/api/brands🔒Creates a new brand profile with domain and assets
DELETE/api/brands🔒Removes a brand profile
GET/api/affiliates/me🔒Returns affiliate stats, referral code, and earnings
GET/api/automations🔒Lists configured automation workflows
GET/api/banking/summary🔒Banking integration summary — connected accounts and balances
POST/api/usage/event🔒Records a platform usage event for billing and analytics
Brain & AI Services
MethodPathAuthDescription
GET/api/brain/status🔒Returns super-brain :8000 health, version, and swarm agent count
GET/api/skills🔒Lists available AI skills registered with the execution server
GET/api/marketplace/tasks🔒Returns available tasks in the AI marketplace
GET/api/bossbots🔒Lists deployed BossBot instances and their status
POST/ask🔒Freeform AI query endpoint — routes to brain RAG + swarm
GET/health🔓Gateway health check — returns {"status":"OK"} with uptime
Services
PM2-managed microservices running at /var/www/bridgeai/ on the VPS
bridge-gateway :8080
Online
Primary HTTP gateway — nginx proxy target. Routes all inbound traffic to internal services, serves static files, handles JWT auth middleware, mission check, rate limiting.
unified-server :3000
Online
Unified API server — handles /api/economy, /api/apps, /api/brands, /api/leads, /api/automations, and full passthrough list. Node.js + Express.
super-brain :8000
Online
Python FastAPI AI brain — handles agent swarm, RAG, trading engine, AIC Phase 1–3, anomaly detection, autonomy index, intelligence reporting. WebSocket live events at /ws/<channel>.
auth-service :5001
Online
Authentication microservice — JWT signing/verification, Supabase OAuth integration, PKCE token exchange, user registration and login, superadmin detection.
ban-engine :8001
Online
Business Automation Node engine — vertical product intelligence for BAN, hospital, EHSA, Aurora, UBI, AID verticals. Python FastAPI.
god-mode-system :3000
Standby
Superadmin control layer — full system override capabilities, user impersonation, emergency controls. Restricted to superadmin role only.
svg-engine dynamic
Online
SVG generation and teaching engine at E:\BridgeAI\svg-engine — programmatic diagram generation, skill visualizations, teaching content rendering.
terminal-proxy :5002
Online
WebSocket PTY proxy — forwards browser terminal sessions via ws://:5002/terminal to the VPS shell. node-pty powered.
admin-api varies
Standby
Admin REST API — exposes system management endpoints, user management, service control, settings overrides for the admin dashboard.
Subdomains
All domains and subdomains in the Bridge AI OS network
go.ai-os.co.za Main platform gateway — all users start here
Live
bridge-ai-os.com Primary marketing domain — redirects to platform
Live
ai-os.co.za Apex domain — South Africa primary TLD
Live
ban.ai-os.co.za Business Automation Node vertical product
Live
ehsa.ai-os.co.za Environmental Health Systems Analytics platform
Live
aurora.ai-os.co.za Aurora energy intelligence — renewable grid management
Live
ubi.ai-os.co.za Universal Basic Income distribution platform
Live
aid.ai-os.co.za AI-powered humanitarian aid coordination portal
Live
hospitalinabox.ai-os.co.za Hospital management + AI diagnostic system
Live
rootedearth.ai-os.co.za Regenerative agriculture intelligence platform
Live
supac.ai-os.co.za Supa-Claw edge workers and serverless functions
Live
abaas.ai-os.co.za AI Business as a Service — complete business deployment
Live
WebSockets & Streams
Real-time communication channels for live data, terminal, and event streaming
WS ws://[host]:8000/ws/<channel> Brain live events — subscribe to agent decisions, AIC state changes, autonomy updates, and swarm activity by channel name
WS ws://[host]:5002/terminal PTY terminal proxy — bidirectional shell session streamed to browser terminal at /terminal via node-pty
SSE /events/stream Gateway SSE endpoint — server-sent events for real-time dashboard updates, system alerts, and service status changes
SSE /api/events API-level event stream — platform-specific events including lead captures, mission completions, treasury splits, and AIC signals
Revenue & Economy
AEOS — Autonomous Economic Operating System — governs all revenue flows on the platform
AEOS 4-Way Revenue Split
User (creator)
80%
80%
Ops bank
10%
10%
Platform fee (Ryan)
5%
5%
Token burn (BRDG)
5%
5%
Plan Tiers
FREE
User cut80%
Platform fee5%
Ops bank10%
Burn5%
Priority routing
AIC Phase1
PRO
User cut80%
Platform fee5%
Ops bank10%
Burn5%
Priority routing
AIC Phase1+2
ENTERPRISE
User cut80%
Platform fee5%
Ops bank10%
Burn5%
Priority routing
AIC Phase1+2+3
Payment Rails
🇰🇦 PayFast
ZAR · South Africa
🇳🇬 Paystack
NGN/ZAR · Africa
💲 Stripe
USD/EUR · Global
🔗 Crypto
BRDG · Linea zkEVM
💵 PayPal
USD · Global
Dual Currency
ZAR (Fiat) Rand
South African Rand for fiat payment rails — PayFast, Paystack, bank transfers. Stored in Supabase wallet table. Used for all local transactions.
BRDG (Token) On-chain
Bridge Token on Linea zkEVM — ERC-20 utility token. 5% of every transaction is burned. Used for marketplace, staking, and governance voting.