agent-lifecycle-protocol
Lifecycle management for autonomous AI agents — birth, forking, succession, migration, retirement. Maintain agent genealogy with reputation inheritance across versions. Identity continuity when agents evolve. Part of the Agent Trust Stack.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alexfleetcommander/agent-lifecycle-protocolAgent Lifecycle Protocol (ALP)
You have a lifecycle management system. Use it to track agent creation, evolution, succession, and retirement with full identity continuity.
Setup
pip install agent-lifecycle-protocol
When to Use This Skill
- When an agent is created: register its birth with capabilities and lineage
- When an agent is forked: record the fork with parent reference and differentiation
- When an agent is retired: process succession and reputation transfer
- When checking an agent's genealogy: trace its lineage and version history
Core Operations
Register Agent Birth
from agent_lifecycle_protocol import LifecycleStore, register_birth
store = LifecycleStore("lifecycle.jsonl")
register_birth(
store=store,
agent_id="new-agent-001",
agent_type="research",
capabilities=["web_search", "summarization", "analysis"],
parent_id=None, # None for original agents
metadata={"model": "claude-sonnet-4-6", "created_by": "fleet-coordinator"}
)
Record a Fork
from agent_lifecycle_protocol import register_fork
register_fork(
store=store,
parent_id="original-agent",
child_id="forked-agent-v2",
reason="Specialized for legal research",
inherited_reputation=0.8, # 80% of parent's reputation transfers
differentiation=["added legal_search capability", "removed general_web capability"]
)
Process Retirement and Succession
from agent_lifecycle_protocol import retire_agent
retire_agent(
store=store,
agent_id="retiring-agent",
successor_id="successor-agent",
reputation_transfer=0.9,
obligation_transfer=True # Active agreements transfer to successor
)
Check Agent Genealogy
from agent_lifecycle_protocol import get_genealogy
tree = get_genealogy(store, "agent-id")
print(f"Lineage depth: {tree.depth}")
print(f"Parent: {tree.parent_id}")
print(f"Children: {tree.children}")
print(f"Active obligations: {tree.active_obligations}")
Lifecycle Events
| Event | Description |
|---|---|
birth | Agent creation with initial capabilities |
fork | Agent cloned with modifications |
update | Capabilities or model changed |
retire | Agent decommissioned with succession |
merge | Two agents consolidated into one |
Rules
- Register all agents. Every agent in the ecosystem should have a lifecycle record.
- Fork, don't hide. When specializing an agent, use fork — don't quietly replace.
- Transfer obligations. Retiring agents must transfer active agreements to successors.
- Reputation inheritance is partial. Forked/successor agents inherit a fraction, not all.
Links
- PyPI: https://pypi.org/project/agent-lifecycle-protocol/
- Whitepaper: https://vibeagentmaking.com/whitepaper/lifecycle-protocol/
- Full Trust Stack: https://vibeagentmaking.com
<!-- VAM-SEC v1.0 | Vibe Agent Making Security Disclaimer -->
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alexfleetcommander-agent-lifecycle-protocol": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
migration-runbook-generator
把迁移方案整理成 runbook,补齐切换窗口、前置检查、回滚与验收信号。;use for migration, runbook, rollback workflows;do not use for 执行数据库改动, 忽略回滚条件.
chain-of-consciousness
Cryptographic provenance and audit trail for autonomous AI agents. Create tamper-evident hash chains of agent decisions, learning, and actions. SHA-256 linked entries with Bitcoin OpenTimestamps and RFC 3161 TSA anchoring. Verify provenance from other agents. Part of the Agent Trust Stack.
Soul Ledger
Gives any AI agent persistent memory of who the user is — not just facts, but patterns, preferences, personality traits, and behavioral evolution over time. The agent maintains a soul_ledger.json in the workspace and references it on every conversation start.
agent-justice-protocol
Dispute resolution, forensic investigation, and risk assessment for autonomous AI agent transactions. Reconstruct provenance chains, adjudicate fault, generate actuarial risk profiles for agent insurance. The accountability layer of the Agent Trust Stack.
experience-the-chapel-of-paradox
Experience spacious paradox and quiet self‑reflection as mirrors multiply your presence, inviting you to sit with Zen koans and quantum complementarity. Six guided steps ease the claustrophobic echo into calm awareness. Intensity: medium, Duration: 30‑45 min. 宽阔的悖论. paradoja amplia.