Skip to content

Lineage 1.0.0

Choose a tag to compare

@darktw1nk darktw1nk released this 02 Aug 17:46
· 39 commits to master since this release

Lineage evolves LLM prompts with a genetic algorithm, and reports the number that matters: how the winning prompt scores on held-out tests it never trained on.

Install

CLI / CI — published on npm:

npm i -g @voxor/lineage-cli
lineage --config your-config.json

Desktop app — Windows x64:

  • Lineage Setup 1.0.0.exe — installer (Windows x64)
  • Lineage-1.0.0-portable.exe — no install, run it

Bring your own API key (OpenAI, Anthropic, Google Gemini, OpenRouter, or Groq). Every call is costed and counted against a budget you set.

Why the holdout matters

A prompt that scores 9/10 on the tests it was optimised against may score 1.5/10 on tests it has not seen. That happens when evolution finds a prompt with a training answer effectively baked into it. Lineage separates a holdout set before the run starts and reports seed → champion on it, so the number you quote is the one that generalises.

This is not theoretical — it is how the novelty search option was measured and then marked not recommended in the docs, rather than shipped as a feature.

What is in this release

  • Genetic search over prompts: mutation, crossover, meta-prompting (failure-aware), parameter and model variation
  • Section-level crossover that recombines parents' own text for zero LLM calls, falling back to an LLM merge only when the parents have no structure to splice
  • Five fitness dimensions — quality, safety, cost, latency, stability — with a Pareto view of the trade-offs your weights passed over
  • Hard budget cap, per-call cost tracking, and a cost estimate before you commit
  • Test modes: LLM-graded, exact match, JSON Schema, and tool-call
  • Optional head-to-head playoff when scores cluster

Honest limits

  • Windows x64 only in this release. macOS and Linux are unbuilt.
  • Binaries are unsigned, so SmartScreen will warn on first run.
  • Benchmarked on 5 tasks with small models. Evolution beat a one-shot LLM rewrite on 4 of 5 and never lost, but that is 5 tasks, not a guarantee.
  • Four optional search settings (diversity, novelty, restartAfter, adaptivity) were measured and none improved held-out scores; they ship off by default and the docs say so.