CodeTrain / Docs

CodeTrain documentation

Everything published about how CodeTrain works, in one place. Pick the section that matches what you are doing.

When to use CodeTrain

Reach for CodeTrain when the goal is that a person ends up able to do the work, and reach for something else when the goal is that the work gets done.

Good fits:

Bad fits, and we would rather say so:

Which CodeTrain is which?

CodeTrain is one product with one account, and there are two ways in today: the website at codetrain.ai and the CodeTrain CLI on your own machine. CodeTrain Open Skill is a separate, free tool that needs no account.

Best forWho teachesWhere your code goesAccount needed
CodeTrain website (codetrain.ai)Learning in your browser, on any topic you name, on any public GitHub repository, or from curated courses. The homepage also runs a real lesson with no account.CodeTrain's tutor, which writes the lesson.Python and JavaScript run in your browser; languages a browser cannot run, such as bash, run on CodeTrain's servers. Code you submit, and files you attach, reach CodeTrain's servers and the model provider, and are stored in your lesson.A CodeTrain account, with a free plan and no card.
CodeTrain CLIWorking on the repository in your current folder, or on a practice project, from your own machine.CodeTrain's tutor, running on your machine and serving its interface on 127.0.0.1.Your repository stays on your machine: the CodeTrain CLI reads the checkout in place, and only the prompt snippets needed for one tutoring turn go to the model provider. CodeTrain never copies or stores the repository. Lessons stay in your project folder.Signs in to your CodeTrain account, and your plan's limits apply. With your own model key in its config file, model calls go straight to your provider.
CodeTrain Open SkillLearning inside the coding agent you already use, such as Claude Code or OpenCode.Your agent's own model, teaching with CodeTrain's method: you write every line, and it sets the steps, gives hints and reviews your work.The lesson page runs on 127.0.0.1. Your agent sends what it reads, your code included, to its own model provider, as it does for any task. Python runs in your browser.No account, and nothing goes to CodeTrain: no telemetry either. Free and open source, Apache 2.0.

Using the product

Building against CodeTrain

Trust and data

What is changing

Start free Developer API