Socrates

A tutor that starts from what you already understand

Agent harness · Next.js · Electron

An explanation from a chatbot starts wherever the chatbot guesses you are. If the guess is wrong, you either reread things you know or nod along to steps that rest on something you never understood.

Socrates is a harness for studying. Before it teaches, the agent asks questions until it finds where your understanding ends. It plans the steps from there to your goal, teaches one at a time, and checks each before it builds on it. What you learn is kept as a graph of claims and the reasoning behind them, and later lessons read it.

Based on LearnHarness by Amos Blomqvist.

A Socrates lesson on statistical learning: the fourteen-step plan on the left, the tutor’s explanation in the middle, and a check question waiting at the bottom
A lesson, with its plan beside it.

How it works

  1. 01

    The home asks one question

    The app opens on a single field that asks what you would like to understand: a topic, a paper, or a question you cannot answer yet. The lesson you left unfinished is one click below it.

    The Socrates home: the question “What would you like to understand?” above one text field, with tabs for new, recent and built lessons
    The home.
  2. 02

    The plan stays beside the lesson

    A panel lists the steps in the order they depend on each other and marks the one you are on and the ones you have passed. The text is set at 15 pixels on a 680-pixel measure, and your own messages sit in a soft grey bubble on the right, so the tutor’s words read as the page.

  3. 03

    What you learn is kept

    Each lesson adds its claims and the steps that lead to them to a knowledge graph, grouped by the lesson they came from. The next lesson starts from the graph, and practice sessions draw their problems from it.

    The Socrates knowledge graph: clusters of linked propositions on a white page, each cluster tinted and named after the lesson it came from
    The knowledge graph.
  4. 04

    Practice is separate

    Practice sessions pose varied problems without naming the idea they need, so the right knowledge has to come to mind on its own. Hints follow your reasoning.

Decisions

You see the plan. It sits beside the lesson for the whole session and changes when an answer shows the starting point was wrong.

You write what you are thinking as you read, in your own words, and the agent reads that as well as your answers.

Everything stays on your machine as plain files, and the models run on your own keys.

The screenshots here are the running app on its sample data.

Use

For studying something hard on your own: a paper, a proof, a course.

Related

All projects