Registry / llm-agents / agent-lifecycle-toolkit

agent-lifecycle-toolkit

JSON →
library0.10.1pypypiunverified

The Agent Lifecycle Toolkit (ALTK) is a library of components to help agent builders improve their agent with minimal integration effort and setup. Current version 0.10.1, requires Python >=3.10, maintained by Anthropic. Release cadence: active development.

pip install agent-lifecycle-toolkit
INSTALL
IMPORT
SIG · AGENT-LIFECYCLE-TO
A
agent-lifecycle-toolkit
llm-agentspythonv0.10.1
Install
51.7s avg
Import
Disk
939MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.10.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 57.5s
py 3.11
✕ build_error
✓ 51s
py 3.12
✕ build_error
✓ 49.3s
py 3.13
✕ build_error
✓ 49s
py 3.9
✕ build_error
✕ build_error
939MB installed
● package 939MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AgentLifecycleClient
from altk import AgentLifecycleClient
from agent_lifecycle_toolkit import AgentLifecycleClient

Initialize the ALTK client and create a session.

import os from agent_lifecycle_toolkit import AgentLifecycleClient client = AgentLifecycleClient(api_key=os.environ.get('ALTK_API_KEY', ''), base_url="https://api.altk.dev") # Example: start a session session = client.create_session(agent_id="my-agent") print(f"Session ID: {session.id}")
Debug
Known issues
breakingAPI base URL changed in 0.10.0 from https://app.altk.dev to https://api.altk.dev
fix
Update base_url to https://api.altk.dev
affects: <0.10.0
deprecatedThe `create_agent` method is deprecated in 0.10.x, use `register_agent` instead
fix
Replace client.create_agent(...) with client.register_agent(...)
affects: 0.10.0+
breakingPython 3.9 support dropped in 0.10.0
fix
Upgrade to Python >=3.10
affects: <0.10.0
gotchaEnvironment variable `ALTK_API_KEY` is read at client init; if not set and no api_key passed, client raises ValueError with unclear message
fix
Always set ALTK_API_KEY or pass api_key parameter explicitly
affects: all
Upgrade
Version history
0.10.1latest on PyPI · released Mar 16, 2026
Audit
Dependencies
anthropicrequiredRequired for Anthropic client usage
Agent activity
61 hits · last 30 days
node
50
Anthropic
1
Perplexity
1
OpenAI (training)
1
Resources
agent-lifecycle-toolkit — pip install agent-lifecycle-toolkit · libregistry