{"id":27580,"library":"agent-starter-pack","title":"Agent Starter Pack","description":"CLI tool (v0.41.3) to scaffold production-ready Google Cloud GenAI agent projects from templates. Released weekly. Uses cookiecutter internally.","status":"active","version":"0.41.3","language":"python","source_language":"en","source_url":"https://github.com/GoogleCloudPlatform/agent-starter-pack","tags":["cli","google-cloud","genai","templates","scaffolding"],"install":[{"cmd":"pip install agent-starter-pack","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Package name uses underscores, not hyphens.","wrong":"from agent_starter import main","symbol":"agent_starter_pack","correct":"from agent_starter_pack import main"}],"quickstart":{"code":"from agent_starter_pack import main\nimport sys\nsys.argv = ['agent-starter-pack', '--help']\nmain()","lang":"python","description":"Invoke the CLI programmatically. For shell usage run `agent-starter-pack new`."},"warnings":[{"fix":"Use underscores for imports, hyphens only for pip install.","message":"The pip package name uses hyphens, but the Python import uses underscores. `pip install agent-starter-pack` then `from agent_starter_pack import ...`.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace `AGENT_TEMPLATE_DIR` with `--template-dir /path/to/templates`.","message":"In v0.40+ the template backend was refactored: custom template directories must now be specified via `--template-dir` instead of `AGENT_TEMPLATE_DIR` env var.","severity":"deprecated","affected_versions":"<0.40 vs >=0.40"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run `pip install agent-starter-pack` and then `from agent_starter_pack import main`.","cause":"Package name confusion: pip installs under 'agent-starter-pack', but import uses underscores.","error":"No module named 'agent_starter_pack'"},{"fix":"Run `pip install cookiecutter` or reinstall with `pip install agent-starter-pack[cookiecutter]`.","cause":"cookiecutter is a lazy dependency and may not be auto-installed on some setups.","error":"ModuleNotFoundError: No module named 'cookiecutter'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}