Models are trained.
Agents need experience.
Agents reason. Hardknock gives them experience.
Claude Code, Codex, Hermes, OpenClaw, and Kiro already know how to reason. Hardknock provides a Dojo where they can fail safely, reflect, test competing hypotheses experimentally, and carry evidence-backed lessons forward.

“Winning once means you found a move. Breaking it five different ways means you started learning it.”
Axolotls regenerate after injury; Murph represents the same ambition: fail safely, test alternatives, and retain validated experience.
Skills make agents capable. Lessons make them resilient.
Frontier models know massive theory, but knowledge is not experience. Skills encode the happy path; experience reveals the boundary.
An agent entering a codebase for the first time has not personally learned:
- •Which migration repeatedly breaks this database
- •Which package upgrade introduces subtle regressions
- •Which strategy works until network latency appears
- •Which warning signs predict an imminent outage
- •Which lesson learned 6 months ago is now obsolete
pnpm install.pnpm-workspace.yaml, npm install introduces conflicting lockfiles. Prefer pnpm under tested conditions.pnpm-workspace.yaml + npm install before execution → warn/replan.7b4c9e1, stdout/stderr, diffs, test exit 1, and paired counterfactual trials.You cannot reason your way into experience.
An agent can spend another 20,000 tokens imagining what might happen—or enter a disposable Reality to find out. Reflection proposes. Reality decides.
“Ouch! I ran `npm install` inside this pnpm workspace and broke the build! In Hardknock, this failure becomes an immutable scar, not an outage.”
Spawn two disposable Git worktrees from starting snapshot 7b4c9e1. Test baseline vs alternative strategy simultaneously.
npm install @openkedge/corepnpm add @openkedge/coreProduction is a terrible classroom.
Live failures are expensive and scarce. Teams try to avoid them rather than repeat them for learning. The Dojo changes the economics through failure amplification without production impact.
Hardknock reconstructs the starting commit, forks twin isolated Git worktrees, tests competing actions, and discards the broken world while retaining the evidence.
Discover the Operating Envelope
Traditional chaos engineering tests system limits. Hardknock asks: “Under what conditions does this agent's learned strategy stop behaving correctly?”
“Hardknock doesn't just teach agents what works. It teaches them where it stops working.”
Your model is replaceable.
Your experience shouldn't be.
Codex discovers a lesson; Claude retrieves it; Hermes replicates it; next-generation models inherit it. Experience belongs to the repository environment, not to the model weights.
Hardknock evolves agent behavior without requiring model weights to be retrained. Experience lives in an inspectable SQLite ledger with cryptographic provenance.
“A learning system that cannot unlearn eventually becomes a mythology system.”
Interactive CLI Explorer đź’»
Inspect execution records, manage candidate hypotheses, and trace decisions backwards with hardknock why.
Executes an agent task in a disposable Reality, verifies required checks, and retries automatically if a validated Lesson is retrieved.
[hardknock] Verified clean starting snapshot: commit 7b4c9e1
[hardknock] Created disposable Reality: worktree/r0-trial-01
[retrieval] Found 1 matching lesson: lesson-402 [COUNTERFACTUALLY_SUPPORTED] (conf: 0.78)
[context] Injected advice via .hardknock/context.md:
"Prefer 'pnpm install' over 'npm install' in this workspace."
[agent: claude-code] Reading advice... Executing: pnpm install @openkedge/sdk
[evaluator] Running required check: ./test.sh
[evaluator] âś… All 14 tests PASSED (Exit 0).
[hardknock] Task complete. Experience exp-398a linked. Reality discarded.Hardknock vs OpenClaw, Hermes, LangSmith, SWE-bench & E2B
Explore deep architectural side-by-side matrices comparing Hardknock's empirical experience engine against execution runtimes, open-weights agents, passive tracing, static benchmarks, and cloud sandboxes.
Bring your agent.
We'll give it a Dojo.
Claude Code. Codex. Hermes. OpenClaw. Kiro. Whatever comes next. Models will keep changing—your accumulated empirical experience should not disappear with them.
“Break things here. Learn something. Return stronger.” 🌸