Skip to main content

Agent Lifecycle Kit - plan, execute, prove, finish agent work

Agent Lifecycle Kit

License: Apache-2.0 Release Python

Agent Lifecycle Kit (ALK) coordinates coding-agent work through a verifiable finish. It keeps the requested outcome, reviewed plan, execution boundaries, evidence and acceptance decisions connected while the external agent changes the project.

The provider-neutral workflow works with Codex, Claude Code, Qwen Code, Goose, OpenInterpreter, Pi, Grok Build, or another CLI. Provider commands, model choice and secret handling stay in adapters or host-local profiles.

ALK provides a verifiable finish for external-agent work with proportionate control. It adds only the checks and evidence needed for the task; most of the time remains for research, implementation and product verification.

Quick start

Start with install ALK and make the first run.

It includes macOS, Linux and Windows instructions, Python 3.11-3.14, PyPI installation with python -m pip install agent-lifecycle-kit==1.69.0, and common agent-lifecycle version errors.

For a quick start, run:

git clone https://github.com/avksp/agent-lifecycle-kit.git
cd agent-lifecycle-kit
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
agent-lifecycle version
agent-lifecycle diagnose --no-install-plans

Choose <adapter-id> from the adapter support matrix and pass a task from a file:

agent-lifecycle start --adapter <adapter-id> --file task.md

What it gives you

  • A finish-oriented lifecycle: plan, execute, review, and prove the result.
  • One process for different CLIs: adapter-specific commands stay outside the core, and new adapters can be added without changing lifecycle schemas.
  • Small-model friendly packets: compact context, clear next actions, and deterministic checks for local or cheaper models.
  • Quality without overengineering: one provider-neutral execution strategy composes risk, model class, packet size, review and resource limits.
  • Usage visibility: tokens, time, resource counters and redacted process receipts are native; monetary cost is optional and only used when a metered host reports it.
  • Project-specific workflow settings: ALK can discover and validate uncommitted local defaults for a repository while the frozen plan remains authoritative.
  • Read-only progress and managed sessions: host UIs can show lifecycle state, attested tokens and Git-style change counters; start accepts task text, Markdown, frozen run requests or stored ALK sessions while preserving review/freeze boundaries.

Feature areas

Plan and execute

  • Reviewed specification and plan flow before implementation starts.
  • Deterministic task packets for splitting work across agents.
  • Execution records capture completion checks, blockers, retries, and final proof; missing required evidence fails the step.
  • Ready-made task templates cover bug fixes, idea-to-PR flow, PR review, merge-conflict repair, and release-readiness work.

Quality and proof

  • Implementation audits compare results with the frozen plan and acceptance evidence.
  • For explicit bug and regression repair, the optional Bug Forensics profile records reproduction, fingerprint, failure class, hypotheses, minimal patch, regression proof, and reusable recipes.
  • Optional proof-integrity evidence for high-risk final proofs: stable findings, root-cause digests, fix-impact receipts, and hash chains.
  • Cross-checks and runtime-policy receipts are opt-in controls; plans can require proof for an external system update before acceptance.
  • Optional multi-model review can use any available adapter/model bindings; Codex, Claude Code and OpenCode/GLM are examples, not a required roster. Review Mesh prepares packets, imports answers, synthesizes findings and checks quorum, while the operator or host wrapper starts each model. The bundled reference-task suite measures deterministic quality, false acceptances, retries, elapsed time, and confidence-labeled token usage.

Routing and resource control

  • Compact context profiles, small-model packets, objective snapshots, and local quality-cost learning help choose the lightest safe mode.
  • Phase resource measurements reuse the usage export envelope for tokens, duration, and resource counters without mandatory monetary accounting.
  • Usage/session exports include tokens, resources, receipt digests, and optional host-reported cost_usd.

Security and containment

  • Release neutrality scans bind the Git index and current revision; ignored local evidence is read through an explicit policy-limited flag. Host-supplied rules keep local paths, secrets, trust roots and signing keys out of portable artifacts.
  • Host environment access uses explicit --host-env-allow; receipts store redacted metadata, and verified local profiles provide the managed launch route.
  • Imports, diagnostics, and usage exports redact local paths and common secret markers before validation.
  • Sandbox receipts separate runtime filesystem, network, process, and environment containment from git write-scope.
  • Release security gates validate portable paths, credentials, adapter scope and production claims.

Adapters and interop

  • Adapter contracts keep host-specific projections separate from lifecycle schemas.
  • New CLI hosts start as adapters: descriptor, command projection, environment boundary, and verification evidence live outside the lifecycle core.
  • Adapter capability checks and progress bridge support compare live receipts and display lifecycle state while support levels remain evidence-driven.
  • Import mappers and issue-to-spec intake normalize external workflows, agent dialects, and tickets into reviewable draft context.
  • The portable Agent Plugins package exposes the maintained ALK skills tree; see portable Agent Plugins. After a client-owned installation, client qualification checks discovery without claiming lifecycle proof.
  • Lightweight episode retrieval over receipt/session summaries keeps digest provenance and explicit chainVerified or chainUnchecked state.

