Terramentor
A free, open-source AI tutor for lifelong learning: subjects, skills, exams and tests. Your AI builds each course, you prove every topic, and the app makes sure you remember it.
v1.7.0 · AGPL-3.0 · no account · no telemetry · Windows, macOS and Linux
Tell Terramentor what you want to learn and by when. The model you connect drafts the course and writes every lesson, diagram and question. Terramentor plans the course against your deadline, asks you to prove each topic rather than tick it off, and brings back what you are starting to forget. The app is free and has no account. The model is paid per use under your own key, covered by a ChatGPT Plus or Pro plan you already have, or run on your own computer.

How I use it
I use it for my own studies. I prepared for my IELTS Academic exam with a course in it set to the test date, and on 20 June 2026 I scored 8.0 overall. On 28 September 2026 my library held 20 courses and 5 imported Anki decks, with about 17,000 flashcards between them.
How it works, and why
A chatbot explains anything you ask, and the AI companies’ study modes add quizzes and flashcards, but their own pages describe no reviews timed to when you are about to forget and no check you must pass before a topic counts. Anki times the reviews, once you have written the cards or found a deck. Terramentor runs the whole loop. Each step below says what it does and, where there is research behind it, what that research found. The pictures come from one physics course.
Discover
Describe what you want to learn and the model drafts a course: phases, then topics, each with an overview, in your language. Add a book or your notes and the course follows their chapters, and its lessons draw on their pages. The draft runs in the background, so you can keep studying meanwhile. Material can be any mix of files and links (a page, a PDF, a YouTube video), and you never pick a size: a small source with a plain goal can become a short course of a few topics with no dates, and anything the model cannot judge is built in phases. You can also import a course file or an Anki deck.
Plan
Give it a start date, a deadline and the days of the week you study. Your pace is measured week by week against what the date needs, and after your first two weeks of study the course’s header says in one line whether you will make it. Open the plan to see your weeks as bars, the pace the date needs drawn across them, and what to do if it slips: plan a set number a week, study only the topics that fit, or move the date.

Study
The home page is a stream, one course at a time: lessons in short parts, a question after each part, flashcards, and questions from earlier topics you are starting to forget. Diagrams, charts and animations are written by the model as code and checked before you see them. The assistant, open beside any screen, teaches the topic in front of you, answers from your own files, looks at a photo or a document you attach, and can change a course for you, with Undo.
Being asked about what you just read makes it stick better than reading it again, and more so when each answer comes with why it is right or wrong; both have strong research records.

Prove
A topic is proven when you pass its mastery check (choices, numbers you work out, answers you type, steps you put in order, a sentence or an equation you build from pieces; code if you ask for it, with Python and JavaScript run against tests on your own device), or when you work an exercise on paper, photograph it and have it marked. Before you see a question with one right answer, the model answers it again without the answer key, and a key it disputes is thrown out. That catches slips in the key before a question reaches you, not a misconception the model holds both times. You can always skip a topic; it then stays marked as skipped, not as known. A pass mark before moving on has a weaker, more mixed research record than testing and feedback; Terramentor keeps it so that a topic counts only once you have answered for it.

Remember
Flashcards come back just before you would forget them (scheduled with FSRS-7, the newest FSRS,
and fitted to your own reviews once there are enough of them). Reviews spread over days beat the
same reviews crammed together, by a wide margin in the studies below.
Every two weeks or so a course offers a look back: ten questions from across it, and a topic you
miss comes back as a question the next day you study. In the weeks before an exam whose date cannot
move, or one you have described, the offer is a full mock exam: the course’s own questions on
screen, or a past paper you add, with an exam clock if you want one.
Anki decks come in with their media and review history and go back out as .apkg.

The atlas
Every topic in your library on a map, or on a planet you can turn, placed by what it is about rather than which course it belongs to; zoom in and each region splits into cities, one per topic. Pick a course and it replays the order you finished its topics in, and can save the replay as a video or a GIF. The list beside it opens with up to three topics to study next, each close in meaning to one you have finished. Drawing it takes an embedding model, a second, small model that groups topics by meaning (where to get one); everything else works without it.

Built like a course, not a chatbot
Trials of AI in teaching are mixed: students given a plain chatbot for maths practice leaned on it and did worse on the exam after, while trials that built the AI into set lessons found gains from 0.06 to 0.63 standard deviations, two of them against pupils who had no extra lessons at all. Terramentor is built like the set lessons. The model writes the lessons, the questions and their answer keys before you start. The app itself, with no model involved, decides what you see next, the pass mark and when each review is due. A model marks typed and photographed answers, and nothing said in the chat counts as proof. None of these studies tested Terramentor itself.
The studies behind each step, and what the AI companies’ own study modes offer, are in Why it works.
The model is the teacher
Lessons and questions are written by the model you connect, pitched at what you told it about yourself. Switch to a newer model and the next lessons are better, with no app update.
A hosted model is the right choice for most people; a model on your own computer teaches well with 24 GB of video memory or more, while one that fits an 8 GB card writes weaker lessons, slowly. A lesson is written once and kept, so you pay for writing it, never for reading it again, and the provider’s dashboard shows what you have spent.
Settings → AI & Models connects any of these; the welcome screens offer all but the ChatGPT plan:
- OpenRouter: Connect OpenRouter signs you in at openrouter.ai and brings back a key you own, for models from every major lab on one account.
- ChatGPT: sign in and use your own ChatGPT Plus or Pro plan, with no key.
- Your own key from Anthropic, OpenAI, Google, DeepSeek, Z.ai, Alibaba (Qwen) or Moonshot AI (Kimi).
- Your own computer or server: Ollama, LM Studio, llama.cpp, or any address that speaks the OpenAI API.
The embedding model the atlas needs also searches your files by meaning; without it, that search
goes by keywords. On OpenRouter the app picks one for you, on Ollama it uses nomic-embed-text,
and on another endpoint you choose one it offers under Settings → AI & Models. A ChatGPT plan and
Anthropic serve none, so with those the embeddings can run on Ollama.
Without a model you can import a course file or an Anki deck and study its saved lessons, questions and flashcards. To get a course with no key at all, open New course → Import a course → Or make a course with an external chatbot: copy the prompt into a chatbot you already use and paste its reply back. The course arrives with its outline, an overview of each topic and links to read, and a second prompt per phase writes a reading for each topic. Writing questions, flashcards, lessons and visuals, and the assistant, take a connected model.
Your data
Your library is one SQLite file on your own disk, with a folder beside it for documents and card media. Nothing reports back to this project. What leaves the machine is what a lesson or an answer needs, sent to the model provider you chose, and web pages: searches for reading on a course’s topics while it is drafted, and a topic’s links read when its lessons are written (both on by default, two switches in Settings → AI & Models). SECURITY.md lists every outbound connection.
Accessibility
You can study, review cards and answer questions with only a keyboard, and NVDA reads a card review, a quiz and maths. Any list or card you can drag also moves from the keyboard. Settings → General → Text & interface size makes everything up to 160% of its usual size, and Settings → Accessibility holds contrast, motion, text spacing, larger text and buttons, a reading line, reading aloud, time limits, confirming before an answer is graded and the single-key shortcuts. The target is WCAG 2.2 AA; docs/ACCESSIBILITY.md says how that is tested, gives the status of each criterion, and how to report a barrier.
Install and the rest of the README are on GitHub.