import { Pipeline } from '@gargantua/core';
import { SchemaRegistry } from './registry';

const pipeline = new Pipeline({
  source: 'enterprise-lake',
  transforms: [
    normalize({ encoding: 'utf-8' }),
    deduplicate({ key: 'entity_id' }),
    enrich({ provider: 'knowledge-graph' }),
  ],
});

async function ingest(stream) {
  const schema = await SchemaRegistry
    .resolve(stream.metadata);
  return pipeline.run(stream, { schema });
}

from transformers import AutoModel
from gargantua.cognitive import Agent

class CognitiveEngine:
    def __init__(self, config):
        self.model = AutoModel.from_pretrained(
            config.base_model,
            quantization='int8',
        )
        self.agent = Agent(
            reasoning='chain-of-thought',
            tools=config.tool_registry,
        )

    async def inference(self, prompt):
        context = await self.agent.plan(prompt)
        embeddings = self.model.encode(context)
        return self.agent.execute(
            embeddings,
            temperature=0.7,
            max_tokens=4096,
        )

model = Sequential([
  layers.Dense(512, activation='relu'),
  layers.Dropout(0.3),
  layers.Dense(256, activation='relu'),
  layers.Dense(num_classes, activation='softmax'),
])

model.compile(
  optimizer=Adam(lr=3e-4),
  loss='categorical_crossentropy',
  metrics=['accuracy', 'f1_score'],
)
AI Mastery Program · Full Trimester Track

AI Mastery
Program

One trimester. Eleven weeks. A real AI product shipped to a real audience.

AI Mastery Program — the after-school flagship where students identify a real problem, build a working AI product, and pitch it at a public Demo Day.

11 Weeks · 1 Trimester
44 Hours · 2× / Week
Ages 13–16
No prereqs

Developed in Partnership With

Gargantua Education Quest X XPRIZE

Backed by STEMNovation, the original program from Valley Christian Schools that Danny and Hannah Kim started.

Program Overview

The AI Mastery Program is our flagship after-school track. It runs one trimester, meets twice a week, and culminates in a high-profile public Demo Day. Every team presents their live AI product to a public audience and a panel of guest industry AI and business experts for rigorous, professional feedback.

Students don't learn a tool — they learn how to direct any tool. Problem discovery, prompt engineering as a discipline, AI-assisted development, user testing, business cases, and pitching. The arc is stable; the specific tools, models, and case studies are rewritten every trimester by our R&D team so students are never learning yesterday's skills.

Discover

Weeks 1–4

Build

Weeks 5–8

Ship

Weeks 9–11

Built for an
Industry That
Moves

A curriculum that locks itself to today's tools will be teaching yesterday's skills by the time a student reaches college. The AI Mastery Program is designed around that reality.

The Stable Framework

The spine of the program. Skills, habits, and mental models that stay valuable regardless of which tools win.

  • • Problem discovery & user research
  • • Prompt engineering as a discipline
  • • Reading & evaluating AI output
  • • Directing AI-assisted development
  • • Business model fundamentals
  • • User testing & iteration
  • • Pitching & communication

The Evolving Layer

Rewritten every trimester by our R&D team based on what's shipping in industry.

  • • AI assistants (Claude, Gemini, ChatGPT, or next)
  • • Coding tools (Claude Code, Codex, or next)
  • • Prompt patterns, versioned & updated
  • • Workflow platforms (n8n today)
  • • Design tools (Figma today)
  • • Fresh industry case studies
  • • Rotating guest experts

What Students Walk Away With

Three outcome value propositions, baked into every phase of the program.

The 10× Problem Solver

A student who can identify a problem, mobilize AI to build a solution, and ship something that works will outperform peers by an order of magnitude in whatever they choose next.

Entrepreneurship Fuel

Students ship a real product, test it with real users, build a real business case, and pitch to a real audience. They experience the full arc of taking an idea to a shipped product.

Admissions Differentiation

A shipped product, a demo video, a GitHub repository, a landing page, and a story about what they built, why, and how. The kind of material that anchors a strong application essay.

The Ultimate Pathway

Feeder Program to the XPRIZE Team

This program is the exclusive proving ground for our elite 6-Month AI Incubator. We are aggressively scouting the next generation of visionary tech founders. Only the absolute top-performing AI masters from this program will receive an invitation to join our long-term competitive teams, gaining access to partner resources and the chance to compete on the global XPRIZE stage.

Cadence

Base Program · 2× per week

Two 2-hour sessions per week, after school
11 weeks aligned to a single school trimester
44 total instructional hours
Culminates in a public Demo Day
Teams of 4–5 · Cohorts of 16–25 (4–5 teams)
No technical prerequisites — portfolio- and mindset-based admissions

