Codex CLI logo
Codex CLI template

AI Tutor: Adaptive Learning Agent

An AI tutor on Codex that teaches any topic at your level, then writes an interactive HTML lesson you keep. Worked example and quiz. Bring an OpenAI key.

NewNew18.2 KB snapshotStarter VM

What's inside

Harness

Codex CLI

Plan

Starter

vCPU

1

Memory

2 GiB

Snapshot

18.2 KB

How it works · ~3 minutes

  1. 01 · Fork

    New isolated microVM on your subdomain — creator agent state included.

  2. 02 · Your keys

    Log into Codex CLI with your own model credentials (BYOK).

  3. 03 · Ask it to work

    Open the terminal and give the agent a real job. You keep what ships.

Example first ask

Pull my open PRs, summarize risk, and draft a review checklist.

30-day money-back on your first purchase · no free trial · keys never leave the VM

About this template

The lesson doesn't scroll away

You get one good explanation from an AI, it disappears into scrollback, and next week you ask from zero.

This Codex agent teaches the topic — then hands you the file.

What this AI tutor does

Say teach me X or /learn X with a real topic.

It asks your level and your goal first, then adapts its depth to what you answered. It teaches worked-example-first instead of lecture-first: you watch the thing get done before you're handed the rule behind it. When the session ends it writes one self-contained interactive HTML file and prints the path right in your session.

Open it tomorrow on a train. Click through the quiz. Send it to someone.

What adaptive learning looks like here

The explanation, the worked example, and the clickable quiz all live inside that one file.

No account to log into. No hosted player. No link that rots when a vendor sunsets the product. It's HTML sitting on your VM, so you can read it, edit it, fork it, and email it to a friend who needs the same thing.

That file is the product. The chat is just how it got written.

What you get when you fork

  • The adaptive /learn tutor flow
  • The HTML lesson generator that writes the keepable file
  • The worked-example-first teaching pattern

What you must supply

Your own OpenAI credentials for Codex — OPENAI_API_KEY, set inside your VM.

That's the entire list. No LMS account, no course platform, no third-party seat to buy. The key lives only inside your VM and is never part of the template.

Your first session

  1. Fork it and open your Codex session.
  2. Set OPENAI_API_KEY.
  3. Say teach me plus the thing you actually need this week — not a test topic.
  4. Answer the two questions about your level and your goal. They change what you get back.
  5. Open the HTML file at the path it prints.

That's the whole loop. Run it again tomorrow for the next topic, and the files stack up.

Honest limits

This is a tutor, not a school.

There's no gradebook, no SSO, no roster. Each lesson is a standalone file, so organizing them is on you. It isn't a spaced-repetition flashcard app either, and it runs on Codex — if you want this behaviour on a different harness, this isn't that template.

Model tokens are yours. Your first jurniti purchase carries a 30-day money-back guarantee.

Inside this fork

Forking copies this template into a brand-new, fully isolated microVM on your own subdomain. Here's exactly what lands in it.

  • Codex CLI agent

    The upstream harness, pre-installed — same version the creator ran.

  • Starter VM

    1 vCPU · 2 GiB RAM · 10 GiB disk.

  • Creator's /persist data

    The captured persist volume is copied byte-for-byte into your fork.

  • BYOK — your keys, your VM

    Add your model API keys after forking; they live only inside your microVM.

What you'll configure after forking

Secrets are scrubbed from shared templates — these are the names you supply in your agent's terminal once it boots.

Environment variables

  • OPENAI_API_KEY

Your turn

Your own AI Tutor: Adaptive Learning Agent, live in about 3 minutes.

Forking copies this Codex CLIagent into a brand-new, fully isolated microVM on your own subdomain — the creator's /persist state and all. Add your own keys after it boots; they never leave the box. Don't love it? Your first jurniti purchase comes with 30 days to get every cent back.

New paid VM · BYOK · 30-day money-back on your first purchase · ~3 min to provision

Starter · fork

$25/ mo

Needs 1 of your own API key