What was going on
I was wiring Composio tools into a Phidata agent and wanted to use the Google Docs or Notion actions. The moment I ran anything composio related I got ImportError: cannot import name 'Action' from 'composio', and even the CLI itself crashed on startup. My Python was 3.12.7 and the traceback went through composio/cli/context.py. A maintainer asked for pip show output and pointed out the installed package was the problem.

What fixed it
The problem wasnt Composio itself, it was the PyPI package name. The bare composio package on PyPI was a stale shim by a different author that breaks the import, so anything you run against it blows up. Uninstall it and install the real one: pip uninstall composio -y, then pip install composio-core. The reporter confirmed it worked after switching to composio-core, and the maintainers closed it out.