LotsDirectoryLotsDirectory

CodeTrain

CodeTrain is a Socratic AI coding tutor: it asks questions, reviews what you write, and runs your tests, but never writes the code for you.

Listed from the product's public website (codetrain.ai)

Is this your product? Claim it to edit the listing, post updates and answer questions. Prove it with an email address at the product's domain (the listing becomes Claimed), or put the LotsDirectory badge on your website (the listing becomes Verified, and its link to your website is followed while the badge is live).

Description

CodeTrain is a Socratic AI coding tutor: it asks questions, reviews what you write, and runs your tests, but never writes the code for you. Free to start.

About CodeTrain

What is CodeTrain?

CodeTrain is a Socratic AI coding tutor that teaches on a real codebase and never writes the learner code. Free is $0 for 10 lessons a month, and Pro is $24/mo.

What CodeTrain does

CodeTrain breaks a real task into small steps, asks questions, reviews each line, and runs the tests. Every step must pass before the lesson advances. Stuck learners get a smaller step or the next hint, and the tutor must never write or paste the solution. A code guard removes a snippet that could be pasted and passed. Those tutor replies are pre-recorded, while the real tutor reads what was actually written, and it is free for ten lessons a month. Paste any public repository URL on the free tier and the lesson is built from the code in it. On Pro, repo mode runs against the checkout on 127.0.0.1, and edits land in the real branch. Only the prompt snippets for a tutoring turn go to the model provider. Secrets and gitignored files are never read. Curated courses cover Python, JavaScript, bash, and the maths behind LLMs in pure NumPy.

Who CodeTrain is for

CodeTrain is a Socratic AI coding tutor for engineering teams and for a developer learning an unfamiliar codebase. The docs name a team lead who needs a record of unaided work, for onboarding or a promotion case, and somebody who wants to learn a concept by writing it. Bad fits on the docs are wanting the code written, a video course, a quiz, or a certificate, and a grade of somebody without their knowledge. The page says CodeTrain takes a few design-partner teams at a time. CodeTrain is in beta.

How CodeTrain works

Point CodeTrain at a task, a topic, or a repository. It explains the part needed before the attempt, then asks for the code. If a step does not pass, it does not advance. The end record shows which steps were written unaided. Concepts that were stuck come back at widening intervals, and one click turns a due concept into a fresh drill. In the managed browser tutor, code submitted for review and files attached as context reach CodeTrain servers and the model provider. The open-source skill runs its lesson page on 127.0.0.1 and sends nothing to CodeTrain or InferHaven, with no account and no telemetry. With bring your own key, model calls go from the machine to the provider, and nothing but a licence check touches the servers. The free tier takes any public repo URL, fetched from GitHub.

Key features

  • The learner writes every line. The tutor asks, reviews, and runs tests, and it never pastes the solution.
  • A code guard removes a snippet that could be pasted and passed. A failed check keeps the lesson on that step.
  • Free lessons come from any public repo, 10 a month, with a local profile and streaks.
  • Pro repo mode runs on 127.0.0.1, and edits land in the real branch. Secrets and gitignored files are never read.
  • The open-source skill is Apache 2.0 and was tested in Claude Code, OpenCode, and Antigravity CLI.
  • Curated courses cover Python, JavaScript, bash, and the maths behind LLMs in pure NumPy. Repo mode uses a sandbox.
  • Team adds onboarding journeys, a progress dashboard, per-learner budgets, central billing, and a reassignable place.
  • The team record shows unaided work. The docs say the product reports no data rather than zero when nothing assessable happened.

Pricing

As listed on codetrain.ai, checked 13 October 2026. Prices can change; see the site for current terms.

  • Free is $0: lessons from any public repo, 10 lessons a month, a local profile and streaks, and the open-source skill forever. No card to start.
  • Pro is $24/mo: real repos in repo mode, fair-use lessons, cross-device profile sync, experimental models from other labs, and an optional bring-your-own key.
  • Team is $32 / learner/mo: everything in Pro for every learner, a reassignable place billed pro rata, onboarding journeys, a team dashboard, per-learner budgets, and central billing.
  • Enterprise is custom: SSO and audit logs, self-host so code stays in the environment, and onboarding-ROI pricing. SOC 2 is not certified yet.
  • Every account gets a referral link, free tier included. Five people on Pro through that link covers the account. The page calls this the Conductor Network.

Facts from codetrain.ai, checked 13 October 2026

  • CodeTrain is in beta. Ethan Ludwig, founder of InferHaven, builds it in Michigan, United States.
  • InferHaven also makes Bulkhead, a self-hostable private AI coding server with public source on GitHub.
  • The page says SOC 2 is not certified yet.
  • Stack frame locals are switched off at the client, and the page says prompts and code are not sent to the error tracker.

Written from CodeTrain's own website (Homepage, About, Docs). The maker can claim this listing to edit it.

Categories

Frequently asked questions

Does CodeTrain write code for the learner?

No. The tutor instructions say the learner writes every line and that it must never write or paste the solution, not even a single line. Stuck learners get a smaller step or the next hint. A code guard sits on that rule and removes a snippet that could be pasted and passed.

Can CodeTrain run on a private repo?

The free downloadable agent runs on the machine and reads the local checkout. The page says it does not copy or store the repository. Only the prompt snippets for a tutoring turn go to the model provider. On Pro, repo mode runs against the checkout on 127.0.0.1 and edits land in the real branch. The free tier takes any public repo URL, fetched from GitHub. Secrets and gitignored files are refused before they are read.

What languages does CodeTrain support?

Curated courses cover Python, JavaScript, bash, and the maths behind LLMs in pure NumPy. Repo mode is not limited to that list. The lesson is built from whatever is in the code, and steps run in a real sandbox.

Where does the code go?

In the managed browser tutor, code submitted for review and files attached as context reach CodeTrain servers and the model provider. The open-source skill runs on 127.0.0.1 and sends nothing to CodeTrain or InferHaven, with no account and no telemetry. With bring your own key on Pro, Team, or Enterprise, model calls go from the machine to the provider, and nothing but a licence check touches the servers.

Is there a card to start, and what is the skill?

Start free. No card to start. The skill line is npx skills add InferHaven/agent-skills --skill codetrain. It needs Node.js, at 22.20 or later. The skill is free and open source, Apache 2.0, and was tested in Claude Code, OpenCode, and Antigravity CLI. It runs on the agent model account, with no CodeTrain account.