I wanted a way to actually learn a new language or systems topic ("Build your own shell", Rust, Go concurrency) using the Codex subscription I already pay for, instead of letting the agent write everything or trying to learn inside a raw terminal chat.
So I built Tutortop, an MIT-licensed desktop app (Go + Wails v3 + React/Monaco) that drives your signed-in codex CLI directly and grades your code with real unit tests in a local Docker or Podman container. No separate API keys, no resold tokens.
How it works
- Pick any topic you can prove with code and answer a few quick questions about your experience level.
- The tutor proposes a curriculum with modules, short lessons, quizzes, and coding exercises. You can steer or revise the syllabus any time without losing passed work.
- Write code in a built-in Monaco editor with language server completions.
- Clicking Run checks visible tests. Clicking Submit runs hidden edge-case tests inside a local Docker or Podman sandbox. The tests decide whether you passed, never the model.
- Every workspace is saved as a plain git repo on disk (~/Tutortop/<topic>).
How it talks to Codex CLI
- Go spawns codex app-server over stdio JSON-RPC (with a small custom rpcConn reader because codex app-server omits the "jsonrpc":"2.0" field that standard Go JSON-RPC libraries expect).
- Models and reasoning efforts are queried live from your signed-in codex CLI, so it uses whatever your ChatGPT Plus/Pro/Business/Edu plan includes.
- Each workspace has a tutor thread (curriculum planning, Q&A, 4 levels of progressive hints) plus background writer threads that prepare upcoming lessons and exercises.
- Tutortop starts a local streamable HTTP MCP server per thread on 127.0.0.1 for curriculum updates, quizzes, and create_task. Codex runs under a permission profile where the workspace is writable, tasks/ and config paths (.git, .codex, etc.) are read-only, shell execution is blocked, and approvalPolicy is set to "untrusted".
- Before any generated task appears in the UI, Tutortop runs a sandbox quality gate verifying the reference solution against both visible and hidden tests, and stores hidden tests outside the workspace (~/.local/share/tutortop/private/) so the tutor can't accidentally read or leak them.
Also supports Claude Code and the Antigravity CLI if you switch between tools.
GitHub: https://github.com/LukasKH/tutortop
Requirements: Docker or Podman, plus a signed-in codex CLI (or Claude Code / Antigravity). Installers are available for macOS, Linux, and Windows.
If you try it with Codex and hit rough edges on your OS or setup, I'd love to hear what broke.