{"slug": "a-training-engine-for-your-local-model-using-your-idle-compute", "title": "A training engine for your local model, using your idle compute", "summary": "Sous Labs released Songe, a local training engine that runs on a user's own idle hardware and learns from an agent's tool results, errors and user corrections without sending data off the machine. Songe installs via uv, pipx, Homebrew or pip (Python 3.11 or later), proxies an OpenAI-compatible agent to a local model server at 127.0.0.1:7613, and offers a Quick Dream that adds stated preferences to the model's instructions in minutes and a Deep Dream that trains a small adapter for an hour or more. A new model version is adopted only if it performs better on the user's own conversations, with one-click rollback, and machines without a GPU can serve and record but not train.", "body_md": "[Install](#-install) •\n  [How it works](#-how-it-works) •\n  [Commands](#-commands) •\n  [Roadmap](https://github.com/sous-labs/songe/blob/main/ROADMAP.md) •\n  [Discord](https://discord.gg/cBEywVkXjY) •\n  [Website](https://souslabs.ai)\n\nUse your local model as usual through opencode, pi or any OpenAI-compatible tool. While you work, Songe notices what happens after each of the model's actions: the tool result, the error, your next message. When your agent is quiet, it teaches the model to see those coming. A new version is used only if it passes its checks, and nothing ever leaves your machine.\n\n- **Learns from how you work.** Your corrections, stated preferences and the\ntools' errors become lessons for your own model.\n- **Two kinds of Dreams.** A Quick Dream adds your preferences to the model's\ninstructions in minutes; a Deep Dream trains the model itself while you\nare away.\n- **Safe by default.** A new version is used only if it does better on your\nown conversations; one click goes back to any earlier version.\n- **Stays out of the way.** Runs only when your agent is quiet, memory is free\nand the battery is fine, and stops the moment you are back.\n- **Private.** No account, no telemetry, no cloud. Songe never runs your tools.\n\nWith [uv](https://docs.astral.sh/uv/) or [pipx](https://pipx.pypa.io/) (Python 3.11 or later):\n\n```\nuv tool install songe        # or: pipx install songe\nsonge init\n```\n\nNo uv or pipx yet? Either installs in one line:\n\n```\ncurl -LsSf https://astral.sh/uv/install.sh | sh    # uv (or: brew install uv)\nbrew install pipx                                  # pipx on macOS (Debian/Ubuntu: sudo apt install pipx)\n```\n\nBoth give Songe its own environment in a lasting place, which its background service needs.\n\nmacOS with Homebrew:\n\n```\nbrew tap sous-labs/tap\nbrew trust sous-labs/tap     # newer Homebrew asks this once\nbrew install songe\nsonge init\n```\n\n`songe init` finds your model server and your agents, shows what it will\nchange, and asks once:\n\n``` bash\n$ songe init\n\n  Models    3 from LM Studio, listed under Songe\n  Agent     opencode → Songe models · default granite-4.2-3b-MLX-4bit\n  Agent     pi → Songe models · choose one with /model\n  Data      ~/Library/Application Support/songe\n  Service   starts at login\n  Learning  new conversations · starts when idle\n  Replace   loaded copy when a better version is ready\n\nInstall? (Y/n)\n```\n\nThen pick a Songe model in your agent (opencode lists them as\n`songe/songe/<name>`), and work as usual.\n\n## Plain pip, and what you need\n\n`pip install songe` works inside a virtual environment; outside one,\nHomebrew's and most Linux distributions' Python refuse it.\n\nYou need a model served locally, and an agent:\n\n|  | Supported | Tested end to end | \n|---|---|---|\n| Model servers | LM Studio, vLLM, Ollama, llama.cpp, mlx-lm | LM Studio (macOS), vLLM (Linux) | \n| Agents | opencode and pi (set up for you); any OpenAI-compatible tool | opencode, pi | \n| Training | Apple Silicon (MLX); NVIDIA and AMD (PyTorch) | Apple Silicon, NVIDIA | \n\nMachines without a GPU still serve and record, but do not train.\nTried Songe on another setup? Share the result on the\n[testing board](https://github.com/sous-labs/songe/issues/15).\n\n```\n your agent ──► Songe (127.0.0.1:7613) ──► your model server\n                   │ records what happened\n                   ▼\n            when you are away: a Dream\n   read lessons ─► practice ─► train ─► check ─► use only if better\n```\n\n|  | Quick Dream | Deep Dream | \n|---|---|---|\n| Takes | a few minutes | an hour or more | \n| 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 | \n| You see | each new preference, with a before/after where the answer changes | why the new version was or was not used | \n| Undo | undo the Quick Dream, or remove one preference | go back to any earlier version | \n\nWith **auto-dream** on, Dreams start when your agent has been quiet for a\nwhile. Or press **Dream** in the dashboard (`songe open`). A Dream never just\ndisappears: it keeps going on the page, or says why it stopped.\n\n## How it learns, in more detail\n\n- **Reading.** Songe reads each conversation for the moments that teach\nsomething: your corrections and stated rules, retries, tool errors.\n- **Practice.** For each lesson your model writes short practice scenes in\nyour agent's own tools. Your real conversations are never trained on.\n- **Training.** The model as it was, shown the lesson, is the teacher; the\nsame model with a small adapter, shown only the scene, is the student\n(on-policy distillation). Earlier skills are rehearsed so they stay.\n- **Checking.** At the moments you reacted to, the version in use and the new\none each answer, and a judge compares what they do. The new version is used\nonly if it does clearly better, does not change what already worked, and\nits answers stay healthy.\n\nBefore the first training Songe measures how much your computer can learn at\nonce, and trains on what fits. See [DESIGN.md](https://github.com/sous-labs/songe/blob/main/DESIGN.md).\n\n| Command | What it does | \n|---|---|\n| `songe` | what it is doing | \n| `songe status --training [MODEL]` | resolved Deep Dream settings and where they come from | \n| `songe open` | the dashboard in your browser | \n| `songe models` | each model, and whether it dreams on its own | \n| `songe models MODEL on\\|off` | auto-dream for one model | \n| `songe sleep` | start a Deep Dream now | \n| `songe undo MODEL` | go back one version | \n| `songe pause` /`songe resume` | stop and restart learning | \n| `songe doctor` | check the setup | \n| `songe forget` | delete recorded conversations (learned versions stay) | \n| `songe uninstall` | stop the service and restore your agent settings | \n\n## What it changes on your machine\n\n- Its data folder: `~/Library/Application Support/songe` on macOS,`$XDG_DATA_HOME/songe` on Linux,`%LOCALAPPDATA%\\songe` on Windows.\n- A `songe/` folder in LM Studio's models folder with the current learned\nversion. Your own models are never touched.\n- One provider entry in opencode and pi, with a backup.\n- A background service that starts at login.\n\n## Upgrade and remove\n\n`uv tool upgrade songe`, `pipx upgrade songe` or `brew upgrade songe`: the\nservice moves to the new version by itself in a quiet moment.\n\n`songe uninstall` stops the service and restores your agent settings; add\n`--purge` to also delete its data and learned versions. Run it before\n`brew uninstall songe`.\n\nWhere Songe is going: [ROADMAP.md](https://github.com/sous-labs/songe/blob/main/ROADMAP.md). Ideas and bugs are welcome as\n[issues](https://github.com/sous-labs/songe/issues). Questions and results from your nights go in\n[Discord](https://discord.gg/cBEywVkXjY). To contribute, see\n[CONTRIBUTING.md](https://github.com/sous-labs/songe/blob/main/CONTRIBUTING.md). Security reports: [SECURITY.md](https://github.com/sous-labs/songe/blob/main/SECURITY.md).\n\nLicensed under [Apache-2.0](https://github.com/sous-labs/songe/blob/main/LICENSE).", "url": "https://wpnews.pro/news/a-training-engine-for-your-local-model-using-your-idle-compute", "canonical_source": "https://github.com/sous-labs/songe", "published_at": "2026-11-24 15:03:40+00:00", "updated_at": "2026-11-24 15:12:19.926554+00:00", "lang": "en", "topics": ["ai-tools", "machine-learning", "ai-agents", "ai-infrastructure"], "entities": ["Sous Labs", "Songe", "LM Studio", "vLLM", "Ollama", "llama.cpp", "mlx-lm", "opencode"], "also_reported_by": [], "takeaway": "Songe proxies a local OpenAI-compatible model server on 127.0.0.1:7613, records tool results and errors during agent sessions, then trains a small adapter on that data during idle time and swaps it in only if it scores better on the user's own conversations.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/a-training-engine-for-your-local-model-using-your-idle-compute", "markdown": "https://wpnews.pro/news/a-training-engine-for-your-local-model-using-your-idle-compute.md", "text": "https://wpnews.pro/news/a-training-engine-for-your-local-model-using-your-idle-compute.txt", "jsonld": "https://wpnews.pro/news/a-training-engine-for-your-local-model-using-your-idle-compute.jsonld"}}