Songe: A Training Engine That Turns Idle Local-Model Compute Into Overnight Fine-Tuning
Songe is an open-source training engine that sits between your coding agent and your locally served model, records the moments that teach something, and trains a small adapter during idle time. Its pitch is that your local model improves from how you actually work, without any data leaving your machine. The project is published by sous-labs under Apache-2.0 and was posted to Hacker News, where it reached 156 points and 45 comments.
What Songe actually does
Songe is a local proxy plus a background trainer. You keep using your local model through opencode, pi, or any OpenAI-compatible tool; Songe listens on 127.0.0.1:7613, forwards requests to your model server, and records what happened after each of the model's actions — the tool result, the error, your next message.
When your agent goes quiet, Songe turns those recorded moments into training. The README describes the loop as: read lessons, practice, train, check, and use the new version only if it is better.
your agent ──► Songe (127.0.0.1:7613) ──► your model server
│ records what happened
▼
when you are away: a Dream
read lessons ─► practice ─► train ─► check ─► use only if better
Songe never runs your tools. It observes the conversation and the tool results that flow through it, but it does not execute agent actions itself.
Quick Dream and Deep Dream are two different mechanisms
Songe has two distinct learning modes, and they are not variations of the same thing. A Quick Dream edits the model's instructions; a Deep Dream trains the model itself.
| Quick Dream | Deep Dream | |
|---|---|---|
| Takes | a few minutes | an hour or more |
| Does | adds the preferences you stated or showed to the model's instructions | writes practice from your lessons and trains a small adapter on it |
| You see | each new preference, with a before/after where the answer changes | why the new version was or was not used |
| Undo | undo the Quick Dream, or remove one preference | go back to any earlier version |
A Quick Dream is a prompt-level change: your stated or demonstrated preferences get added to the model's instructions. A Deep Dream is an actual training run that produces a small adapter.
With auto-dream enabled, Dreams start when your agent has been quiet for a while. You can also start one manually from the dashboard (songe open) or with songe sleep. According to the README, a Dream never silently disappears — it keeps going on the page, or it says why it stopped.
The four stages of a learning cycle
The README breaks learning into reading, practice, training, and checking.
- Reading. Songe scans each conversation for the moments that teach something: your corrections and stated rules, retries, and tool errors.
- Practice. For each lesson, your model writes short practice scenes using your agent's own tools. Your real conversations are never trained on directly.
- Training. The unmodified model, shown the lesson, acts as the teacher; the same model with a small adapter, shown only the practice scene, acts as the student. The README calls this on-policy distillation. Earlier skills are rehearsed during training so they are not lost.
- Checking. At the moments where you reacted, both the version in use and the new version answer, and a judge compares what they do. The new version is used only if it does clearly better, does not change what already worked, and its answers stay healthy.
Before the first training run, Songe measures how much your computer can learn at once and trains on what fits. The README points to a DESIGN.md file for details.
Install and supported setups
Songe requires Python 3.11 or later. The recommended install path is uv or pipx, which give Songe its own environment in a lasting location — the README notes its background service needs that.
uv tool install songe # or: pipx install songe
songe init
On macOS with Homebrew:
brew tap sous-labs/tap
brew trust sous-labs/tap # newer Homebrew asks this once
brew install songe
songe init
songe init finds your model server and your agents, shows what it will change, and asks for confirmation once. The README's example output shows three models discovered from LM Studio, opencode and pi configured to use Songe models, a default of granite-4.2-3b-MLX-4bit, data stored under ~/Library/Application Support/songe, a service that starts at login, and learning that begins when idle.
Plain pip install songe works inside a virtual environment; outside one, Homebrew's and most Linux distributions' Python refuse it.
Model servers, agents, and training hardware
| Supported | Tested end to end | |
|---|---|---|
| Model servers | LM Studio, vLLM, Ollama, llama.cpp, mlx-lm | LM Studio (macOS), vLLM (Linux) |
| Agents | opencode and pi (set up for you); any OpenAI-compatible tool | opencode, pi |
| Training | Apple Silicon (MLX); NVIDIA and AMD (PyTorch) | Apple Silicon, NVIDIA |
A machine without a GPU can still serve and record, but it does not train. That distinction matters for anyone running a small model on CPU-only hardware: Songe would observe and log conversations on such a machine, but the Deep Dream training step requires Apple Silicon, NVIDIA, or AMD hardware. The README also notes that only LM Studio on macOS and vLLM on Linux are tested end to end, and it invites users to report other setups on a testing board issue.
Commands
| Command | What it does |
|---|---|
songe |
what it is doing |
songe status --training [MODEL] |
resolved Deep Dream settings and where they come from |
songe open |
the dashboard in your browser |
songe models |
each model, and whether it dreams on its own |
songe models MODEL on|off |
auto-dream for one model |
songe sleep |
start a Deep Dream now |
songe undo MODEL |
go back one version |
songe pause / songe resume |
stop and restart learning |
songe doctor |
check the setup |
songe forget |
delete recorded conversations (learned versions stay) |
songe uninstall |
stop the service and restore your agent settings |
What Songe changes on your machine
The README lists four things Songe touches:
- Its data folder:
~/Library/Application Support/songeon macOS,$XDG_DATA_HOME/songeon Linux,%LOCALAPPDATA%\songeon Windows. - A
songe/folder inside LM Studio's models folder holding the current learned version. Your own models are never touched. - One provider entry in opencode and pi, with a backup.
- A background service that starts at login.
Upgrades go through the normal package manager: uv tool upgrade songe, pipx upgrade songe, or brew upgrade songe. The README states the service moves to the new version by itself in a quiet moment. songe uninstall stops the service and restores your agent settings; adding --purge also deletes its data and learned versions. The README advises running songe uninstall before brew uninstall songe.
Safety and privacy guarantees
The README makes three explicit safety claims. A new version is used only if it does better on your own conversations; one click goes back to any earlier version. Songe runs only when your agent is quiet, memory is free, and the battery is fine, and it stops the moment you are back. There is no account, no telemetry, and no cloud, and Songe never runs your tools.
Your real conversations are never trained on directly — they are used to generate practice scenes, and the adapter is trained on those scenes.
What the Hacker News discussion asked that the README does not answer
The comment thread surfaced several questions the project documentation does not resolve, and those gaps are worth stating plainly rather than guessing at.
How much does a model actually improve? One commenter asked for concrete numbers:
Any rough numbers on improvement per dream epoch? How much improvement can we expect if we train the model over the weekend ?
No benchmark figures appear in the README or in the discussion.
How is improvement judged, in practice? Another commenter wanted the evaluation process shown rather than described:
Sorry if I missed this in the docs but - How does it judge improvement? Does it find instances where the agent corrected itself, or needs correction by the user, replay its own version of that til the training it develops produces the correct result the first time? I'd really like the see a case of the improvement / judgement process transcribed in the readme, so there's a practical example of what it actually does (show, don't tell!)
The README describes the checking stage at a high level — a judge compares the current and new versions at the moments you reacted to — but does not include a worked example.
Is this a LoRA? A commenter found the explanation too abstract:
The "how it works" section is singularly useless. What is this doing — updating a LoRA?
The README says a Deep Dream "trains a small adapter," and describes the method as on-policy distillation, but it does not name the adapter format in the material available.
Could training be distributed? One commenter framed Songe as a local analogue of volunteer computing:
I've been waiting for the SETI at home equivalent for LLMs... perhaps we can make this distributed? (obviously complexities abound with that...) Are there more of these projects?
Songe as documented is single-machine and local-only; distributed training is not part of the described design.
Does "idle compute" mean the machine is still busy? One commenter questioned the framing directly:
It's no longer idle if I use this? Also I am so confused what this is, and how to even use it. I guess it is not for me if I'd actually like to know.
The README's answer is that Songe runs only when the agent is quiet, memory is free, and the battery is fine, and stops when you return — so the compute is idle in the sense of being otherwise unused, not free of contention.
Why run a local model at all? A commenter asked the broader question:
I keep seeing people use local models. Why use them over the regular ones we know? Really curious about it.
Songe's own answer is privacy: no account, no telemetry, no cloud, and nothing leaves the machine.
The bottom line
Songe is a local-first fine-tuning loop for people already running their own model server. It requires a supported GPU for training, a supported model server, and an agent such as opencode or pi. Its distinguishing design choices are that it learns from corrections and tool errors rather than from raw conversation logs, that it gates every new version behind a comparison on your own conversations, and that it keeps a one-command rollback. What it does not yet publish is quantitative evidence of how much a model improves per Dream, or a transcribed end-to-end example of the judging process.