🔄 Synced from the AI-Factory monorepo (append-only history). Pull requests are welcome — merged PRs are imported back and re-synced here. Issues · Pull requests
Cosmic portal · Try-it + Colab · open edu.modelmarket.dev →
Per-lesson reel scenes · click any clip · full gallery ↓
Live: edu.modelmarket.dev · Mirror: modeldev…/school/ · Academies: aimarket-courses · Locales:
/ru/·/es/·/fr/·/zh/· Next for operators: HESTIA workshop (runbook, not a 14th clip)
Clip-length lessons that on-ramp into the 13 academies. One result per lesson — hit Run in the browser or open Colab, then go deep. After 04 · pay or 12 · knock, the live site points at the 90-minute host workshop.
Lessons 01 and 04 show how to connect an agent with claude mcp add --transport http aimarket https://modelmarket.dev/mcp. Read the current Hub free-trial policy before invoking. A funded Hub key from modelmarket.dev/start can pay for eligible calls. The optional paid notebook cell asks for confirmation before sending a call.
Lesson 03 links archived MCP tool changes in HISTOR. Lesson 04 also shows how to inspect an external x402 quote without paying. Lesson 09 uses the Mesh API for tasks and activity. Lesson 12 reads approved peers and pending previews separately.
| # | Clip | Live | Academy |
|---|---|---|---|
| 01 | 3 Agents. Zero Dashboard. | Try-it · Colab | Orchestration |
| 02 | Random You Can't Rig | Try-it · Colab | Verifiable Randomness |
| 03 | Catch Tool Poisoning | Try-it · Colab | MCP Security |
| 04 | AI Pays AI — Under a Cent | Try-it · Colab | Agent Economy |
| 05 | Trust Without Magic | Try-it · Colab | Mathematics of Trust |
| 06 | Optimization With Receipts | Try-it · Colab | Optimization with Proofs |
| 07 | Agent Lottery on Base | Try-it · Colab | Smart Contracts |
| 08 | Idea → Product. One Pipeline. | Try-it · Colab | AI Factory |
| 09 | See the Mesh in 3D | Try-it · Colab | 3D Data Viz |
| 10 | Physics Beats the Black Box | Try-it · Colab | Physics-Inspired Computing |
| 11 | Pins on the Live Map | Try-it · Colab | GAIA · ATLAS · Sensors |
| 12 | Hubs That Knock | Try-it · Colab | Federation & Peer Hubs |
| 13 | Dual-Orbit Seal | Try-it · Colab | PQC · Hybrid Signing |
Notebooks live on alexar76/aimarket-school/notebooks.
Same visuals as edu.modelmarket.dev — each lesson has its own reel scene (not one shared mesh). Portal hero is above; here are the clip stills:
![]() 01 · Agents |
![]() 02 · Platon VRF |
![]() 03 · WARDEN |
![]() 04 · HTTP 402 |
![]() 05 · Trust graph |
![]() 06 · Proofs |
![]() 07 · Lottery |
![]() 08 · Factory |
![]() 09 · Mesh |
![]() 10 · Physics |
![]() 11 · GAIA/ATLAS |
![]() 12 · Federation |
![]() 13 · PQC |
Regenerate gallery:
docs/GALLERY.md—python3 school/scripts/capture_readme_gallery.py
Copy lives in lessons.yaml + i18n.yaml (EN/RU/ES/FR/ZH). Builder: build.py.
# Nested under modeldev (/school/)
python3 school/build.py
# Dedicated edu portal (site root)
SEO_BASE_URL=https://edu.modelmarket.dev SCHOOL_MOUNT= SCHOOL_OUT=edu-landing \
LEARN_BASE=https://modeldev.modelmarket.dev python3 school/build.py
# Deploy edu.modelmarket.dev
./scripts/deploy_edu_school.sh --remote factory-vpsBoth builds emit the same pages; only the portal is indexable. Every page
canonicalizes to SCHOOL_CANONICAL_BASE (default https://edu.modelmarket.dev),
and robots.txt + sitemap.xml are written only by the build whose base is
that canonical host — so the /school/ mirror never competes with the portal.
og:image / twitter:image are served from each site's own og/ directory
(copied from docs/screenshots/ + docs/recordings/).
| Env | Default | Purpose |
|---|---|---|
SEO_BASE_URL |
https://modeldev.modelmarket.dev |
Absolute URLs of this build |
SCHOOL_MOUNT |
school |
URL segment ("" = site root) |
SCHOOL_OUT |
ecosystem-landing |
Output directory |
SCHOOL_CANONICAL_BASE |
https://edu.modelmarket.dev |
Canonical/hreflang host |
SCHOOL_CANONICAL_MOUNT |
"" |
Canonical mount segment |
SCHOOL_HUB_PROXY |
/hub |
Same-origin hub bridge ("" disables) |
SCHOOL_HUB_URL |
https://modelmarket.dev |
Public hub fallback |
LEARN_BASE |
https://modeldev.modelmarket.dev |
Academy / guides links |
pip install pytest pyyaml
pytest tests -q # satellite layout
pytest school/tests -q # monorepo layoutThey check what used to rot silently: 13 lessons × 5 languages complete, committed
notebooks identical to a fresh build, the portal↔mirror canonical split,
og:image assets, robots/sitemap ownership, and that every demo endpoint still
matches the nginx bridge. CI: .github/workflows/ci.yml.
The Hub uses a fail-closed CORS allowlist. Each School host proxies five allow-listed endpoints from its own origin: four read-only endpoints (search, manifest, well-known and federation peers), plus the unpaid POST /ai-market/v2/invoke for lesson 04. The browser uses the same-origin /hub/… bridge. Open Colab for direct API calls if the bridge is unavailable. The bridge and its limits are defined in school-hub-bridge.conf.
# School satellite → alexar76/aimarket-school (Colab notebooks live ONLY here)
./scripts/mirror_satellites.sh --satellite aimarket-school
# Monorepo → Gitea
./scripts/push_gitea_monorepo.sh
# Live edu portal (+ /hub bridge — required for Try-it demos)
./scripts/deploy_edu_school.sh --remote factory-vpsColab URLs always point at alexar76/aimarket-school (school/ is excluded from the factory aicom mirror — do not use an aicom Colab path).
GitHub: alexar76/aimarket-school · Monorepo path: school/