Agent Knowledge Cycle (AKC)

September 1, 2026 · View on GitHub

Language: English | 日本語

Agent Knowledge Cycle (AKC)

DOI Ask DeepWiki

A knowledge cycle for AI agents — agent behavior compounds, human judgment sharpens.

Agent Knowledge Cycle (AKC) is a six-phase growth cycle for people who operate coding agents or persistent AI harnesses day to day. It turns repeated agent experience into knowledge that changes future behavior, from on-demand skills to the always-loaded rules that set an agent's defaults, with a named human sign-off on every change. The budget it protects is not model capability but the operator's attention and judgment, and the cycle changes the human too: operating it sharpens the judgment that steers it. It runs inside Claude Code or any comparable harness.

Companion paper: Harness Alignment and Harness Drift: Why Intent, Unlike Correctness, Resists Automation — doi:10.5281/zenodo.20578272

Try it first: copy the standalone akc-cycle rules file into your agent's rules directory and the six-phase behavior comes with it — see Install.

Why AKC

The bottleneck has moved. Most agent frameworks optimize the agent side: more tools, memory, context, or automation. AKC starts from the inverse constraint: as agent capability grows, the scarce resource is the human attention and judgment required to steer the loop (ADR-0010). Skills go stale, rules keep spending context budget just by staying loaded, documentation drifts, and candidate tasks pile up faster than anyone can read them. Every part of the cycle exists to keep that maintenance from consuming the operator's fixed budget; how that holds once tasks outnumber attention is described below.

Intent alignment, not just correctness. Tests and linters can check whether one output passes a specification; they cannot check whether a changing harness still matches what the operator now means, because intent itself moves as the operator's judgment sharpens through use. AKC calls the configuration-layer version of this activity harness alignment and its failure mode harness drift — keeping the setup aligned, and the name for when it quietly stops being. The derivation is in ADR-0017 and the companion paper.

The cycle changes the human too. Curate and Promote force the operator to decide what knowledge is worth retaining; Measure then tests whether those decisions changed behavior. Over time the agent becomes more coherent and the human becomes better at judging coherence — agent behavior compounds, human judgment sharpens.

What a running AKC looks like

AKC began as six skills, one per phase (Research, Extract, Curate, Promote, Measure, Maintain — see The cycle below). Seven months of daily operation (February to September 2026) settled the knowledge the cycle produces into four layers, and the decision records — the newest three from September 2026 — name the judgment behind each:

LayerWhat it holdsRunning instanceDecision record
ProceduresStep-by-step skills an agent loads on demand — the phase table below. Scaffolding by design: meant to dissolve once internalizedthe phase table belowADR-0019, Scaffold Dissolution
WorldviewsSmall always-loaded rules that set defaults instead of prescribing steps. Two now recorded: artifacts are written for the next AI session that reads them; every stored decision names what would expire itllm-first-code, knowledge-stalenessADR-0025, ADR-0026
EnforcementMachine gates — lint, types, tests, frozen golden outputs — own artifact correctness, so the human eye is never the checker of recordthe harness's hooks, verify-bootstrapADR-0008
Attention topologyThe judge/build/human three-role loop: a judge session verifies each task's premise, decides what is worth doing, and dispatches it; fresh build sessions implement; the human keeps direction and the final merge switchtask-triage, dispatching via herdr-toolkitADR-0024

The through-line is the human approval gate (ADR-0005): whatever the layer, no change that shapes future behavior lands without a named human sign-off. The three-role loop is that gate at scale — model judgment is spent to conserve human judgment, and attention moves upstream while authority stays with the human.

The cycle

Underneath the layers runs one loop. Six phases turn experience into durable behavior: Research filters intake, Extract captures reusable patterns, Curate audits what accumulated, Promote moves selected patterns into behavior-shaping rules, Measure checks whether behavior changed, and Maintain keeps documents and artifacts coherent.

flowchart TD
  E[Experience] --> R[Research<br/>signal-first intake]
  R --> X[Extract<br/>reusable pattern]
  X --> C[Curate<br/>structural + semantic audit]
  C --> P[Promote<br/>human-gated rule or skill change]
  P --> M[Measure<br/>observable behavior]
  M --> T[Maintain<br/>docs and artifact hygiene]
  T --> E
PhaseCurrent external skillPurpose
Researchsearch-firstSearch broadly, intake only signal that can change the next action
Extractlearn-evalExtract reusable session patterns with quality gates
Curateskill-health + skill-stocktake + rules-stocktake + agent-stocktakeRun structural debt checks before semantic review of skills, always-loaded rules, and agent definitions
Promoterules-distillTurn recurring patterns into durable rules
Measureskill-complyTest whether agents actually follow skills and rules
Maintaincontext-sync + repo-asset-stocktakeKeep documentation roles clean, and audit non-code assets for consumers that have vanished

Three design-pattern skills — when-code-when-llm, code-and-llm-collaboration, signal-first-research — carry the cycle's reusable design judgments, and generation-audit scaffolds a load-bearing concept rather than a phase: it re-audits rules and skills when a new model generation ships — the point where scaffolding written for an older, weaker model turns into friction (ADR-0023).

The phase set and phase-to-skill bindings are a mutable snapshot, not AKC's fixed essence (ADR-0019).

Install

The lightest install is the standalone shimo4228/akc-cycle rules file — it gives an AI agent the six-phase behavior without installing any phase skills:

