Your course files, planned to exam day.
Upload your notes and past exams. Margins plans each day to your exam and writes the practice from your files.


From your files to exam day
Add lecture notes, book chapters and past exams as PDF, Word or PowerPoint files. Mark the past exams so Margins can learn how they are written.
Margins splits the course into units and topics, each tied to the pages that teach it. Rename, merge or move anything before it writes a word.
Give your exam date and the time you have each day. Margins lists what to learn, quiz and review on each day, with spaced reviews and full mock exams before the date.
Each topic follows a path: a short warm-up, your own pages to read, recall with the book closed, practice one step at a time, then a quiz. Everything points back to the file and page it came from.
Mock exams are timed and autosaved. Choose Match my past exams and the questions follow the wording, task verbs and answer length of the exams you uploaded.
Results show the right answer, why, and the page it is from. Retry what you missed, or answer questions out loud in Voice practice.


Add lecture notes, book chapters and past exams as PDF, Word or PowerPoint files. Mark the past exams so Margins can learn how they are written.


Margins splits the course into units and topics, each tied to the pages that teach it. Rename, merge or move anything before it writes a word.


Give your exam date and the time you have each day. Margins lists what to learn, quiz and review on each day, with spaced reviews and full mock exams before the date.


Each topic follows a path: a short warm-up, your own pages to read, recall with the book closed, practice one step at a time, then a quiz. Everything points back to the file and page it came from.


Mock exams are timed and autosaved. Choose Match my past exams and the questions follow the wording, task verbs and answer length of the exams you uploaded.


Results show the right answer, why, and the page it is from. Retry what you missed, or answer questions out loud in Voice practice.


Sources you can check
Every answer points to your files
Notes, worked examples, quiz results and chat answers name the file and page they came from. Select a number in an answer to read the passage itself.


Quality is measured
Every answer cites your page, and we publish how often the generators get things wrong. We test them on two MIT OpenCourseWare courses, with a judge model and with automatic checks that need no model. The judge is Claude Opus, the same model that writes the text, so its scores are a limited check.
The scores, the errors the judge found and the checks that failed are all on the evaluation page.
Read the evaluation See the scores and the failuresOpen source
Margins is MIT licensed. Read the code, see how your files are handled, or run it yourself.
View the code on GitHubYour files stay yours
Your files stay in your account. When you delete a course, its files and everything made from them are deleted. We do not sell your data or use your files to train AI models.
Read the privacy policy
Common questions
Is it free?
Yes. Margins is free to use, with no paid plan and no card.
Every AI request costs real money, so each account has a daily AI allowance, and the whole site has a daily cap. When one is used up, anything that needs the AI (new notes, quizzes, chat answers, voice practice) waits until it resets after midnight UTC. What is already written stays readable. Voice practice also has its own daily time limit.
Which files can I upload?
PDF, Word (DOCX or DOC) and PowerPoint (PPTX) files, up to 25 MB each. Pages that are scans, handwriting or slides saved as pictures are read from an image of the page, up to 60 pages in a file; pages with maths or tables can be read from their image too.
When you upload past exams, choose Past exams. That is what lets mock exams match their style.
Does it make things up?
It can make mistakes, like any AI. Notes and quizzes are written from excerpts of your own files and point back to them, so you can check a claim against the page. Answers in Ask come only from your files, and Ask says so when they do not cover your question.
We measure this and publish the errors the judge found, not only the scores. For anything that matters, check it against your course materials and your instructor.
What happens to my files?
They stay in your account and are used only to run Margins for you. The text of your files and your questions are sent to Anthropic to write study material and answers; Anthropic does not use this data to train its models by default. We do not sell your data, show ads or use your files to train AI models.
When you delete a course, its files and everything made from them are deleted. You can delete your whole account yourself in Settings (anonymous usage records, without your name or courses, stay under a one-way key so a new account does not restart the day's AI allowance); if you need help, email hello@studymargins.com. Voice practice sends your voice to Deepgram to turn it into text; Deepgram does not keep the audio or train on it. You can switch to your browser's own speech recognition before a session.
Which AI model does it use?
Claude, from Anthropic, with a model for each job. By default Claude Opus writes the notes, examples, quizzes and exams, plans the course and answers questions in Ask. Claude Sonnet writes the practice tutor's replies and grades what you write in recall. Claude Haiku checks uploaded files, grades short answers, sorts Ask messages, checks tutor replies for leaked answers and runs the voice coach.
We tried Sonnet and Haiku for writing as well. They made maths errors in our eval, so writing stays on Opus.
Can I run it myself?
Yes. The code is MIT licensed. The README explains how to run it with Docker or without, and you bring your own Anthropic API key.
Start with one course.
Free to use, with a daily AI allowance. Add your files and see what to do today.