Under the hood

Built to handle real commerce.

BROKA is being engineered around the practical needs of commerce at scale — AI systems, marketplace infrastructure, payments, trust mechanisms and real-time communication assembled into a coherent platform.

Platform architecture

How the pieces fit together.

A high-level view of the BROKA platform. Implementation details are not publicly shared — this shows the shape of the system, not its internals.

BROKAZENOAI companionCOMMERCEMarketplace layerTRUSTVerification & safetyBROKA APIFastAPI · Redis Streams · ARQ WorkersAIProvider fallbacksPAYMENTSM-Pesa · EscrowMESSAGINGReal-time · WebRTCTRUSTFraud · Disputes
System breakdown

Six technical domains.

Each domain of the BROKA platform is independently capable, but designed to work together.

AI layer

Zeno engine

Multiple AI provider integrations with automatic fallbacks, prompt engineering for commerce-specific tasks, and conversation state management.

  • Multi-provider AI fallbacks
  • Commerce-specific prompting
  • Conversation history management
  • Intent classification
Live
Commerce layer

Marketplace infrastructure

Real-time marketplace operations — listing management, search and discovery, seller stores, and the buyer-seller interaction layer.

  • Listing management
  • Seller stores
  • Search & discovery
  • Real-time negotiation
Live
Communication

Messaging & calls

Real-time messaging built on Redis Streams and ARQ workers, with WebRTC for audio and video calls between buyers and sellers.

  • Redis Streams messaging
  • WebRTC audio/video calls
  • Cloudflare TURN integration
  • Message history
Live
Payments

Transaction infrastructure

M-Pesa integration and local payment rails, with an escrow layer to protect both sides of a transaction.

  • M-Pesa integration
  • Escrow layer
  • Payment status tracking
  • Local payment rails
Building
Trust & safety

Fraud & dispute systems

Fraud detection, user verification, dispute resolution workflows and reputation systems that make transactions safer over time.

  • Fraud detection
  • Seller verification
  • Dispute resolution
  • Reputation scoring
Building
Infrastructure

Backend platform

FastAPI backend, PostgreSQL database, Redis for real-time operations, ARQ for async task processing, and cloud-native deployment.

  • FastAPI (Python)
  • PostgreSQL
  • Redis + ARQ workers
  • Cloud-native deployment
Live
A note on openness

We describe what we're building, not how it works internally.

This page describes the shape of the BROKA technical system using information derived from the actual product repository. We do not publish implementation details, API credentials, database schemas or proprietary logic.

If you are an engineer, researcher or potential partner interested in the technical direction of BROKA, get in touch through the contact page.

Get in touch →