Featured answer
Give me an overview of learnharness
learnharness is an app for learning difficult subjects, where AI agents first measure your current understanding and then plan and teach lessons toward a goal you set. It is written mainly in TypeScript and runs as a desktop app on macOS, Windows and Linux. The Electron entry point electron/main.cjs opens the desktop window, runs the local server, and holds sign-in state for ChatGPT and subscription accounts. The app directory defines the screens, components holds the React interface with components/chat.tsx running the session, and the agent logic sits under src/agent, including src/agent/subagents/extraction.ts for lesson material. The root config.ts sets where data is kept, the plugins directory adds features such as flashcards and a drawing pad, and the layers by file count are UI with 114 files, Application with 210, Service with 72 and Docs & Tooling with 170, out of 1169 files in total. To start reading, open electron/main.cjs for the desktop shell, components/chat.tsx for the session, and src/agent for the teaching logic.
| Layer | Files |
|---|---|
| UI | 114 |
| Application | 210 |
| API | 34 |
| Config | 32 |
| Data | 15 |
| Utility | 28 |
| Types | 9 |
| Service | 72 |
| Docs & Tooling | 170 |
Basis: Inferred · knowledge graph· as of cb25c8e