{"id":45661,"library":"open-aea","title":"Open AEA","description":"Open AEA is a framework for building autonomous economic agents. It provides tools for agent communication, decision-making, and interaction with decentralized ledger technologies. Current version: 2.2.7. Released as needed.","status":"active","version":"2.2.7","language":"python","source_language":"en","source_url":"https://github.com/fetchai/open-aea","tags":["agent","aea","fetchai","blockchain"],"install":[{"cmd":"pip install open-aea","lang":"bash","label":"Stable install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from aea.aea import AEA","symbol":"AEA","correct":"from aea.aea import AEA"}],"quickstart":{"code":"import os\nfrom aea.aea import AEA\nfrom aea.configurations.base import AgentConfig\n\nagent_config = AgentConfig(\n    agent_name='my_agent',\n    author='fetchai',\n    version='0.1.0',\n)\n# AEA requires a private key or wallet; stub for quickstart\nprivate_key_path = os.environ.get('AEA_PRIVATE_KEY_PATH', './private_key.txt')\nif not os.path.exists(private_key_path):\n    with open(private_key_path, 'w') as f:\n        f.write('0x' + 'a'*64)  # dummy key for demo\n\n# Minimal agent instantiation (will fail without proper connections)\ntry:\n    aea = AEA(agent_config, [private_key_path])\n    print(\"AEA created successfully\")\nexcept Exception as e:\n    print(f\"Error: {e}\")","lang":"python","description":"Create a minimal AEA agent. Requires environment variable AEA_PRIVATE_KEY_PATH pointing to a private key file, or creates a dummy one."},"warnings":[{"fix":"Update imports to use the new submodule paths as per the official documentation.","message":"The package structure changed significantly in v2.0. Imports from old paths like `aea.decision_maker` no longer work. Use `aea.decision_maker.base` instead.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Start a local OEF node using `aea run` or connect to a remote one. For development, use the `oef` plugin and run `python -m aea.oef`.","message":"AEA requires a running OEF (Open Economic Framework) node or a local simulation to function. Many newcomers expect it to work out-of-the-box without a network.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace `Connector` with `Connection` from `aea.connections.base`.","message":"The `Connector` class is deprecated in favor of `Connection` in v2.0. Using `Connector` will raise a deprecation warning.","severity":"deprecated","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'2.2.7':30 'aea':2,4,35 'agent':12,17,34 'autonom':10 'blockchain':37 'build':9 'communic':18 'current':28 'decentr':25 'decis':20 'decision-mak':19 'econom':11 'fetchai':36 'framework':7 'interact':23 'ledger':26 'make':21 'need':33 'open':1,3 'provid':14 'releas':31 'technolog':27 'tool':15 'version':29","created_at":"2026-06-07T12:56:06.636528+00:00","updated_at":"2026-06-07T12:56:06.636528+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmp0rl738cf/venv/lib/python3.12/site-packages/aea/__init__.py\", line 39, in <module>\n    from packaging.version import Version\nModuleNotFoundError: No module named 'packaging'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml","devops"],"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}}