learnharness README

The project's README from github.com/amosblomqvist/learnharness. As one markdown file: README.md.

LearnHarness

An agent harness for learning.

Download · How it works · Documentation · Issues · Discord

LearnHarness uses AI agents to plan and teach lessons from your current understanding to your goal. It builds a detailed picture of what you understand and how you reason. That picture is updated as you learn.

Instead of just giving you an explanation, it uses your answers and thinking to decide what you need next. Teaching builds understanding one reasoning step at a time. Practice makes it usable. A persistent knowledge graph carries it across sessions.

LearnHarness teaching session

How it works

  1. Measure. Before teaching, the agent finds where your understanding ends on each part the lesson depends on. Your answers, confidence, and thinking show it where to start.
  2. Plan. It works out a dependency map from that starting point to your goal. You can see the plan, and the lesson adapts when your understanding turns out different.
  3. Teach. Each step builds on something you already understand. You predict, get an explanation, and check your understanding. Confusions are repaired before anything is built on them. The aim is for the goal to feel obviously true, not merely familiar.
  4. Practice. Separate sessions pose varied problems that require the right knowledge to come to mind without being named first. Problems and hints adapt to your reasoning.

Think out loud. The thinking fields let you explain your reasoning, uncertainties, and reactions in your own words. This is how the agent gets a detailed picture rather than just a record of right and wrong answers. You can type or use dictation.

Bring your files. In the desktop app, attach PDFs, photos, or any other file with the paperclip, or drag them in. The file stays where it is: the message carries its path, and the agent reads it from there.

The agent can also research questions in the background, create visual explanations, show your own images in the lesson and mark them up with arrows and labels (including figures it crops straight out of your PDFs, such as lecture slides), and build interactive demonstrations.

Knowledge that carries forward

What you are taught accumulates as propositions and reasoning chains: individual claims and the premises that lead to them. The graph shows this structure, with links back to the source sessions. You can also import notes.

Future teaching sessions can read the graph instead of starting from scratch. Practice sessions can draw their material from it. It stores the ideas and their connections, not ratings of your ability.

LearnHarness knowledge graph

Download and get started

Download from learnharness.ai · GitHub Releases

Choose your models, then start a session with what you want to understand. You can use provider API keys, supported subscription connections in the desktop app, an installed Claude Code CLI, or a custom OpenAI-compatible endpoint, including a local model server. Optional dictation and web search use separate service keys. Web research can use a Tavily, Brave, Exa, Firecrawl, or Ollama key in Settings → Providers → Search. Ollama search uses its hosted service, not a local model server.

See Getting started for model setup, dictation, files, and notes imports, and context, caching, and costs for advanced cache preferences.

All three platforms support in-app updates.

Your keys, your data

Development and support

npm ci
npm run plugins:setup
npm run dev        # http://localhost:3000
npm test           # fixtures and fake providers

See the documentation index for all guides, development for setup and checks, architecture for the runtime, keyboard shortcuts, themes for the theme file format, and desktop builds and releases.

For trusted local plugins, start with the authoring guide and capability map. It links the question, practice-problem, submission, view-context and UI contracts. Use examples/plugins/ for small runnable templates, plugins/ for feature source projects, and the host architecture for internals.

Questions, bug reports, and feature requests: GitHub Issues.

Security vulnerabilities: report privately as described in SECURITY.md, not in public issues.

License

AGPL-3.0

The app is free and open forever. If we ever charge for anything, it will be for convenience — managed keys, hosting — never for features you can run locally.

learnharness (amosblomqvist/learnharness)

anthropic
Searching Database…

What is this?LearnHarness is a desktop app that uses AI agents to teach you difficult topics: it figures out what you already understand, plans a path to your goal, teaches one reasoning step at a time, and then quizzes you with practice problems. A persistent knowledge graph carries what you've learned across sessions.
Is this just another AI chatbot?No, it follows a structured four-step loop: Measure (finds where your understanding ends), Plan (builds a dependency map to your goal), Teach (step-by-step explanations with prediction and checks), and Practice (separate sessions with varied problems). It also lets you explain your reasoning out loud (typed or dictated) rather than just grading right/wrong answers.
How do I get it running?Download the signed macOS DMG, the Windows installer, or the Linux AppImage/.deb from learnharness.ai or GitHub Releases, then add your provider API key, pick your models, and start a session with whatever you want to understand.
Do I need an API key from a specific provider?You bring your own key from one of 30+ supported providers, including OpenAI, Anthropic, Google, DeepSeek, and OpenRouter. Optional dictation and web search features need separate service keys.
Is the Windows installer ready to use right now?It works but is currently unsigned, so Windows may flag it with an 'unknown publisher' or SmartScreen warning when you run it.
Where does my learning data and API key go?Your chats, knowledge graph, settings, and API keys are stored locally as plain, inspectable files on your machine, with no LearnHarness subscription or markup. Model requests, web research, and dictation still contact your configured external providers.
What is the knowledge graph actually storing?It stores propositions and reasoning chains - individual claims and the premises behind them - with links back to the sessions they came from, so future teaching and practice sessions can build on prior learning instead of starting from scratch.
Can I talk to it instead of typing?Yes, dictation is supported as an optional input method alongside typing, using a separate service key.
Does it do anything beyond text explanations?The agent can research questions in the background and create visual explanations and interactive demonstrations as part of teaching a concept.
Size
13.9 MB
Stars
14.3K
Age
1mo
Commits · 90 Days