Expansion Program · 3× per week

Same 11-week arc, 66 total hours. Adds a second user testing cycle with external users, richer product scope, and more pitch rehearsals. Recommended for schools with existing strong CS or entrepreneurship programs, or cohorts aiming at XPRIZE pathway opportunities.

A Typical 2-Hour Session

0:00–0:10
Standup
What did you work on since last session? What's blocking you?
0:10–0:40
Lesson / Facilitated Activity
New concept, framework, or technique. One idea, well-taught.
0:40–1:30
Build Block
Teams work on their product. Facilitator circulates — unblocks on request.
1:30–1:50
Share-out
One team demos progress. Peer feedback: I-like / I-wish / what-if.
1:50–2:00
Close
Commitments for next session. Quick retro.

The 11-Week Arc

Three phases. One team. One shipped product.

Phase 1 · Discover

Weeks 1–4: Direct AI with confidence, find a problem worth solving

Foundational AI literacy. Personal prompt engineering discipline. Real user interviews. Team problem lock-in.

WEEK 1

Orientation & AI Foundations

Team formation, Prompt Battle, Bad Prompt Museum.

Ships: Prompt journal

WEEK 2

Prompt Engineering

CRISP framework, iterative prompting, structured outputs.

Ships: Personal Prompt Playbook

WEEK 3

Problem Discovery

Problem-first thinking, Mom Test, interview script.

Ships: 10 observed problems

WEEK 4

User Research & Lock-In

Live interviews, insight synthesis, team commitment.

Ships: Team Problem Brief

Phase 2 · Build

Weeks 5–8: Build real software with AI

Business model. Wireframes. AI-assisted coding. System prompts and guardrails. Workflow automation. By the end, every team has a working prototype.

WEEK 5

Business & Design

Business Model Canvas, competitors, user flows, Figma wireframes.

Ships: BMC v1 + wireframes

WEEK 6

AI-Assisted Development

The describe/generate/read/test/debug loop. Git & GitHub.

Ships: First feature + team repo

WEEK 7

AI for Production

System prompts, output structuring, stress testing, guardrails.

Ships: Prompt Documentation Sheet

WEEK 8

End-to-End MVP

n8n workflow automation, front-end ↔ AI ↔ output.

Ships: Working MVP

Phase 3 · Ship

Weeks 9–11: Test, polish, pitch

User testing with real humans. MoSCoW triage. Landing page and demo video. Public Demo Day pitch with expert feedback panel.

WEEK 9

User Testing & Triage

Cross-team testing protocol, observe silently, MoSCoW prioritization.

Ships: User Testing Report

WEEK 10

Polish & Story

Bug bash, landing page sprint, 90-sec demo video, pitch deck v1.

Ships: Landing page + demo video

WEEK 11

Demo Day 🚀

Dress rehearsals, portfolio assembly, public showcase with expert panel.

Ships: Demo Day + portfolio

Demo Day

The capstone. Every student has prepared for it since Week 1. A public, school-wide event where each team presents a 7-minute pitch — hook, problem, solution, live demo, business case, team — to faculty, families, and an invited panel of industry experts.

7-minute pitch with live demo
Expert panel Q&A on stage
Written feedback summary within 1 week
XPRIZE pathway invites for top teams

Assessment

No Written Exams

Assessment is continuous, project-based, and performance-oriented. Students are evaluated on what they ship, not what they memorize. A formal feedback report is issued at the end of the trimester — designed to be useful in future applications.

Daily standups Every session
Prompt Engineering Playbook End of Week 2
Problem Brief End of Week 4
Business Model Canvas + wireframes End of Week 5
Working MVP End of Week 8
User Testing Report End of Week 9
Demo Day Presentation Week 11
Individual Portfolio Week 11
R&D Commitment

A school adopting this is not adopting a fixed curriculum.

They are adopting an ongoing relationship with an R&D team that keeps the program current. The core team operates at the frontier of the AI industry — at Google, Coupang, DeepMind, XPRIZE — and rewrites modules within the trimester when a new model family changes what's possible.

End of every trimester
Tool selections, prompt library, case studies, guest topics.
Annually
Full module content review, sample projects, rubrics, instructor training.
As-needed
Targeted rewrites mid-trimester when a major industry event demands it.

What Comes
Next

The AI Mastery Program is the foundation course. Students who complete it and want to continue can progress into advanced follow-on courses in the Singularity AI Labs sequence — more ambitious products, deeper technical work, external user testing, and pathways into XPRIZE global youth competitions.

Schools can adopt this program on its own, or as the entry point into the full sequence as it rolls out. There is no commitment required beyond this initial track.

Ready to bring the AI Mastery Program to your school?

Get in Touch