Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
[0.4.0] - 2026-11-23¶
Added¶
helix uiopens a read-only live dashboard of a run in the browser: the loop and frontier, the lineage of every proposal, the path from the seed to the best candidate, each candidate's diff, prompt and scores, the agent's live transcript (Codex and Claude), and cost per generation. It never writes to the run. See the Live dashboard guide..helix/timing.jsonlhas ausagerecord for every agent charge (tokens,cost_usd, candidate, source, generation), rejected proposals included..helix/timing.jsonlhas asessionrecord with the session id of eachclaudeandcodexagent call, sohelix uishows each agent's own live transcript even when parallel sandboxed agents share one login volume.- A proposal rejected for changing protected evaluator files lists them under
pathsin itsdecisionrecord in.helix/timing.jsonl. examples/eterna100evolves an RNA sequence designer on the Eterna100-V2 benchmark, with Codex as the agent. In the recorded run it went from 6 to 32–33 of 50 held-out puzzles.
Packaging¶
- New dependencies
starletteanduvicorn, forhelix ui's local server.
Changed¶
evolution.retain_rejected_worktrees = truekeeps every rejected candidate (worktree,helix/<id>ref and transcript), not only validation-stage rejects. A run that already set it keeps more worktrees;helix cleanremoves them. The default (off) is unchanged.
Fixed¶
- A protected
.gitignoreno longer causes false tamper rejections: HELIX no longer edits it, and still keeps its own artifacts out of candidate commits, cache keys and diffs. examples/web_researcherreports asolve()exception, such as a missing API key, in the question's feedback instead of as an empty answer.
[0.3.0] - 2026-11-09¶
Added¶
pibackend (agent.backend = "pi", verified with pi 1.5.0), on the host and in the Docker sandbox (helix sandbox login pi). pi has no turn cap, somax_turnsis only a hint; for a local engine, see the configuration guide.examples/maniskill_pick_place/(#77, by Mahanth Komuravelli) evolves a multi-file solver for a Franka Panda on ManiSkill 3 push, pick and stack. In the recorded run one mutation took validation from 0.064 to 1.0.- A docs site, https://ke7.github.io/helix/, and a HELIX logo.
- Every run writes a timing trace to
.helix/timing.jsonl.helix timingshows where time went, including model and tool time inside agent calls (claude, codex, opencode, pi), and--perfetto FILEexports a timeline. from helix import timedtimes your own steps in the evaluator, its sidecar or scripts the agent runs;helix timingtotals them.helix attemptslists rejected candidates and perfect-score skips, with filters and--json.evolution.mutations_per_parent(N) proposes N children per sampled parent, P × N per iteration;evolution.proposal_selection(all_improvements,best_improvement,top_kwithproposal_top_k) picks which passing ones get full validation.evolution.candidate_selection_strategy:pareto(default),current_best,epsilon_greedy(candidate_selection_epsilon) ortop_k_pareto(candidate_selection_top_k), GEPA's parent-selection strategies.evolution.batch_sampler = "stratified"takesnum_sampled_groupsandnum_examples_per_group.evolution.sibling_history(default off) shows the mutation agent the children already proposed from the same parent, with their training scores and a summary of each change. Each summary is one more, charged backend call;sibling_summary_max_wordsandsibling_history_max_entriesbound them.evolution.stop_at_score/--stop-at-scoreends the run once an accepted candidate reaches the target score.evolution.retain_rejected_worktreeskeeps the worktrees of children rejected at validation;helix cleanremoves them.[agent].web_access = falseturns off the agent's built-in web tools. The shell can still reach the network; for a strict no-web run, use the sandbox.[sandbox].networkaccepts an existing Docker network, and[sandbox].auth_volumegives a run its own credentials volume.- Sandboxed agents start each generation from a clean session; credentials and
config are kept. Give concurrent runs separate
auth_volumes. xhighandmaxare acceptedeffortvalues for claude.- Runner images are rebuilt weekly and whenever a merge changes them, and a PR check builds and probes them.
Changed¶
- BREAKING: HELIX requires Python 3.12 or newer; 3.12 to 3.15 are tested.
- BREAKING: the
geminibackend is replaced byagy(Google's Antigravity CLI). Runhelix sandbox login agy. - BREAKING:
evaluator.score_parserand thepytest,exitcode,json_accuracyandjson_scoreparsers are removed. Print oneHELIX_RESULT=line with a[score, side_info]pair per id inhelix_batch.json. Runs saved by 0.2.x cannot be resumed. - BREAKING:
evolution.frontier_typedefaults to"instance"(was"hybrid"). Set"hybrid"yourself if your evaluator emits per-example objective scores. - BREAKING:
agent.allowed_toolsandsandbox.preserve_backend_transcriptsare removed (transcripts are always kept); configs that set them are rejected. - BREAKING:
evolution.num_parallel_proposalsno longer accepts"auto". It andmax_workersmust be at least 1, andmax_workersnow limits only concurrent proposal slots. - BREAKING: configuration errors exit with status 2 (was 1).
- BREAKING (
examples/circle_packing): the example is now optimize_anything's circle-packing experiment, with GEPA's fitness function; the old one leaked its answer to the agent. - BREAKING (Python API):
helix.mutator.parse_mutation_summaryis removed, and prompts no longer ask for[MUTATION COMPLETE]markers. - BEHAVIOUR: parent selection ranks candidates by mean instance score instead of the sum, as GEPA does.
- A rate-limited backend call is an ordinary failed mutation or merge, as in GEPA, instead of ending the run.
- The generation counter advances every iteration, as in GEPA.
helix evolveflags are validated together withhelix.toml.evolution.val_stage_size: a passing validation stage is reused, so final validation runs only the remaining ids. The evaluator must score each id the same way on any subset.- The mutation prompt shows only the current minibatch's feedback.
- Identical children proposed in one batch become one frontier entry.
- A scalar evaluator result applies to every requested id.
- Runner images are published for amd64 and arm64.
examples/web_researcherasks Claude Haiku directly and runs in the sandbox with its evaluator files protected.- The README is a short overview; the reference material moved to the docs.
CONTRIBUTING.mdsets the rules for every PR, human or agent. The HELIX agent skill is a Claude Code project skill (.claude/skills/helix).
Fixed¶
- Unsandboxed Claude Code on a Mac subscription works: the agent's
environment keeps
USER, so Claude finds its login. - Merges work: the merge agent gets its task, a merge that changes nothing is rejected before evaluation, and the merge prompt no longer shows validation scores or protected files.
- Seedless mode works: the seed agent gets its task, the seed is committed so its children build on it, and the seed prompt no longer shows the evaluator command.
- Projects without a
[dataset](single task) can be scored. - Sibling history shows each child's training score, never a validation score.
helix resumekeeps a candidate validated just before an interrupt, cleans up interrupted attempts, and no longer fails on a leftover branch.helix logshows the run, one row per candidate, andlineage.jsonrecords each child'sfiles_changed.- Token and cost accounting: Claude cache reads are counted once, opencode counts every model call, and failed calls, sandbox timeouts and every proposal slot are charged.
- Every backend's transcript is kept (it was claude only), and the live
"Tools" count and
helix timingread it, including unsandboxed Claude ([sandbox].claude_transcript_rootnow applies to sandboxed runs only). - An agent call that hits
[sandbox].timeout_secondsis a failed mutation. max_evaluationsis checked between iterations, as in GEPA, so validations already paid for are not thrown away.- A child whose evaluation raises is rejected instead of ending the run.
max_generationsmust be at least 1; 0 used to run nothing or crash.--diraccepts relative paths, andhelix attemptstakes--dir.helix best --exportcopies only the candidate's files, not HELIX's logs.- Change summaries no longer drop a successful mutation, cost nothing when
the child changed nothing, and no longer describe HELIX's
.gitignoreedit. - opencode: unsandboxed runs keep your stored logins and run parallel proposals without database errors; sandboxed runs work again.
- Sandbox sync-back drops symlinks that point outside the candidate.
- Backend output with U+2028 or U+2029 inside JSON strings parses.
- Parent selection is reproducible for a given random seed.
- Cached evaluations keep per-example feedback, and an evaluator that returns the wrong number of results no longer corrupts the cache.
- Concurrent worktree operations no longer drop proposal slots.
- Docker errors no longer print
passthrough_envvalues. - Error panels and
helix initprint bracketed text and TOML table names as written. examples/web_researcherinstalls HELIX in its evaluator's environment.- Messages name the configured backend instead of always saying Claude Code.
[0.2.1] - 2026-05-10¶
Note: 0.2.0 was published from a broken build and is superseded by this release. Do not install 0.2.0; use 0.2.1 or later.
Removed¶
- Orphan
helix.tomltemplate at the repository root. The runtime template thathelix initwrites lives inline insrc/helix/cli.py::_HELIX_TOML_TEMPLATE; the repo-root file was a stale stub no docs or code referenced.
Packaging¶
- Tightened the sdist via
[tool.hatch.build.targets.sdist]. The source distribution now ships onlysrc/helix,pyproject.toml,uv.lock,README.md, andLICENSE(mirrors GEPA's lean PyPI layout, minustests/). Wheel contents unchanged.
Added¶
- Multi-axis Pareto frontier (GEPA's
FrontierTypetype alias incore/state.py). Newevolution.frontier_type: Literal["instance", "objective", "hybrid", "cartesian"]with default"hybrid"— matches GEPA's own Optimize Anything engine default (EngineConfig.frontier_typeingepa_launcher.py).ParetoFrontiernow tracks per-objective-name and per-(val_id, objective_name)best sets alongside the existing per-example-id tracking, andget_non_dominated()/select_parent()dispatch onfrontier_type. The acceptance gate stays positional onscores_listunchanged. EvalResult.per_example_side_info: list[dict[str, Any]] | None— per-example diagnostic dicts from the newhelix_resultcontract, positional toinstance_scoresbyhelix_batch.jsonid order. GEPA analogue:EvaluationBatch.trajectoriesincore/adapter.py.EvalResult.objective_scores: list[dict[str, float]] | None— per-example objective-axis harvest fromside_info["scores"]. GEPA analogue:EvaluationBatch.objective_scoresincore/adapter.py. Feedsfrontier_type ∈ {"objective", "hybrid", "cartesian"}; harmless on the"instance"path.DatasetConfig.train_size/val_size— cardinality-only fields that drive the minibatch sampler when the evaluator owns the dataset (Architecture A example-id handoff). HELIX writes sampled example ids to{worktree}/helix_batch.json; the evaluator filters its own dataset.SeedlessConfig— new section carryingenabledplus the optional prompt-groundingtrain_path/val_pathused during seed generation.- Evaluator-owned dataset integration wired into Architecture A with
cardinality-only
train_size/val_size. load_confignow emits a dedicated hint for pydanticextra_forbiddenvalidation errors, pointing users at likely typos or misplaced keys.
Changed¶
- BREAKING: The built-in result parser now rejects malformed
side_info["scores"]payloads instead of silently dropping fields. Non-dict"scores"values, non-string objective names, and non-finite / non-numeric objective values now raiseEvaluatorErrorat parse time. Previously these were dropped (with a logged warning at most), which let evaluators stuff arbitrary diagnostics under"scores"— including pairwise / Bradley-Terry payloads — and then misread the result as scalar objective semantics. Pairwise / BT payloads are not implemented in HELIX yet; emit them under a differentside_infokey. Migration: ensureside_info["scores"]is adict[str, float|int|bool]with finite numeric values, or omit the key entirely. - BREAKING: Non-
"instance"evolution.frontier_typevalues now fail loudly when anEvalResultlacks per-exampleobjective_scores, has length-mismatchedobjective_scores, or has all-empty objective slots.ParetoFrontier.add()raises the newMissingObjectiveScoresErrorinstead of silently degenerating to scalar / instance-axis behaviour.select_parent()likewise raises rather than falling back to all-candidate sampling on objective-bearing modes. The"instance"path keeps its existing fallback semantics. - BREAKING:
evolution.cache_evaluationnow defaults toFalse(previouslyTrue). Matches GEPA Optimize Anything's conservativecache_evaluationdefault onEngineConfigingepa_launcher.py. When the cache is enabled, entries are now keyed by candidate content (the worktree'sHEAD^{tree}SHA, with a clean-state guard) rather than HELIX's lineagecandidate.id, so equivalent candidates can reuse results across re-derivations. Configs that previously relied on cache hits (e.g. resume scenarios that re-evaluate the seed) should setcache_evaluation = trueexplicitly. - BREAKING: The built-in result parser now takes a per-example
HELIX_RESULT=[[score_0, side_info_0], [score_1, side_info_1], ...]payload — one[score, side_info]pair per id inhelix_batch.json. HELIX zips it intoinstance_scoresand storesside_info_ionEvalResult.per_example_side_infofor the reflection prompt. GEPA Optimize Anything parity — evaluators return per-example(score, side_info)results, asOptimizeAnythingAdapterexpects. The previous scalar-plus-id-keyed-dict contract is removed — it silently failed the minibatch gate whenever the evaluator keyed its dict by aggregate metric names (task__metric) instead of per-example ids (task__trialN). Migration: replaceHELIX_RESULT=[mean, {"scores": {id_i: v_i, ...}, ...}]withHELIX_RESULT=[[v_0, {"info": "..."}], [v_1, {...}], ...]. helix.executor.run_evaluatornow emits aWARNINGlog line when the post-filter zero-fills any requested id (naming the count and a sample of up to five). Non-breaking — behaviour is unchanged, only observability improves. Catches parser / id-keying mismatches on evaluator/id mismatches.- BREAKING:
seedlessis now a section ([seedless]withenabled = …), not a top-level boolean. - BREAKING:
dataset.train_path/dataset.val_pathhave moved toseedless.train_path/seedless.val_path.[dataset]is now cardinality-only (train_size/val_size). - BREAKING:
helix_batch.jsonpayload shape is nowlist[str]instead oflist[int]. Example ids flow through the Architecture A evaluator handoff as opaque strings — the default_RangeDataLoaderemits"0","1", …, andStratifiedBatchSampleremits task-prefixed ids like"group_alpha__case_3". Evaluators that previously read the handoff aslist[int]must cast on their side ([int(s) for s in json.loads(Path("helix_batch.json").read_text())]) or switch to string-keyed lookup. Unblocks the stratified sampler on Architecture A, which previously died withValueError: invalid literal for int()at the serialization boundary. - BREAKING: All pydantic sub-models in
src/helix/config.py(EvaluatorConfig,DatasetConfig,SeedlessConfig,EvolutionConfig,ClaudeConfig,WorktreeConfig,HelixConfig) now usemodel_config = ConfigDict(extra="forbid"). Unknown / misplaced / mistyped TOML keys raise a validation error at load time instead of being silently dropped. Previously, placingbatch_samplerunder[evaluator](the key lives on[evolution]) silently left users on the default sampler with no warning.
[0.1.0] - 2026-04-10¶
Added¶
- GEPA (Genetic-Pareto) parity support for evolution strategies
- Seedless evolution mode allowing evolution without explicit random seeds
- Automatic retry logic for API rate-limit handling
- Rich progress bar for evolution tracking and visualization
- Multi-file evolution support for complex codebases
Changed¶
- Refactored identity system for improved modularity and maintainability
- Enhanced configuration system with better validation
Fixed¶
- Rate-limit handling in API interactions
- Progress tracking accuracy during long-running evolutions