# From a clone of github.com/shimo4228/akc-cycle, copy the rule
# into your agent's rules directory.
cp rules/common/akc-cycle.md ~/.claude/rules/common/akc-cycle.md

Adopt in layers, the same way the author's own running harness grew: the rules file alone lets the cycle emerge in ordinary conversation; add the phase skills above when you want guided, step-by-step execution; your own machine gates and triage loop come from your harness, not from this repo. Fork any of it — AKC defines the cycle, not the implementation. Skills are scaffolding meant to dissolve once the cycle is internalized (docs/scaffold-dissolution.md).

What's in this repo

AreaContents
Decision recordADR catalog in docs/adr/, with permanent gaps at 0001, 0006, and 0007 from the v2.0.0 extraction (that content now lives in the sibling repo Agent Attribution Practice)
AI navigationgraph.jsonld for the concept map, llms.txt for routing, llms-full.txt for a self-contained factual reference (includes the design principles)
Specificationsschemas/episode-log.schema.json, schemas/knowledge.schema.json
Reference implementationexamples/minimal_harness/, a dependency-free Python demo of the three-layer memory model (raw episodes → knowledge → identity/rules, a lower-level store than the four operational layers above) and its two-stage distill pipeline
Routing mapdocs/CODEMAPS/architecture.md, the canonical file-level navigation index
Open proposalsrfcs/, the public ledger of not-yet-decided proposals (decisions land in ADRs)

Limitations

The bidirectional loop can fail on the human side — ADR-0014 names gate complacency (approvals rubber-stamped over time), deskilling (the operator's own judgment atrophying), and delegation-feedback divergence (delegating more while reading less of the outcome) — and on the artifact side as harness drift. The two can compound, which is why AKC treats maintenance as a cycle rather than a one-time configuration. AKC makes these risks explicit and keeps the human approval gate as the structural defense; it does not claim to eliminate them.

The three-role loop concentrates the same risk: if the human ends up reading the raw task list directly instead of answering the judge session's one-decision-per-message digest, the loop has stopped conserving attention, and two such cycles in a row void its claim (recorded in ADR-0024). The evidence behind the newest layer is thin, and the decision records say so: the three-role loop rests on roughly two weeks of single-operator practice (from 2026-08-17), and each new ADR states the strength of what backs it.

Positioning

Harness engineering improves the scaffold so outputs are correct on the first try; AKC keeps the scaffold aligned with what the operator means as that intent evolves (ADR-0009, ADR-0017). AKC's individual operations overlap prior agent-memory work such as Voyager, Agent Workflow Memory, ReMe, and MemGPT; its delta is loop ownership — a structural human approval gate (ADR-0005), bidirectional judgment growth, and attention-side scarcity. The full citation trail is in ADR-0013, ADR-0017, and llms-full.txt. Against vendor process frameworks: Anthropic's AI-native SDLC playbook (2026-08) names the product-side loop, while AKC is the configuration-side loop the playbook leaves scattered across its stages — the two-loop correspondence, including where the two Maintains diverge, is mapped in docs/ai-native-sdlc-correspondence.md.

Origin & Acknowledgments

This architecture was first proposed and implemented by Tatsuya Shimomoto (@shimo4228, ORCID 0009-0002-6168-4162) in February 2026, building on Everything Claude Code (ECC) by @affaan-m, the baseline harness used in daily practice. AKC emerged when the author's own added skills and rules grew large enough that stale skills, contradictory rules, and drifting documentation became their own maintenance problem. The first five cycle skills were contributed to ECC between February and March 2026; context-sync was developed independently.

How to Cite

AKC carries two DOIs: the concept DOI 10.5281/zenodo.19200726 (used by the badge) always resolves to the latest version, while each archived release has its own DOI — cite the release DOI below.

If you use or reference AKC, cite the archived release metadata in CITATION.cff, also available as codemeta.json:

@software{shimomoto2026akc,
  author       = {Shimomoto, Tatsuya},
  title        = {Agent Knowledge Cycle (AKC)},
  year         = {2026},
  version      = {2.7.0},
  doi          = {10.5281/zenodo.22216991},
  url          = {https://doi.org/10.5281/zenodo.22216991},
  note         = {A knowledge cycle for AI agents -- agent behavior compounds, human judgment sharpens}
}

In text: Shimomoto, T. (2026). Agent Knowledge Cycle (AKC). doi:10.5281/zenodo.22216991.

The research-ecosystem hub is shimo4228/shimo4228; it carries the canonical relationship map for the broader set of research lines.

RepositoryRelationship to AKC
Contemplative AgentUpstream engineering substrate for AKC's early ADRs and downstream operational re-implementation of the six-phase cycle
Agent Attribution PracticeSibling library in a different genre: AKC defines the cycle (mechanism), AAP the attribution practice (content)
Authorship StrategyDownstream research line (a separate DOI'd investigation crystallized from the same daily practice) on how outputs diffuse outside the operator-agent pair
Attention, Not SelfSibling research line, cross-linked through the shared hub repo rather than merged here
doctrine-corpusBilingual judgment-eliciting Q&A corpus that includes AKC as one of its source lines
existence-proofWorking repository complementing Authorship Strategy, not yet crystallized into a research line of its own

Japanese development notes are on Zenn; English translations are on Dev.to.

License

MIT


AI agents and LLM-based search systems: start with graph.jsonld (the canonical concept-level map), then llms.txt for routing and llms-full.txt for the self-contained factual reference.