{"id":20901,"library":"agent-lifecycle-toolkit","title":"Agent Lifecycle Toolkit","description":"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.","status":"active","version":"0.10.1","language":"python","source_language":"en","source_url":"https://github.com/anthropics/agent-lifecycle-toolkit","tags":["agent","lifecycle","anthropic","monitoring","toolkit"],"install":[{"cmd":"pip install agent-lifecycle-toolkit","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"Required for Anthropic client usage","package":"anthropic","optional":false}],"imports":[{"wrong":"from agent_lifecycle_toolkit import AgentLifecycleClient","symbol":"AgentLifecycleClient","correct":"from altk import AgentLifecycleClient"}],"quickstart":{"code":"import os\nfrom agent_lifecycle_toolkit import AgentLifecycleClient\n\nclient = AgentLifecycleClient(api_key=os.environ.get('ALTK_API_KEY', ''), base_url=\"https://api.altk.dev\")\n# Example: start a session\nsession = client.create_session(agent_id=\"my-agent\")\nprint(f\"Session ID: {session.id}\")","lang":"python","description":"Initialize the ALTK client and create a session."},"warnings":[{"fix":"Update base_url to https://api.altk.dev","message":"API base URL changed in 0.10.0 from https://app.altk.dev to https://api.altk.dev","severity":"breaking","affected_versions":"<0.10.0"},{"fix":"Replace client.create_agent(...) with client.register_agent(...)","message":"The `create_agent` method is deprecated in 0.10.x, use `register_agent` instead","severity":"deprecated","affected_versions":"0.10.0+"},{"fix":"Upgrade to Python >=3.10","message":"Python 3.9 support dropped in 0.10.0","severity":"breaking","affected_versions":"<0.10.0"},{"fix":"Always set ALTK_API_KEY or pass api_key parameter explicitly","message":"Environment variable `ALTK_API_KEY` is read at client init; if not set and no api_key passed, client raises ValueError with unclear message","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.10.1':29 '3.10':32 'activ':38 'agent':1,5,16,20,40 'altk':8 'anthrop':35,42 'builder':17 'cadenc':37 'compon':13 'current':27 'develop':39 'effort':24 'help':15 'improv':18 'integr':23 'librari':11 'lifecycl':2,6,41 'maintain':33 'minim':22 'monitor':43 'python':31 'releas':36 'requir':30 'setup':26 'toolkit':3,7,44 'version':28","created_at":"2026-04-27T16:57:03.196600+00:00","updated_at":"2026-04-27T16:57:03.196600+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'AgentLifecycleClient' from 'altk' (/tmp/tmprqmecwtv/venv/lib/python3.12/site-packages/altk/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.10.1","cli_name":"","cli_version":null,"type":"library","homepage":"https://altk.ai/","github":"https://github.com/AgentToolkit/agent-lifecycle-toolkit","docs":"https://agenttoolkit.github.io/agent-lifecycle-toolkit/","changelog":null,"pypi":"https://pypi.org/project/agent-lifecycle-toolkit/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}