Songe
Your local model learns from your own work while you sleep — corrections become lessons, and a new version ships only if it tests better.
Project intro
Songe is a training engine for the AI model running on your own computer. It sits between your coding agent and your local model server, and while you work it watches what happens after each thing the model does — the tool result, the error message, your next reply. When your agent goes quiet, it turns those moments into lessons. It has 361 stars and 50 forks on GitHub.
It learns in two ways. A Quick Dream takes a few minutes and writes the preferences you stated or showed into the model's instructions. A Deep Dream takes an hour or more and trains a small adapter on short practice scenes written from your lessons. A new version is only used if it clearly does better at the moments you reacted to, without breaking what already worked — and you can go back to any earlier version with one command.
It works with the model servers people already run at home — LM Studio, vLLM, Ollama, llama.cpp and mlx-lm — and with agents like opencode and pi, or any tool that speaks the OpenAI API. Install it with uv tool install songe, pipx or Homebrew, run songe init once, and pick a Songe model in your agent. A dashboard at songe open shows what it is learning.
Nothing ever leaves your machine: no account, no telemetry, no cloud, and your real conversations are never trained on — only the practice scenes written from them. The project is brand new, first published on 20 November 2026, and it is free under the Apache-2.0 license.
Actions
Tech stack
Project info
- Project category
- Developer Tools
- Project status
- Online
- Collaboration intent
- None