Your agent fixed the bug.
lesson explains why.
A local-first plugin for AI coding agents. It captures the real debugging arc, compresses it into a session graph, and generates a grounded textbook lesson from the actual files, commands, errors, and fixes that produced the solution.
Install
Two commands.
Install the Python package, then run the bundled installer for your agent. Everything runs locally — no telemetry, no network calls beyond the model your agent already uses.
$ pip install lesson-ai
$ python3 scripts/install.py --platform claude-codeClaude Code users can alternatively install from the plugin marketplace:
$ /plugin marketplace add OussemaBenAmeur/lesson
$ /plugin install lessonSupported agent hosts
- Claude Code
- Codex
- Cursor
- Gemini CLI
- GitHub Copilot CLI
- OpenCode
- OpenClaw
- Factory Droid
- Trae
- Google Antigravity