Songe Turns Your Local AI Model Into One That Learns Your Workflow
An open-source engine records your agent sessions, trains a small add-on when your machine is idle, and only swaps in the new version if it does better on your own work.
A local AI model is frozen the day you download it. You can correct it a hundred times ("use pnpm, not npm," "our tests live in spec/, not test/"), and tomorrow it makes the same mistakes, because nothing you said ever changed the model itself. Your corrections live in a chat log, not in the weights.
Hosted models do improve, but on the vendor's schedule and from everyone's data, not yours. The model running on your own machine, the one that sees your repo and your habits every day, never learns from any of it.
Songe, an open-source project from Sous Labs that drew a Hacker News discussion on November 24, goes after that gap directly. It watches how your local model's actions turn out while you work, and when your machine is idle it teaches the model to see those outcomes coming. The README sums it up as "a training engine for your local model, using your idle compute." It is free and Apache-2.0 licensed.
The idea worth taking away is bigger than this one tool: personal fine-tuning is moving from a weekend project you plan to a background job that runs while you sleep. That makes the safety check, the thing that decides whether a retrained model replaces the old one, the most important part to understand.
What Songe actually is
Songe sits between your coding agent and your local model server. In networking terms it is a proxy (a middleman that passes requests along), listening on your own machine at 127.0.0.1:7613.
Your agent talks to Songe as if it were the model. Songe passes each request along to the real model server, pointing it at the current learned version, and hands the answer back. Along the way it records what happened after each of the model's actions: the tool result, the error, and your next message.
It works with the pieces many local-model users already run:
- Model servers: LM Studio, vLLM, Ollama, llama.cpp and mlx-lm, with LM Studio on macOS and vLLM on Linux tested end to end (README)
- Agents: opencode and pi, which Songe configures for you, plus any tool that speaks the OpenAI-compatible API
- Training hardware: Apple Silicon through MLX, and NVIDIA or AMD GPUs through PyTorch, with Apple Silicon and NVIDIA tested end to end
A machine without a GPU can still run the proxy and record, but it will not train.
The project promises "No account, no telemetry, no cloud," and states that Songe never runs your tools. Everything it records stays in a data folder on your machine.
How it learns: the night shift
The easiest way to picture Songe is a student who reviews the day's mistakes before bed.
During the day you work normally. Songe reads each conversation for the moments that teach something: your corrections and stated rules, retries, and tool errors. The README calls these lessons.
When your agent has been quiet for a while, memory is free, and the battery is fine, Songe starts what it calls a Dream. There are two kinds.
A Quick Dream takes a few minutes. It adds the preferences you stated or showed to the model's instructions, the text the model reads before every task. You can see each new preference, with a before-and-after where the answer changes, and undo any of them. Nothing about the model's weights changes here. Think of it as a sticky note on the monitor.
A Deep Dream takes an hour or more, and this is where the model itself changes. Songe trains a small adapter, a compact add-on layer that adjusts the model's behavior without rewriting the whole thing (the technique is usually called LoRA).
The training trick is worth understanding because it is clever. Songe uses the model to teach itself:
- The teacher is your model as it was, shown the lesson ("the user said tests live in
spec/"). - The student is the same model with the new adapter, shown only the situation, without the lesson.
- Training nudges the student to answer the way the teacher would, so the lesson becomes instinct instead of a reminder.
The README calls this on-policy distillation. It also says the model writes short practice scenes from each lesson, in your agent's own tools, and that "Your real conversations are never trained on." Earlier skills get rehearsed so the model does not forget what it already did well.
The design document adds an important rule: Songe never acts at night. Re-running your tools in your repo while you sleep would be unsafe and have side effects, so consequences "are only ever read from the log; nothing is executed" (DESIGN.md).
The check that decides everything
Any tool that retrains your model automatically has one job above all others: don't make it worse. Songe's answer is a gate that a new version must pass before it is used.
In the README's plain-language version, at the moments you reacted to, the current version and the new one each 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."
The code at the reviewed tag (gate.py) turns that into three tests, run on material the training never saw (held-out data, set aside on purpose), including real conversations:
- Clearly better: the judge scores each comparison a win, loss or tie, and the new version must win more than it loses, by more than random noise. When no judged comparisons exist, it falls back to a statistical test of whether the new version learned the lessons.
- Not broken: on general prompts it hasn't drifted far from the base model, its tool calls still parse with known tool names, and it is not repeating itself or producing empty answers more often.
- Enough data: if there are not enough conversations yet, it skips training and reports "waiting for experience" instead, per the design document.
If a new version fails, the current one stays. And there is always a way back: songe undo MODEL goes back one version, and the dashboard can return to any earlier one.
That gate is the right shape. Whether it is strict enough is something only your own use will tell you.
Put this into practice
Here is the lowest-friction path, from the README.
What you need: Python 3.11 or later, a model served locally (LM Studio is the easiest start on a Mac), one of the supported agents (opencode or pi), and a GPU if you want training rather than just recording.
Install with uv or pipx, which give Songe a lasting environment its background service needs:
uv tool install songe # or: pipx install songe
songe init
On a Mac with Homebrew:
brew tap sous-labs/tap
brew trust sous-labs/tap
brew install songe
songe init
songe init finds your model server and agents, shows exactly what it will change, and asks once before doing anything. It adds a data folder, a folder for learned versions, one provider entry in your agent's config (with a backup) and a background service; the README lists the exact paths. Your own model files are never touched.
Use it. Pick a Songe model in your agent (opencode lists them as songe/songe/<name>) and work as usual. Correct the model out loud when it gets something wrong. Those corrections are the raw material.
Watch it. These commands cover the day-to-day:
songeshows what it is doing right nowsonge openopens the dashboard in your browsersonge sleepstarts a Deep Dream now instead of waiting for idle timesonge pauseandsonge resumestop and restart learningsonge doctorchecks the setup
What to expect. Nothing visible happens on day one. Quick Dreams can show preference changes within minutes once you have stated a few rules. Deep Dreams need enough recorded conversations to pass the "enough data" test, so give it real work for several days before judging. When a Dream finishes, the dashboard says why the new version was or wasn't used.
Get out cleanly. songe forget deletes recorded conversations (learned versions stay). songe uninstall stops the service and restores your agent settings, and --purge also deletes data and learned versions. Run it before brew uninstall songe.
A sensible first week: install on a side project, state five or six of your real house rules in conversation, let one Deep Dream run overnight, and read the dashboard's explanation before you trust the result on anything important.
Honest limitations
Songe is early, and it is clear about much of this itself.
- It is pre-release software. The latest tag at the time of writing is v0.1.0a15 (November 22), with new alpha tags arriving every day or two (tag page). Expect breakage and changes.
- Few setups are tested. Five model servers are listed as supported, but only LM Studio on macOS and vLLM on Linux are tested end to end. The project runs a testing board for reports from other setups.
- The design document lags the code. DESIGN.md is a build spec with many items marked "verify." It still says "Generating new practice tasks from lessons is not built," while the code at v0.1.0a15 trains from practice scenes, and it calls Ollama both unsupported in v1 and supported. Treat the README and the tagged code as current, and the design doc as background.
- Compression can eat the gain. LM Studio cannot load adapters directly, per the design doc, so each accepted version is merged into a full model file. The doc warns that when that merged file is compressed to 4 bits per weight, it may lose most of the adapter's gain, and plans a higher-precision fallback when memory allows.
- A laptop has to stay awake. The macOS design keeps the machine from idle-sleeping during training, but a MacBook with the lid closed and no external display still sleeps. Training resumes at the next idle window.
- It learns your habits, including the bad ones. A model trained on your corrections inherits your blind spots. If you never correct a mistake, Songe has no lesson to learn from it.
- Small models may gain little. The design doc notes that the improvement from the teacher may be close to zero for small models. The gate should catch a version that didn't learn, but it cannot invent learning that isn't there.
- The judge is part of the trust. The README's check relies on a judge comparing answers. Read the dashboard's reasons rather than assuming every accepted version is better at everything.
Where this leaves you
Personal fine-tuning used to mean collecting data, renting a GPU, running a training script, and hoping. Songe folds all of that into a background service with an undo button. It is rough today, and a design document that trails its own code says it is still finding its shape.
You don't have to bet your main workflow on it. Try it where a worse answer costs you nothing, state the rules you are tired of repeating, and see whether the model remembers them next week. If it does, you will have something no hosted model offers: a model that gets better at your work specifically, on your own machine, on your own schedule.
Sources: sous-labs/songe README, DESIGN.md and gate.py, reviewed at tag v0.1.0a15 (November 22, 2026), the latest as of November 24; v0.1.0a15 tag page; Songe testing board, issue #15; Hacker News discussion. Songe is Apache-2.0 licensed.