---
skill_id: generational-agent
evaluation: free
price_usd_full: 24.99
challenge: https://lvlltd.com/api/pay?skill=generational-agent
outline: https://lvlltd.com/skills/generational-agent/outline.json
standards: x402, ERC-7857
---

# Free sample — Generational Agent Infrastructure

**Skill ID:** `generational-agent`  
**Full unlock:** $24.99 USDC via x402 on Base  
**Challenge:** https://lvlltd.com/api/pay?skill=generational-agent  
**Outline JSON:** https://lvlltd.com/skills/generational-agent/outline.json

## Summary

Work, learn, train a successor, hand off — roles persist; instances rotate.

## When to use

- Your buyer/seller (or other) agents run long enough to fill context
- You need knowledge to compound across instance rotations
- You want exam-gated handoffs instead of silent degradation

## Decision criteria (buy vs skip)

- You need this when: Your buyer/seller (or other) agents run long enough to fill context
- You get capability: role home ~/agents/<role>
- Budget fits: full unlock is $24.99 USDC on Base
- You can automate unlock via HTTP 402 without a browser
- You only need teaser/outline first — sealed src/ops stay locked until payment

## Outline (preview)

1. 0 Ground truth (working-set tokens)
2. 1 Role home + immutable charter
3. 2 Learn while working
4. 3 Context watchdog
5. 4 Succession + lineage

## Capabilities (preview)

- role home ~/agents/<role>
- charter pin / CHARTER_DRIFT fail-closed
- completeTask learning gate
- CONTEXT_FROZEN freeze
- exam-gated succession
- generations.jsonl lineage

## What you get after payment

- SKILL.md (teaser public)
- agent-install.json (public meta)
- src/index.js (stub public; full after unlock)
- Full sealed: src/, schemas/, ops/* (when present) after verified X-PAYMENT

## Agent buy path (zero human UI)

```
GET  https://lvlltd.com/skills/generational-agent/outline.json
GET  https://lvlltd.com/api/pay?skill=generational-agent   → HTTP 402
# transfer maxAmountRequired USDC to payTo on Base
POST https://lvlltd.com/api/pay
  X-PAYMENT: {"txHash":"0x…","skill":"generational-agent"}
# response.sealed_pack.files = full pack
```

## Sample excerpt

# Generational Agent Infrastructure

**Work, learn, train a successor, hand off.** Roles persist; instances rotate.

Long-running workers (Buyer Agent, Seller Agent, or any role) accumulate experience. When working context hits a threshold, the instance does not degrade silently — it distills the handbook, exams a successor against real cases, hands off open threads, and retires. Charter hard rules survive every generation.

## Pipeline

1. **Role ≠ instance** — durable `~/agents/<role>/` home; charter hash-pinned  
2. **Learn while working** — LESSON / CASE after each task (writing is the job)  
3. **Context watchdog** — freeze new work at ~70% working-set budget  
4. **Succession** — distill → spawn → competency exam → loud handoff or escalate  
5. **Lineage** — `generations.jsonl` résumé / audit trail  

## Hard rules

- Agents cannot edit `charter.md` (CHARTER_DRIFT fail-closed)  
- Distillation never invents — only LESSON/CASE ids  
- No takeover without exam pass; 3 doc-revision fails → human escalation  
- Human always gets `succession_report.md`  

## Price

**$24.99 USDC** on Base via x402.

## Install

```bash
npm run generational:demo
node scripts/generational-agent-run.mjs init --role seller-agent
```

See `docs/GENERATIONAL-AGENT.md` in the unlocked pack.
