Registry / ai-ml / open-aea

open-aea

JSON →
library2.2.7pypypiunverified

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.

pip install open-aea
INSTALL
IMPORT
SIG · OPEN-AEA
O
open-aea
ai-mlpythonv2.2.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AEA
✓ from aea.aea import AEA
✗ from aea.aea import AEA

Create a minimal AEA agent. Requires environment variable AEA_PRIVATE_KEY_PATH pointing to a private key file, or creates a dummy one.

import os from aea.aea import AEA from aea.configurations.base import AgentConfig agent_config = AgentConfig( agent_name='my_agent', author='fetchai', version='0.1.0', ) # AEA requires a private key or wallet; stub for quickstart private_key_path = os.environ.get('AEA_PRIVATE_KEY_PATH', './private_key.txt') if not os.path.exists(private_key_path): with open(private_key_path, 'w') as f: f.write('0x' + 'a'*64) # dummy key for demo # Minimal agent instantiation (will fail without proper connections) try: aea = AEA(agent_config, [private_key_path]) print("AEA created successfully") except Exception as e: print(f"Error: {e}")
Debug
Known issues
breakingThe package structure changed significantly in v2.0. Imports from old paths like `aea.decision_maker` no longer work. Use `aea.decision_maker.base` instead.
fix
Update imports to use the new submodule paths as per the official documentation.
affects: >=2.0.0
gotchaAEA 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.
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`.
affects: all
deprecatedThe `Connector` class is deprecated in favor of `Connection` in v2.0. Using `Connector` will raise a deprecation warning.
fix
Replace `Connector` with `Connection` from `aea.connections.base`.
affects: >=2.0.0
Upgrade
Version history
2.2.7latest on PyPI · released May 28, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources

No resource links recorded.