Install
openclaw skills install agent-lifecycle-protocolLifecycle 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.
openclaw skills install agent-lifecycle-protocolYou have a lifecycle management system. Use it to track agent creation, evolution, succession, and retirement with full identity continuity.
pip install agent-lifecycle-protocol
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"}
)
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"]
)
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
)
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}")
| 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 |
Product: Agent Lifecycle Protocol Skill for OpenClaw Type: Skill Module Version: 0.1.0 Built by: AB Support / Vibe Agent Making Contact: alex@vibeagentmaking.com
What it accesses:
.jsonl) in your working directoryWhat it cannot do:
License: Apache 2.0