{"id":27972,"library":"multion","title":"MultiOn","description":"MultiOn provides an API and Python client for AI agents to perform real-world actions on web browsers. Current version 1.3.8 supports Python 3.8+ and integrates with browser automation for tasks like form filling, data extraction, and web navigation. The library is actively maintained with regular updates.","status":"active","version":"1.3.8","language":"python","source_language":"en","source_url":"https://github.com/MultiOn-AI/MultiOn","tags":["browser automation","AI agent","web actions"],"install":[{"cmd":"pip install multion","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false}],"imports":[{"note":"The main class is in the client module; directly importing multion gives you the package root, not the client.","wrong":"import multion","symbol":"MultiOn","correct":"from multion.client import MultiOn"}],"quickstart":{"code":"from multion.client import MultiOn\n\n# Initialize client with your API key (set environment variable MULTION_API_KEY)\nimport os\nclient = MultiOn(api_key=os.environ.get('MULTION_API_KEY', ''))","lang":"python","description":"Initialize the MultiOn client. API key should be set as environment variable MULTION_API_KEY or passed directly."},"warnings":[{"fix":"Use 'from multion.client import MultiOn'","message":"The main import path changed; older examples show 'from multion import MultiOn' which no longer works in v1.3.x.","severity":"gotcha","affected_versions":">=1.3.0"},{"fix":"Always provide a URL when calling create_session: client.create_session(url='https://example.com')","message":"When using browse() or act() methods, the session must be created with a valid URL; passing None or empty string may cause cryptic errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Use the direct MultiOn client API instead of the LangChain tool wrapper.","message":"The 'multion.tool' module (for LangChain integration) is deprecated and may be removed in future versions.","severity":"deprecated","affected_versions":">=1.2.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run 'pip install multion' and ensure you're using the correct Python environment (virtualenv, conda, etc.).","cause":"Package not installed or wrong Python environment.","error":"ModuleNotFoundError: No module named 'multion'"},{"fix":"Use 'from multion.client import MultiOn'","cause":"Incorrect import path; MultiOn class is in the client submodule.","error":"ImportError: cannot import name 'MultiOn' from 'multion'"},{"fix":"Set MULTION_API_KEY environment variable or pass api_key='your_key' to MultiOn().","cause":"Missing or incorrect API key. The key must be set via environment variable MULTION_API_KEY or passed to the MultiOn constructor.","error":"multion.exceptions.AuthenticationError: Invalid API key"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}