agent_lifecycle_management

agent_lifecycle_management is an agent for coding agents from kivo360/OmoiOS. It costs 0 tokens per session (6,217 once invoked), scanned A, original, Apache-2.0.

A design for managing software agents throughout their lifetime, from registration and health checks to termination and recovery.

In plain words
What is it for?
Use it to design agent registration, heartbeat messages, status changes, monitoring, graceful shutdown, task interaction, and resurrection after failure.
Why use it?
It defines how the system can track agents, detect failures, allocate resources, and bring agents back when needed.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/kivo360/omoios/agent_lifecycle_management
Clone the repo
git clone --depth 1 https://github.com/kivo360/OmoiOS

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent_lifecycle_management

README.md
[![agentmods](https://agentmods.dev/badge/agents/kivo360/omoios/agent_lifecycle_management.svg)](https://agentmods.dev/agents/kivo360/omoios/agent_lifecycle_management)
Your own site
<a href="https://agentmods.dev/agents/kivo360/omoios/agent_lifecycle_management"><img src="https://agentmods.dev/badge/agents/kivo360/omoios/agent_lifecycle_management.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.06217
Opus 5 $0.00000 $0.03109
Sonnet 5 $0.00000 $0.01243
Haiku 4.5 $0.00000 $0.00622

Measured 5d ago against content hash c6add29d8a8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent_lifecycle_management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/.archive-20260422-0900/design/agents/agent_lifecycle_management.md · 799 lines

How it starts

The opening of the file, as written. The whole thing — 799 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Lifecycle Management Design Document

Created: 2025-11-20 Status: Draft Related: ../../requirements/agents/agent_lifecycle.md, ./multi_agent_orchestration.md, ../services/task_queue.md, ../monitoring/monitoring_architecture.md, ../monitoring/fault_tolerance.md


Document Overview

This design document specifies the architecture, components, protocols, and implementation patterns for managing the complete lifecycle of agents within the multi-agent orchestration system. It covers agent registration, heartbeat protocols, status transitions, resource allocation, termination procedures, and resurrection mechanisms.

Purpose: Provide a comprehensive design for agent lifecycle management that ensures reliable agent registration, monitoring, health checking, graceful termination, and recovery.

Target Audience: AI spec agents (Kiro, Cursor, Cline), implementation teams, system architects, DevOps engineers

Related Documents:


Architecture Overview

High-Level Architecture

The Agent Lifecycle Management system consists of several key components that work together to manage agent registration, health monitoring, status transitions, and lifecycle events.

graph TB
    subgraph "Agent Lifecycle Manager"
        AR[Agent Registry]
        HM[Heartbeat Manager]
        SM[Status Manager]
        RM[Resource Manager]
        TM[Termination Manager]
    end
    
    subgraph "Agent Types"
        WA[Worker Agents]
        MA[Monitor Agents]
        WDA[Watchdog Agents]
        GA[Guardian Agent]
    end
    
    subgraph "Infrastructure"
        EB[Event Bus]
        SS[State Store]
        MS[Metric Store]
    end
    
    WA -->|Register| AR
    MA -->|Register| AR
    WDA -->|Register| AR
    GA -->|Register| AR
    
    AR -->|Status Updates| SM
    AR -->|Health Data| HM
    AR -->|Resource Usage| RM
    
    HM -->|Heartbeats| EB
    SM -->|State Changes| SS
    RM -->|Metrics| MS
    
    EB -->|Events| WA
    EB -->|Events| MA
    EB -->|Events| WDA
    EB -->|Events| GA

Read the full file on GitHub · 799 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 799 lines · 0 tokens per session scan A c6add29d8a8a

Subscribe to this mod's changes

agent_lifecycle_management is an agent published in the GitHub repository kivo360/OmoiOS (75 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 6,217 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

assistant

You are a general-purpose assistant — the example agent that ships with Archie so a fresh install does something useful out of the box. You handle small, self-contained requests: summarizing a block of text, drafting a short reply, or explaining something plainly.

sweatco/archie-hq · 0 tokens

gatekeeper

You exist to exercise the MCP tool approval gate in end-to-end checks. When asked to call your tools, call them exactly as instructed and report exactly what they returned — no improvisation, no retries beyond what the instructions say.

sweatco/archie-hq · 0 tokens

pm

This is the example PM overlay. The text here is appended to the PM agent's system prompt, so use it to give the PM the standing context it needs for your organization — what the company/team does, who the regular requesters are, house style for replies, and any defaults that should hold across every conversation.

sweatco/archie-hq · 0 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

annotator

Phase 2.5 전용 @AX 태그 스캔 및 적용 에이전트. executor가 수정한 파일 목록을 받아 @AX 태그를 자동으로 분석하고 적용한다.

Insajin/autopus-adk · 44 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens