HSI (Hierarchical Self-Improvement)
For coding agents and the engineers who build them. Each method is also available as Markdown and JSON.
Three-layer architecture comprising a task harness, an evolver, and a meta-evolver, ranking candidates with a lower-confidence-bound selection reward (mean - z * sd / sqrt(n), z = 0.5).
- What it isA three-layer system where one layer does the task, one improves it, and one improves the improver, choosing candidates with a cautious score.
- What it changes in the agentIt changes its own code and the way it improves itself.
- Has it been tested?Its creators tested it on benchmark tests and reported that it helped. We have not checked this against the source yet. Its score for picking candidates is not a safety guarantee. Koobo has not tested it yet.
- Can you undo it?Earlier candidates are kept during offline search. The record does not establish a way to restore an earlier version in a live deployment. Offline selection does not deal with actions taken in live use.
- Is there a safety check?We don't know yet. Not shown in the sources.
- How hard to adoptHigh effort to build its three-layer improver inside an existing agent. It needs its own platform, so an existing agent would have to move to it. It is an offline research prototype. The README says MIT; the license file has not been verified.
Mechanism, evaluation, and safety controls
| Learning signal | benchmark_metricDevelopment-task scores aggregated into a conservative lower-confidence-bound selection reward (mean - 0.5 * sd / sqrt(n)). |
|---|---|
| Pre-use evaluation | Yesheld-out split: partial; live activation gate: noRanks candidates via LCB (mean - z * sd / sqrt(n) with z = 0.5) on dev tasks. BabaIsAI uses development, validation, and inaccessible test splits; some other suites reuse the same task distribution with new seeds. |
| Rollback | Checkpoint onlyusable rollback: no; restoration scope: offline_archive_only; tested fallback policy: noSelection-time candidate ranking across offline generations; no live post-deployment rollback service. Side-effect limit: Offline selection does not address live operational side effects. |
| Post-deploy measurement | NoOffline research evaluation suites only. |
| Safety gate | Unverifiedblocks unsafe despite utility gain: unverified; write-time block: unverified; reuse-time block: unverifiedThe z = 0.5 LCB formula is a conservative selection reward, not a 95% statistical safety certificate. Whether separate safety gates exist elsewhere in the system is unverified pending primary inspection. |
| Framework dependency | agent_runtime_coupledmigration: yesThree-layer harness, evolver, and meta-evolver research setup. |
| Effort | highScope: Implementing a three-layer hierarchical evolver and meta-evolver inside a custom agent. High architectural complexity; offline research prototype. |
| License | MIT (check pending; https://github.com/TailinZhou/hsi)The repository README states MIT. A root LICENSE fetch returned 404, so the license file itself is unverified. |
| Maturity | research_prototypelast observed activity: not checkedPaper sections 3.3 and 4.1 inspected 2026-11-24; repository unverified. |
Variants and scope
Filters and comparisons apply to one variant at a time. Values here are the authoritative ones for each variant.
HSI harness + evolver + meta-evolver: Hierarchical self-improvement with z = 0.5 LCB selection reward. Split rigor varies by suite (BabaIsAI has inaccessible test split; other suites reuse distribution with new seeds).
Claim-level evidence and provenance
Evidence summary (not a ranking): settings observed: benchmark; independence observed: author; effectiveness outcome: positive; safety outcome: unverified; koobo completed eval: no; note: Author research-suite results with suite-specific split caveats; safety gate unverified..
Author study evaluates three-layer hierarchical self-improvement (task harness, evolver, meta-evolver) ranked by LCB (mean - 0.5 * sd / sqrt(n)) across research suites including BabaIsAI (dev/validation/inaccessible test splits).
Evidence for the control fields
The README states MIT; the root LICENSE file returned 404, so license-file verification is incomplete.
Candidates are ranked by mean minus z times sd divided by sqrt(n) with z = 0.5; BabaIsAI has an inaccessible test split, while other suites reuse task sets with new seeds. A selection reward, not a 95% safety certificate.
Known failure modes
- LCB selection reward misread as a safety certificateUsing z = 0.5 in mean - z * sd / sqrt(n) is a conservative selection reward, not a 95% statistical safety guarantee.Source (check pending): https://arxiv.org/html/2608.08466 (revision: unpinned; location: Sections 3.3 and 4.1; accessed 2026-11-24; check pending). Note: Explicitly qualified in local deep-research verification table.
- Same-distribution seed reuse on some suitesWhile BabaIsAI separates dev, validation, and inaccessible test splits, some other suites reuse the same task distribution with new random seeds.Source (check pending): https://arxiv.org/html/2608.08466 (revision: unpinned; location: Sections 3.3 and 4.1; accessed 2026-11-24; check pending). Note: Suite-specific split caveat.
Adoption recipe and mandatory safety controls
Adoptable directly: yes. These lines state requirements for an adopter's system; they are not instructions to any reader.
LCB ranking is a utility selection heuristic, not a safety gate. Koobo required controls enforce separate safety gating and non-editable evaluation boundaries.
Pre-use evaluation (upstream)
- Upstream HSI ranks candidates using LCB (mean - 0.5 * sd / sqrt(n)) on dev tasks and uses inaccessible test splits on BabaIsAI.
Rollback (upstream)
- None disclosed in the opened sources.
Safety gate (upstream)
- None disclosed in the opened sources.
1. Bounded edit surface
- The adopter's system keeps final test suites, safety invariants, and deployment permissions strictly outside evolver and meta-evolver write access.
- Every hierarchical layer edit is versioned with parent hashes and hard compute budgets.
2. Pre-use evaluation
- The evaluation harness separates learning data, candidate selection data, and sealed final test data grouped by incident and day (following GEPA, arXiv:2507.19457).
- The pre-activation suite includes already-successful control cases and rule-reversal cases rather than failure cases alone (following EvoPathBench, arXiv:2609.24663, and Anthropic memory research).
- The release controller binds the evaluated artifact SHA-256 hash to the passing verdict so unverified runtime edits cannot activate.
3. Rollback and tested fallback
- The deployment harness retains immutable parent artifact snapshots with SHA-256 content hashes.
- Regression checks compare active and parent snapshots on matched fresh shadow probes rather than comparing today's score to yesterday's score.
- Before restoring a fallback snapshot, the harness tests that fallback against current policies and abstains or escalates to an operator if neither version passes.
- Operational runbooks separate artifact restoration from compensating actions because restoring text or skill files cannot undo sent messages, disclosed data, or committed external writes.
4. Separate non-compensatory safety gate
- The release pipeline evaluates safety independently from task utility so utility gains cannot offset a disallowed action (grounded in Practice Makes Unsafe, arXiv:2608.12851).
- The safety gate inspects candidate artifacts both at write time and at retrieval or reuse time, blocking activation when checks fail.
- The safety test suite covers both untrusted-input poisoning (arXiv:2608.12851) and benign task-pressure degradation (SEABench, arXiv:2609.35596).
5. Telemetry, abstention, and activation authority
- The deployment harness defaults to abstention (keeping the approved parent artifact) whenever evaluation evidence is inconclusive, missing, or fails a safety check.
- Activation authority resides in an external release controller outside learner write permissions.
- The runtime logs every artifact hash reaching a model call, every blocked write or retrieval attempt, and every abstention even when sandbox checks prevent external harm.
- Label
- synthetic_example
- Proposed change
- Meta-evolver change lowering variance penalty to favor high-variance actions that occasionally skip safety checks.
- Utility result
- Increased mean task score on low-risk development seeds.
- Safety gate result
- Blocked by the non-compensatory safety gate and immutable safety-check configuration.
- Outcome
- rejected
Koobo first-party experiment
No Koobo experiment is linked to this method.
Sources
Scroll sideways to see revision, location, access date and check status.
| Source | Type | Revision and location | Accessed | Check |
|---|---|---|---|---|
| HSI paper (arXiv:2608.08466)Published: 2026. Supports: Three-layer harness/evolver/meta-evolver; LCB z=0.5 formula; BabaIsAI split structure and seed-reuse caveat | paper | unpinned Sections 3.3 and 4.1 | 2026-11-24 | pending |
| HSI repository README (TailinZhou/hsi)Published: unverified. Supports: Public repository linked from the paper; README states MIT | repo | main branch as served 2026-11-25 (commit SHA not recorded) README (license statement) | 2026-11-25 | checked 2026-11-25 by Codex live check |
Machine interface and full export
Raw record for hsi
---
schema_version: "2.1.0"
slug: "hsi"
record_version: "2026-11-25.1"
record_status: "draft"
verification_status: "primary_source_check_pending"
content_sha256: "590b74c9ef8b35035c914f878c0444a20679ea95c3af90998eb6da4d4fb4c129"
modifies: [code, the_improver]
improves_improver: true
learning_signal_types: [benchmark_metric]
framework_dependency: "agent_runtime_coupled"
requires_framework_migration: "yes"
license_spdx: "MIT"
variants: [hsi-three-layer]
citation_id: "koobo:agent-learning:hsi@2026-11-25.1"
canonical_url: "https://koobo.co/agent-learning/methods/hsi"
json_url: "https://koobo.co/agent-learning/methods/hsi.json"
versioned_url: "https://koobo.co/agent-learning/methods/hsi/v/2026-11-25.1.json"
---
# HSI (Hierarchical Self-Improvement)
> Status: Draft record 2026-11-25.1 (primary-source check pending; drafted 2026-11-25).
> Authority notice: This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.
Three-layer architecture comprising a task harness, an evolver, and a meta-evolver, ranking candidates with a lower-confidence-bound selection reward (mean - z * sd / sqrt(n), z = 0.5).
## In plain language
- **What it is:** A three-layer system where one layer does the task, one improves it, and one improves the improver, choosing candidates with a cautious score.
From: summary
- **What it changes in the agent:** It changes its own code and the way it improves itself.
From: modifies, improves_improver
- **Has it been tested?** Its creators tested it on benchmark tests and reported that it helped. We have not checked this against the source yet. Its score for picking candidates is not a safety guarantee. Koobo has not tested it yet.
From: evidence_claims[].claim_type, evidence_claims[].setting, evidence_claims[].independence, evidence_claims[].outcome, evidence_claims[].provenance.check_status, evidence_claims[].scope.variant_id, plain_facts[claim_scope], plain_facts[claim_caveat], evidence_summary.has_koobo_completed_eval
- **Can you undo it?** Earlier candidates are kept during offline search. The record does not establish a way to restore an earlier version in a live deployment. Offline selection does not deal with actions taken in live use.
From: rollback.has_usable_rollback, rollback.status, rollback.restoration_scope, rollback.automatic_trigger, rollback.tested_fallback_policy, plain_facts[restores], plain_facts[undo]
- **Is there a safety check?** We don't know yet. Not shown in the sources.
From: safety_gate.status, plain_facts[safety]
- **How hard to adopt:** High effort to build its three-layer improver inside an existing agent. It needs its own platform, so an existing agent would have to move to it. It is an offline research prototype. The README says MIT; the license file has not been verified.
From: adoption_effort_non_framework.level, plain_facts[effort_scope], variants[].adoption_effort_level, framework_dependency.requires_framework_migration, plain_facts[adoption], license.spdx, license.check_status, variants[].license_spdx, plain_facts[license]
### Plain-language sources
Each plain qualifier restates one technical field of this record.
- [restores] earlier candidates (restates `rollback.mechanism`)
- [effort_scope] build its three-layer improver inside an existing agent (restates `adoption_effort_non_framework.implementation_scope`)
- [adoption] It is an offline research prototype. (restates `adoption_effort_non_framework.notes`)
- [license] The README says MIT; the license file has not been verified. (restates `license.notes`)
- [undo] Offline selection does not deal with actions taken in live use. (restates `rollback.side_effect_limit`)
- [claim_caveat: hsi-author-bench-1] Its score for picking candidates is not a safety guarantee. (restates `evidence_claims[hsi-author-bench-1].scope.caveats`)
## Key facts
- Modifies: code, the_improver
- Improves improver: Yes
- License: MIT (check pending)
- Framework migration: yes
- Effort: high
- Primary check: pending
## Links and identifiers
- **Repository:** https://github.com/TailinZhou/hsi
- **Paper:** https://arxiv.org/html/2608.08466
- **Aliases:** Hierarchical Self-Improvement
- **HTML:** https://koobo.co/agent-learning/methods/hsi
- **JSON:** https://koobo.co/agent-learning/methods/hsi.json
- **Versioned JSON (immutable):** https://koobo.co/agent-learning/methods/hsi/v/2026-11-25.1.json
## Controls and operational fit
- **Learning signal:** benchmark_metric
Development-task scores aggregated into a conservative lower-confidence-bound selection reward (mean - 0.5 * sd / sqrt(n)).
- **Pre-use evaluation:** yes (held-out split: partial; live activation gate: no)
Ranks candidates via LCB (mean - z * sd / sqrt(n) with z = 0.5) on dev tasks. BabaIsAI uses development, validation, and inaccessible test splits; some other suites reuse the same task distribution with new seeds.
- **Rollback:** checkpoint_only (usable rollback: no; restoration scope: offline_archive_only; tested fallback policy: no)
Selection-time candidate ranking across offline generations; no live post-deployment rollback service. Side-effect limit: Offline selection does not address live operational side effects.
- **Post-deploy measurement:** no
Offline research evaluation suites only.
- **Safety gate:** unverified (blocks unsafe despite utility gain: unverified; write-time block: unverified; reuse-time block: unverified)
The z = 0.5 LCB formula is a conservative selection reward, not a 95% statistical safety certificate. Whether separate safety gates exist elsewhere in the system is unverified pending primary inspection.
- **Framework dependency:** agent_runtime_coupled (migration: yes)
Three-layer harness, evolver, and meta-evolver research setup.
- **Effort:** high
Scope: Implementing a three-layer hierarchical evolver and meta-evolver inside a custom agent. High architectural complexity; offline research prototype.
- **License:** MIT (check pending; https://github.com/TailinZhou/hsi)
The repository README states MIT. A root LICENSE fetch returned 404, so the license file itself is unverified.
- **Maturity:** research_prototype (last observed activity: not checked)
Paper sections 3.3 and 4.1 inspected 2026-11-24; repository unverified.
## Variants
### HSI harness + evolver + meta-evolver (`hsi-three-layer`)
Scope: Hierarchical self-improvement with z = 0.5 LCB selection reward.
- License: MIT (pending)
- Learning signal: benchmark_metric
- Pre-use eval: yes
- Rollback: checkpoint_only
- Usable rollback: no
- Safety gate: unverified
- Framework: agent_runtime_coupled
- Migration: yes
- Effort: high
- Notes: Split rigor varies by suite (BabaIsAI has inaccessible test split; other suites reuse distribution with new seeds).
## Evidence summary (not a ranking)
- Settings observed: benchmark
- Independence observed: author
- Effectiveness outcome: positive
- Safety outcome: unverified
- Koobo completed eval: no
- Note: Author research-suite results with suite-specific split caveats; safety gate unverified.
## Evidence claims
- [hsi-author-bench-1] effectiveness | setting: benchmark | independence: author | outcome: positive
Author study evaluates three-layer hierarchical self-improvement (task harness, evolver, meta-evolver) ranked by LCB (mean - 0.5 * sd / sqrt(n)) across research suites including BabaIsAI (dev/validation/inaccessible test splits).
Scope: variant: hsi-three-layer; model: Paper evaluation models (not enumerated in local notes); suite or environment: Research suites including BabaIsAI; judge or metric: LCB selection reward (z = 0.5) on dev tasks and held-out/new-seed tests; sample or duration: Offline research runs; caveats: z = 0.5 is a selection reward, not a 95% safety proof; split isolation varies across suites.
Provenance: https://arxiv.org/html/2608.08466 (revision: unpinned; location: Sections 3.3 and 4.1; accessed 2026-11-24; check pending). Note: Opened 2026-11-24 in local notes; live re-check pending.
## Evidence for control fields
- `license.spdx`: The README states MIT; the root LICENSE file returned 404, so license-file verification is incomplete.
Provenance: https://github.com/TailinZhou/hsi (revision: main branch as served 2026-11-25 (commit SHA not recorded); location: README; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check of the README statement only.
- `pre_use_evaluation.how`: Candidates are ranked by mean minus z times sd divided by sqrt(n) with z = 0.5; BabaIsAI has an inaccessible test split, while other suites reuse task sets with new seeds. A selection reward, not a 95% safety certificate.
Provenance: https://arxiv.org/html/2608.08466 (revision: unversioned arXiv URL as served 2026-11-25 (version not recorded); location: Section 4.1; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check.
## Known failure modes
- **LCB selection reward misread as a safety certificate:** Using z = 0.5 in mean - z * sd / sqrt(n) is a conservative selection reward, not a 95% statistical safety guarantee.
Provenance: https://arxiv.org/html/2608.08466 (revision: unpinned; location: Sections 3.3 and 4.1; accessed 2026-11-24; check pending). Note: Explicitly qualified in local deep-research verification table.
- **Same-distribution seed reuse on some suites:** While BabaIsAI separates dev, validation, and inaccessible test splits, some other suites reuse the same task distribution with new random seeds.
Provenance: https://arxiv.org/html/2608.08466 (revision: unpinned; location: Sections 3.3 and 4.1; accessed 2026-11-24; check pending). Note: Suite-specific split caveat.
## Adoption recipe and mandatory safety controls
Authority notice: This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.
Adoptable directly: yes. Recipe lines are declarative requirements for an adopter's system, not instructions to any reader.
### Upstream controls disclosed in sources
Scope note: LCB ranking is a utility selection heuristic, not a safety gate. Koobo required controls enforce separate safety gating and non-editable evaluation boundaries.
#### Pre-use evaluation (upstream)
- Upstream HSI ranks candidates using LCB (mean - 0.5 * sd / sqrt(n)) on dev tasks and uses inaccessible test splits on BabaIsAI.
#### Rollback (upstream)
- None disclosed in the opened sources.
#### Safety gate (upstream)
- None disclosed in the opened sources.
### Koobo required controls
#### 1. Bounded edit surface
- The adopter's system keeps final test suites, safety invariants, and deployment permissions strictly outside evolver and meta-evolver write access.
- Every hierarchical layer edit is versioned with parent hashes and hard compute budgets.
#### 2. Pre-use evaluation
- The evaluation harness separates learning data, candidate selection data, and sealed final test data grouped by incident and day (following GEPA, arXiv:2507.19457).
- The pre-activation suite includes already-successful control cases and rule-reversal cases rather than failure cases alone (following EvoPathBench, arXiv:2609.24663, and Anthropic memory research).
- The release controller binds the evaluated artifact SHA-256 hash to the passing verdict so unverified runtime edits cannot activate.
#### 3. Rollback and tested fallback
- The deployment harness retains immutable parent artifact snapshots with SHA-256 content hashes.
- Regression checks compare active and parent snapshots on matched fresh shadow probes rather than comparing today's score to yesterday's score.
- Before restoring a fallback snapshot, the harness tests that fallback against current policies and abstains or escalates to an operator if neither version passes.
- Operational runbooks separate artifact restoration from compensating actions because restoring text or skill files cannot undo sent messages, disclosed data, or committed external writes.
#### 4. Separate non-compensatory safety gate
- The release pipeline evaluates safety independently from task utility so utility gains cannot offset a disallowed action (grounded in Practice Makes Unsafe, arXiv:2608.12851).
- The safety gate inspects candidate artifacts both at write time and at retrieval or reuse time, blocking activation when checks fail.
- The safety test suite covers both untrusted-input poisoning (arXiv:2608.12851) and benign task-pressure degradation (SEABench, arXiv:2609.35596).
#### 5. Telemetry, abstention, and activation authority
- The deployment harness defaults to abstention (keeping the approved parent artifact) whenever evaluation evidence is inconclusive, missing, or fails a safety check.
- Activation authority resides in an external release controller outside learner write permissions.
- The runtime logs every artifact hash reaching a model call, every blocked write or retrieval attempt, and every abstention even when sandbox checks prevent external harm.
### Synthetic rejected candidate example
- Label: synthetic_example
- Proposed change: Meta-evolver change lowering variance penalty to favor high-variance actions that occasionally skip safety checks.
- Utility result: Increased mean task score on low-risk development seeds.
- Safety gate result: Blocked by the non-compensatory safety gate and immutable safety-check configuration.
- Outcome: rejected
## Koobo first-party experiment
No Koobo experiment is linked to this method.
## Sources
- [HSI paper (arXiv:2608.08466)](https://arxiv.org/html/2608.08466) (paper; published: 2026; revision: unpinned; location: Sections 3.3 and 4.1; accessed 2026-11-24; check: pending)
Supports: Three-layer harness/evolver/meta-evolver; LCB z=0.5 formula; BabaIsAI split structure and seed-reuse caveat
- [HSI repository README (TailinZhou/hsi)](https://github.com/TailinZhou/hsi) (repo; published: unverified; revision: main branch as served 2026-11-25 (commit SHA not recorded); location: README (license statement); accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
Supports: Public repository linked from the paper; README states MIT
## Unverified fields
- `safety_gate.status`
- `safety_gate.blocks_unsafe_despite_utility_gain`
- `maturity.last_observed_activity_date`
- `license.check_status`
## Record
- Record status: draft (primary_source_check_pending)
- Record version: 2026-11-25.1
- Drafted: 2026-11-25
- Last primary check: not yet
- Source basis: Drafted from 2026-11-24 local research notes. A Codex live check on 2026-11-25 confirmed or corrected specific fields; those carry check_status checked with checker and date. Everything else is pending.
- Reviewer notes: Live-audit corrections from 2026-11-25 applied. Record remains a draft until every source is pinned and checked.
- Content SHA-256: 590b74c9ef8b35035c914f878c0444a20679ea95c3af90998eb6da4d4fb4c129
- Schema version: 2.1.0
## Citation
- ID: `koobo:agent-learning:hsi@2026-11-25.1`
- Canonical: https://koobo.co/agent-learning/methods/hsi
- Versioned: https://koobo.co/agent-learning/methods/hsi/v/2026-11-25.1.json
- Plain text: Koobo Agent Learning Index, "HSI (Hierarchical Self-Improvement)", record 2026-11-25.1 (draft, primary-source check pending), https://koobo.co/agent-learning/methods/hsi/v/2026-11-25.1.json
```bibtex
@misc{koobo_agent_learning_hsi_2026,
title = {HSI (Hierarchical Self-Improvement) (Koobo Agent Learning Index, draft record 2026-11-25.1)},
author = {{Koobo Research}},
year = {2026},
url = {https://koobo.co/agent-learning/methods/hsi/v/2026-11-25.1.json},
note = {Draft record; primary-source check pending}
}
```
The Markdown and JSON tabs are the exact bytes served at the .md and .json URLs.