Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.35 KB

INSTALL.md

File metadata and controls

42 lines (29 loc) · 1.35 KB

Install

1. Prerequisites

  • Docker for hosting the underlying data tools.
  • Foundry for running a local Anvil testnnet node for simulations.

Additionally, agent0 uses the package hyperdrivepy as a dependency. hyperdrivepy contains prebuilt binaries for common environments. However, if your environment is not supported, pip will attempt to build from the distributed source distribution, which requires Rust installed in your environment to compile. Ensure you are using rustc 1.78.0-nightly or newer when building from source distribution.

2. Clone

Clone the repo to <repo_location>.

git clone https://github.com/delvtech/agent0.git <repo_location>

3. Setup environment

You may need to install uv to create a local Python environment.

cd <repo_location>
uv venv --python 3.10 .venv
source .venv/bin/activate

4. Install agent0

uv pip install -e '.'
# uv pip install '.' # For non-editable install
# uv pip install -e '.[dev]' # For dev and testing tools
# uv pip install -e '.[all]' # Install everything

5. Verify

You can test that everything is working by calling python -m pytest .