Operations

  • Runner recovery receipts cover attempt snapshot, restore, abandon, selected attempt, worker lease, and heartbeat state.
  • Read-only diagnostics, event feeds, managed lifecycle steps, progress watch receipts, and change summaries inspect checkout and workflow state without model calls.

Adapter support level

The adapter support level describes how much of the ALK integration is verified for a specific host. It covers the declared CLI/version, command projection, environment boundary, live conformance, resource calibration and accepted ALK lifecycle evidence. It describes the checked integration range; it is not a rating of the host model or of the external product.

Accepted lifecycle artifacts include the reviewed plan and lock, state and task receipts, validation and evidence summaries, independent plan and implementation audits, and final proof. Host launch routes add usage, resource and containment receipts for the exact adapter/version binding.

EXPERIMENTAL marks an adapter with offline checks and deterministic contract tests. VERIFIED adds bounded live host conformance, usage/resource calibration, accepted redacted evidence and lifecycle final proof for a defined host range. Each adapter page and the support matrix name the exact CLI, version and host-local binding covered by the evidence. The matrix covers Codex, Claude Code, Cursor, Gemini CLI, Goose, Grok Build, Hermes, Kimi Code, OpenCode, OpenInterpreter, Pi and Qwen Code.

Adapter installation and support-level details live in Adapter install and Adapter support matrix.

Design boundaries

  • The core stays provider-neutral. Concrete host commands and model bindings live in adapters or host-local profiles.
  • New CLIs are integrated through adapters: descriptor, command projection, environment boundary, and verification evidence. The lifecycle schemas remain stable while host support grows.
  • Small models get compact packets, deterministic checks, and explicit next-action lists instead of long narrative state.
  • All model sizes follow the same evidence gates; larger models receive the same bounded workflow with richer reasoning capacity.
  • Public release claims use tracked source files and redacted evidence summaries.
  • External dialect imports and retrieved episodes enrich context, while reviewed ALK artifacts remain the source of truth.
  • Cross-check, Review Mesh and runner recovery receipts add evidence when a task or plan enables them; the operator chooses the review depth.

Documentation

Apache-2.0. See LICENSE.

Metadata

Release files for agent-lifecycle-kit 1.69.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-lifecycle-kit 1.69.0
File Size Uploaded
agent_lifecycle_kit-1.69.0.tar.gz 434.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-lifecycle-kit 1.69.0
File Interpreter ABI Platform
agent_lifecycle_kit-1.69.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.0 MB

Release files / agent_lifecycle_kit-1.69.0.tar.gz

Download URL agent_lifecycle_kit-1.69.0.tar.gz
Size 434.6 kB
Tags Source
SHA-256 checksum
How to use checksums
82b6df22e5d06d124565749124b01c857ccfbf4bc54d23d5fbbcfa41df498a64
BLAKE2b-256 checksum
How to use checksums
8520b7aa6ba8f4759554cdfe07ba84c929772f749b0adf45514bb1c3ecb554ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.

Transparency log

Release files / agent_lifecycle_kit-1.69.0-py3-none-any.whl

Download URL agent_lifecycle_kit-1.69.0-py3-none-any.whl
Size 592.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3f1ad2cea8e0bc28a3c60ad7a7dc69c3f816c46c07b47f2228b47174e2de1cf
BLAKE2b-256 checksum
How to use checksums
6cc7c9350746cc52ab36caf53d05e560f4bd5fa7ab9e43d4208f77e2d770f938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.

Transparency log

Release history Release notifications | RSS feed

2.15.0

2 release files

2.10.0

2 release files

2.9.0

2 release files

2.8.0

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.89.0

2 release files

1.88.0

2 release files

1.87.0

2 release files

1.86.0

2 release files

1.85.0

2 release files

1.84.0

2 release files

1.83.0

2 release files

1.82.0

2 release files

1.81.1

2 release files

1.81.0

2 release files

1.80.0

2 release files

1.79.0

2 release files

1.78.0

2 release files

1.77.0

2 release files

1.76.0

2 release files

1.75.0

2 release files

1.74.0

2 release files

1.73.0

2 release files

1.72.0

2 release files

1.71.0

2 release files

1.70.0

2 release files

This release

1.69.0 This release

2 release files

1.68.0

2 release files

1.67.0

2 release files

1.66.0

2 release files

1.65.0

2 release files

1.64.0

2 release files

1.63.2

2 release files

1.63.1

2 release files

1.63.0

2 release files

1.62.0

2 release files

1.61.0

2 release files

1.60.0

2 release files

1.59.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page