A framework for the creation of autonomous agent services.
Project description
Open Autonomy
Open Autonomy is a framework for the creation of Agent Services: off-chain services which run as a multi-agent-system (MAS) and are replicated on a temporary consensus gadget (blockchain) while being crypto-economically secured on a public blockchain, hence offering robustness, transparency and decentralization off-chain.
As opposed to traditional smart contracts, Valory apps go beyond simple, purely on-chain logic without giving up on decentralization.
Requirements
Ensure your machine satisfies the following requirements:
- Python
>= 3.7
- Yarn
>=1.22.xx
- Node
>=v12.xx
- Tendermint
==0.34.19
- IPFS node
==v0.6.0
- Pip
- Pipenv
>=2021.x.xx
- Go
==1.14.2
- Kubectl
- Docker Engine
- Docker Compose
- Skaffold
>= 1.39.1
For developers using the framework: Get started developing
-
Create and launch a clean virtual environment with Python 3.10 (any Python
>=
3.7 works):pipenv --python 3.10 && pipenv shell
-
Install the package from PyPI:
pip install open-autonomy
-
Then, build your services as described in the docs.
For developers contributing to the framework: Install from Source
-
Clone the repository, and recursively clone the submodules:
git clone --recursive git@github.com:valory-xyz/open-autonomy.git
Note: to update the Git submodules later:
git submodule update --init --recursive
-
Build the Hardhat projects:
cd third_party/safe-contracts && yarn install cd ../.. cd third_party/contracts-amm && yarn install cd ../..
-
Create and launch a virtual environment. Also, run this during development, every time you need to re-create and launch the virtual environment and update the dependencies:
make new_env && pipenv shell
Common errors and solutions
e2e tests not running
Error message:
error Command "hardhat" not found.
Failed: node:16.7.0 doesn't work. Exiting...
Solution: re-run yarn install
inside the third-party/safe-contracts
and third-party/contracts-amm
repos.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file open-autonomy-0.1.5.tar.gz
.
File metadata
- Download URL: open-autonomy-0.1.5.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f6e285ce22e965e54937974daa9595b443296fd7350ec71808265f221b71648 |
|
MD5 | 0c3917c688a98e57a363f068dbbe1ed2 |
|
BLAKE2b-256 | 1b90ab4989df3e267485e26780f17cb866724eb79d6955e87ef032f2fbb44bfc |
Provenance
File details
Details for the file open_autonomy-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: open_autonomy-0.1.5-py3-none-any.whl
- Upload date:
- Size: 99.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd277a7000276bd20c30408ff722d57b2f693e9fe65b1018732abc5e2cd74727 |
|
MD5 | eee1bfa6e29b6c7aad1d8800e3fccb88 |
|
BLAKE2b-256 | 1eb808470180a7a68cf3083e0363e5a8c71db2fefb7f44bedd0d100b43761225 |