█

AI/TLDR

Buy me a coffee
Buy me a coffee

Songe

A local training engine that teaches your own model from your agent's work while the machine is idle

Fine-Tuning FrameworksOpen source
Updated
20 Nov 2026
Language
Python
License
Apache-2.0
Coverage
1 story
$uv tool install songe

What's new

20 Nov 2026

Songe appeared as a public GitHub project from Sous Labs: a local training engine that records agent work and trains a local model on idle compute.

Latest news

IN SHORT

What is Songe?

Songe is an Apache-2.0 continual-learning engine for local language models, published by Sous Labs. It runs between your coding agent (the README names opencode and pi) and your model server, and records what happens after each model action: tool results, errors and your corrections. It sits in the Fine-Tuning Frameworks category of the Training & Fine-Tuning tools and is open-source, written in Python and licensed Apache-2.0.

Updated Markdown version ↗

Overview

Pixel-art banner: the word Songe over a sleeping figure in a bed on top of a moon, with the text 'Local training engine: your model, your data, on your device' and the command pip install songe
The project's banner: a local training engine that learns while you sleep.Sous Labs ↗

Songe is an Apache-2.0 continual-learning engine for local language models, published by Sous Labs. It runs between your coding agent (the README names opencode and pi) and your model server, and records what happens after each model action: tool results, errors and your corrections. When the agent is quiet, it uses those lessons to improve the model. The project states that nothing leaves your machine.

It learns in two modes it calls dreams. Quick Dream takes a few minutes and adds the preferences you state or demonstrate to the model's instructions; each new preference can be inspected with before-and-after examples and undone. Deep Dream takes an hour or more: it turns your lessons into practice scenarios and trains a small adapter on them. A new version is used only if it passes checks, and you can roll back to any earlier version.

Songe works with LM Studio, vLLM, Ollama, llama.cpp and mlx-lm model servers. Training is best supported on Apple Silicon through MLX; NVIDIA and AMD GPUs work through PyTorch but are less tested, and a machine without a GPU can still serve and record.

What it does

  • Records tool results, errors and corrections between your agent and your model server
  • Quick Dream: adds stated preferences to the model's instructions in minutes, with before-and-after examples
  • Deep Dream: trains a small adapter on practice scenarios built from your lessons
  • Runs only when the machine is idle (auto-dream), or on demand with `songe sleep`
  • A new version goes live only if it passes checks; any version can be rolled back with `songe undo`
  • Works with LM Studio, vLLM, Ollama, llama.cpp and mlx-lm
  • Local dashboard (`songe open`) and `songe forget` to delete recorded conversations

Getting started

Songe needs Python 3.11 or later and a local model server such as LM Studio, Ollama, llama.cpp, mlx-lm or vLLM.

Install Songe

Install it with uv or pipx. On macOS you can use Homebrew instead (brew tap sous-labs/tap, brew trust sous-labs/tap, then brew install songe).

bashbash
uv tool install songe

Run the setup

The init command finds your model server and agents, shows the changes it will make, and asks once to confirm.

bashbash
songe init

Work as usual with a Songe model

In your agent, pick a Songe model (in opencode it is listed as songe/songe/<name>). Songe records the session and learns when the machine is idle.

Open the dashboard or learn now

Use the dashboard to review what was learned, or start a Deep Dream from the terminal.

bashbash
songe open
songe sleep

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Adapt a small local model to your own coding habits and corrections without a cloud service
  • Use idle laptop or desktop time for fine-tuning instead of leaving the hardware unused
  • Keep training data private: conversations stay on the machine and can be deleted with `songe forget`
  • Roll back a model version that learned something unwanted

How Songe compares

Songe alongside other open-source fine-tuning frameworks tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Unsloth★ 80.2kA library that speeds up LoRA and QLoRA fine-tuning while cutting memory use, aimed at training models on a single GPU.
LLaMA-Factory★ 76.3kAn end-to-end training suite with a web UI that covers pre-training, supervised fine-tuning, and RLHF for hundreds of LLMs and multimodal models.
PEFT★ 21.9kHugging Face's library of parameter-efficient fine-tuning methods such as LoRA, DoRA, and prompt tuning that train small adapters instead of full models.
FinGPT★ 21.7kFinGPT is an open-source project of financial LLMs, fine-tuned with LoRA on news and tweet data for tasks like sentiment analysis, relation extraction, and stock-move forecasting.
ms-swift★ 16.2kModelScope's framework for fine-tuning and deploying 600+ LLMs and 300+ multimodal models, supporting PEFT and full-parameter SFT, DPO, and GRPO.
LitGPT★ 13.8kAn open-source toolkit from Lightning AI to pretrain, finetune, and serve 20+ large language models, each written from scratch for speed and full control.
Axolotl★ 12.7kA config-driven tool for fine-tuning and post-training open LLMs that supports SFT, LoRA/QLoRA, DPO, GRPO, and multi-GPU training across many model families.
Songe★ 666A local training engine that teaches your own model from your agent's work while the machine is idle