THE-⁠CODE.AI Labs

Where our AI is made.

THE-⁠CODE.AI Labs is the unit that designs and engineers Maestro, THE-⁠CODE API and Code Story, in Dubai.

Registered activity on Commercial Licence No. 768066: Innovation & Artificial Intelligence Research & Consultancies

Illustration: THE-⁠CODE.AI Labs, in Dubai, at the root of three products: Maestro, THE-⁠CODE API and Code Story.

Products

What we build.

Three products, designed and engineered in-house. Each one names its maker on its own site.

  • Maestro

    The AI-native adaptive learning system.

    Course creation and delivery in one platform — adaptive to every learner, governed by your experts.

    Visit maestro-ed.com (opens in a new tab)
    Governed steps in Studio
    11
    Evidence signals per check
    4
    “Developed by The-code.ai Labs”
    maestro-ed.com, site footer
  • THE-⁠CODE API

    Multiple AI providers. One API.

    One key and one integration for many AI providers — with keys, credits and usage in one place.

    Visit thecodeapi.com (opens in a new tab)
    Providers named in the docs
    6
    Read-only MCP tools
    11
    “A product by The-Code”
    thecodeapi.com, site footer
  • Code Story

    Researched, bilingual teaching videos.

    Teaching videos in English and natively written Arabic, from a topic or a course prompt — every fact sourced.

    Visit code-story.app (opens in a new tab)
    Pipeline steps
    8
    Critic measures
    7
    “The-Code.ai Labs”
    code-story.app, hero

Research

Research areas.

Six questions we keep working on. Most of them already shape the products you can visit today.

  • Adaptive learning and mastery evidence.

    Progress measured by what a learner shows, not by how long they spend.

  • Expert-⁠in-⁠the-⁠loop governance.

    Subject-matter experts stay the authority on every academic decision.

  • Multi-provider AI gateways and agent tooling.

    Many providers, one API — with docs that agents can read.

  • Bilingual Arabic and English generation.

    Two languages, each written from the same sourced facts.

  • Right-sized, sustainable AI.

    The model sized to the task, and systems built to last.

  • Micro-credentials and gamification.

    Recognition and motivation that rest on demonstrated mastery.

Engineering

Architecture notes.

Two of our systems, simplified. How Maestro (opens in a new tab) is designed to learn from every learner, and how THE-⁠CODE API (opens in a new tab) carries a request from key to settled cost.

Simplified architecture

Maestro

A loop that learns — with experts at the gate.

Maestro is designed as a loop: Studio engineers the course, Journey delivers it, Pulse reads the evidence and Compass improves the curriculum, then hands back to Studio. Every academic decision passes an expert gate.

Visit maestro-ed.com (opens in a new tab)
4 evidence signalsFormative evidenceExpert gatePostgres + pgvectorLearner model · Single source of truthSingle model or a councilEngineerStudioDeliverJourneyUnderstandPulseImproveCompassExpert gatePostgres + pgvectorLearner modelSingle model or a councilEngineerStudioDeliverJourneyUnderstandPulseImproveCompass
Expert gate
Subject-matter experts approve every academic decision before it reaches a learner.
Evidence signals
Response · Reasoning · Confidence · Process — read on every Evidence Check.
Learner model
Postgres with pgvector as the single source of truth, with immutable prompt versions and an audit log.
AI
A single model or a council, where a chairman model synthesises the answer.

Simplified architecture

THE-⁠CODE API

One request, from key to settled cost.

Every paid request follows the same six steps. Credits are held before the provider is called, then settled on what the request actually used.

Visit thecodeapi.com (opens in a new tab)
  1. API key

    A named key, with optional expiry, that you can suspend, resume or delete.

  2. Reserve credits

    An estimate is reserved first, within an optional per-request ceiling.

  3. Route to provider

    To the provider behind the model you chose — OpenAI, Anthropic, Google Gemini and more.

  4. Respond

    OpenAI-compatible chat, responses and embeddings, with streaming.

  5. Settle actual usage

    Exactly one charge, on what the request actually used.

  6. Usage and cost APIs

    Cost per request, and usage by day or by model.

Evidence

Labs, on the record.

The licence, the product sites and the public docs behind this page. Each one can be checked.

Registered activities
Artificial Intelligence Developing Services · Innovation & Artificial Intelligence Research & ConsultanciesCommercial Licence No. 768066, Department of Economy and Tourism (DET), Government of Dubai
Maestro
“Developed by The-code.ai Labs”maestro-ed.com — site footer (opens in a new tab)
THE-⁠CODE API
“A product by The-Code”thecodeapi.com — site footer (opens in a new tab)
Code Story
“The-⁠Code.ai Labs” · “a product of The-⁠Code.org”code-story.app — hero and footer (opens in a new tab)
Registered office
Office A-40, Port Saeed, DubaiP.O. Box 390862, United Arab Emirates

Labs

Bring us a hard problem.Research with us.

A question from your classroom, campus or product is where our best work starts. We'll explore it with you — and build what the evidence supports.