AI News
All projects
Tool

Songe: a proxy that fine-tunes your local model while your agent sits idle

Songe is a local proxy that records your agent's conversations with a model server and fine-tunes a LoRA adapter for that model while you are away.

songe by sous-labs · 1,179 GitHub stars when we found it · added

According to its README, Songe is a training engine for the model you already run locally. It sits between your agent and your model server as an OpenAI-compatible proxy and records what happens. While the agent is idle, it turns conversations into lessons, writes practice scenes, trains a LoRA adapter by self-distillation, and checks the result against your own conversations. A new version is served only if it beats the one in use, and one click returns you to an earlier version. vLLM, llama.cpp and mlx-lm load the adapter beside the base model. LM Studio and Ollama receive a merged copy instead.

Training requires an NVIDIA or AMD GPU through PyTorch, or Apple Silicon through MLX. Without one, the README says, Songe only proxies and records. Installation runs through uv, pipx or Homebrew, and songe init finds the model server and agents. Optional Frontier distillation is off by default. When enabled, it can use a model you choose, including a Claude Code or Codex login, to write reference answers and judge new versions within a nightly budget. Otherwise, the author writes, everything stays on your machine, with no account and no telemetry.

The README lists its limits openly. The only tested end-to-end setups it names are LM Studio on macOS and vLLM on Linux, and Codex CLI requires a manual config snippet. Other setups are invited to report results on a testing board. The project is licensed under Apache-2.0.

In the author's words

Songe is a training engine for the model you already run locally. It sits between your agent and your model server as an OpenAI-compatible proxy and records what happened.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

If you run a local model and keep correcting the same mistakes, Songe offers one approach. It keeps the proxy record and promotes a new adapter only when it wins on your own past conversations, with an undo path. Use it if you want adaptation without sending your conversations to a cloud service.

Works with

opencodepiLM StudioOllamavLLM

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made