Skip to main content

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.

For developers using the framework: Get started developing

  1. Create and launch a clean virtual environment with Python 3.10 (any Python >= 3.7 works):

    pipenv --python 3.10 && pipenv shell
    
  2. Install the package from PyPI:

    pip install open-autonomy
    
  3. Then, build your services as described in the docs.

Requirements for Framework Developers

Ensure your machine satisfies the following requirements:

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 ../..
    cd third_party/autonolas-registries && yarn install --ignore-engines
    
  • 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

open-autonomy-0.2.1.post1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

open_autonomy-0.2.1.post1-py3-none-any.whl (137.5 kB view details)

Uploaded Python 3

File details

Details for the file open-autonomy-0.2.1.post1.tar.gz.

File metadata

  • Download URL: open-autonomy-0.2.1.post1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for open-autonomy-0.2.1.post1.tar.gz
Algorithm Hash digest
SHA256 63e76d9072e5a09fa1414117b5b8858355cdaa90c0e767cdfaca6d5cdf6d13b2
MD5 210d63eadbaf52ec11f3b020644e61a2
BLAKE2b-256 2c4d2ffde6aca1b4885bd0b2c8b1a5aac61f1afb0f1d1bc3b27a1a40a65eeba2

See more details on using hashes here.

Provenance

File details

Details for the file open_autonomy-0.2.1.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for open_autonomy-0.2.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f24f4fcc1e24c60d2dd4b47abeae3953d01cf060aedc630eedd7a048a7a6c66
MD5 4659688798bad6a9749c0b229a229359
BLAKE2b-256 76cb77dd76eff6edc52d15b1a8207c12af18a89a4a3c37e48e30c868a583c781

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page