Songe
sous-labs
A local OpenAI-compatible proxy that fine-tunes a LoRA adapter for your own model while your agent is idle.
What is Songe?
A Python training engine that sits between your coding agent and your local model server (LM Studio, vLLM, Ollama, llama.cpp, mlx-lm), records what happened and, when the agent is quiet, turns your corrections into lessons, practice scenes and a self-distilled LoRA adapter. A new version is served only if it does better on your own past conversations, and you can roll back at any time. Training needs an NVIDIA or AMD GPU or Apple Silicon; without one it only proxies and records.
| Fact | Value |
|---|---|
| Maintainer | sous-labs |
| GitHub stars | 1,240 (as of 2026-12-02) |
| Forks | 104 |
| License | Apache-2.0 |
| License type | OSI-open |
| Category | Local inference and "what runs on my machine" |
| Status | Rising |
| Edition | 2026-12 |
| Last verified | 2026-12-02 |
Songe in depth
Most local-model tooling stops at serving: you load a model, point an agent at it and live with the same mistakes every day. Songe, from sous-labs, asks what happens if the model learns from how you actually work. It runs as an OpenAI-compatible proxy between your agent and your model server, records what happened, and during idle time turns your corrections, stated rules and tool errors into lessons that tune a LoRA adapter for the model you already run.
The pipeline is spelled out in the README: conversations become lessons, the model writes practice scenes in your agent's own tools, a LoRA adapter is trained by on-policy self-distillation, and the result is checked against your own past conversations before it replaces the version in use. A quick mode just adds your preferences to the model's instructions in minutes, while a deep mode trains for an hour or more. vLLM, llama.cpp and mlx-lm load the adapter next to the base model; LM Studio and Ollama get a merged copy. Training needs an NVIDIA or AMD GPU or Apple Silicon, and without one Songe only proxies and records.
It fits developers who already run a local model for a coding agent every day, with opencode and pi set up automatically and any OpenAI-compatible tool usable manually. The privacy design is deliberate: no account, no telemetry according to the README, a header or #nolearn marker to keep a chat unrecorded, and secrets in conversations are never learned. The contributor base is broad for a project this young, with six people at nine commits or more and 291 commits in about two weeks.
The caveats are those of an alpha. The PyPI package is 0.1.0a17 and the repository has no GitHub releases, so formats and interfaces can still move. Only Apple Silicon with LM Studio and NVIDIA with vLLM are tested end to end, a deep run takes an hour or more, and the safety check, in the README's own words, is a check on your own moments and not a benchmark, judged by your own model. The optional Frontier distillation sends redacted material to a cloud model you choose, so the fully local description holds only while it is off.
The verdict: Songe is an unusual and well-documented attempt at making a local model improve with use, with sensible safety rails such as a must-win check and rollback. Try it if you have a supported GPU or Apple Silicon and a daily local-agent habit. Wait if you need a stable release line, run on unsupported hardware, or want proof of improvement beyond the project's own check.
Pros & Cons
Pros
- A distinct idea in this cluster: it adapts the model you already run from your own corrections instead of just serving it, with a check that a new version must win before it is used and one-click rollback
- Many contributors (the top six have 126, 85, 24, 18, 11 and 9 commits) and near-daily commits (291 in about two weeks), with 52 open issues and pull requests and a public testing board
- Privacy-minded defaults: no account, no telemetry per the README, a #nolearn marker and a header to keep a chat unrecorded, and secrets in conversations are never learned
Cons
- Alpha software: the PyPI package is 0.1.0a17 and the repository has no GitHub releases, so interfaces and learned-version formats may still change
- Training is end-to-end tested only on Apple Silicon (LM Studio) and NVIDIA (vLLM); AMD and other servers are supported on paper but less proven, and a Deep Dream takes an hour or more
- The 'only if better' check runs on your own recorded moments judged by your own model, which the README itself calls a check and not a benchmark
- Frontier distillation sends data to a third-party model when you turn it on, so the fully local claim holds only with it off
License
Apache-2.0 (OSI-open)
Optional Frontier distillation can send redacted material to a cloud model you choose (an OpenAI-compatible API, or your Claude Code or Codex login). It is off by default.
When it is interesting
Developers who run a local model for coding agents every day and want it to pick up their habits overnight on hardware they already own.
When it is too early
If you have no supported GPU or Apple Silicon, need a stable release line, or cannot accept an opt-in cloud step.
This repo featured in the 2026-12 edition of the Open-Source AI Radar.
oMLX
jundot
macOS-native LLM inference server for Apple Silicon with continuous batching and SSD-tiered caching.
TurboFieldfare
drumih
Streams a 26B-parameter MoE model's experts from SSD to run Gemma 4 on an 8 GB Apple Silicon Mac.
apfel
Arthur-Ficial
Expose the on-device Apple Intelligence model on macOS 26 as a zero-setup OpenAI-compatible local API.