{"id":27465,"library":"tower","title":"Tower","description":"Tower is a CLI and runtime environment for managing and running agentic workflows, currently at version 0.3.61. It provides a framework for defining, orchestrating, and executing multi-step AI agent tasks. Release cadence is irregular as it is in early development.","status":"active","version":"0.3.61","language":"python","source_language":"en","source_url":"https://github.com/tower-ai/tower","tags":["tower","agent","workflow","cli","runtime"],"install":[{"cmd":"pip install tower","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"Primary class for initializing a Tower session.","wrong":"","symbol":"Tower","correct":"from tower import Tower"}],"quickstart":{"code":"from tower import Tower\nimport os\n\n# Initialize Tower with API key from environment\napi_key = os.environ.get('TOWER_API_KEY', '')\ntower = Tower(api_key=api_key)\n\n# Example: run a simple workflow\nresult = tower.run(\"Hello, Tower!\")\nprint(result)","lang":"python","description":"Initialize Tower and run a simple workflow. Requires TOWER_API_KEY environment variable."},"warnings":[{"fix":"Pin your dependencies and test upgrades thoroughly.","message":"The Tower API is unstable and may change without notice. Breaking changes are common in minor version bumps.","severity":"breaking","affected_versions":"<=0.3.61"},{"fix":"Replace 'tower run' with 'tower execute' in scripts.","message":"The 'tower run' CLI command has been deprecated in favor of 'tower execute'.","severity":"deprecated","affected_versions":">=0.3.50"},{"fix":"Always set TOWER_API_KEY environment variable before importing tower.","message":"Running Tower without setting TOWER_API_KEY will cause silent fallback to a demo mode with limited functionality.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install --upgrade tower' and verify the installation with 'pip show tower'.","cause":"The library was installed incorrectly or an old version is cached.","error":"ImportError: cannot import name 'Tower' from 'tower'"},{"fix":"Replace 'tower.run(...)' with 'tower.execute(...)'.","cause":"The 'run' method was removed in version 0.3.50; use 'execute' instead.","error":"AttributeError: module 'tower' has no attribute 'run'"},{"fix":"Set TOWER_API_KEY to a valid API key from your Tower account.","cause":"The TOWER_API_KEY environment variable is missing or incorrect.","error":"tower.exceptions.AuthenticationError: Invalid API key"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}