# Gnostic Observer                  (windows build)

By [tekh](https://paragraph.com/@quantumtekh) · 2023-08-16

---

Overview
--------

Create Predictive AI Agents on Gnosis Chain using Windows

[https://twitter.com/koeppelmann/status/1691429114224263169?s=20](https://twitter.com/koeppelmann/status/1691429114224263169?s=20)

[https://hackathon.olas.network/](https://hackathon.olas.network/)

Implementation
--------------

System: Windows

### Visual Studio Code

[https://code.visualstudio.com/](https://code.visualstudio.com/)

### Git Desktop

*   install git desktop
    

[https://git-scm.com/download/win](https://git-scm.com/download/win)

*   enable bash
    

[https://stackoverflow.com/questions/42606837/how-do-i-use-bash-on-windows-from-the-visual-studio-code-integrated-terminal](https://stackoverflow.com/questions/42606837/how-do-i-use-bash-on-windows-from-the-visual-studio-code-integrated-terminal)

### Python `== 3.10`

[https://marketplace.visualstudio.com/items?itemName=ms-python.python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)

### [Poetry](https://python-poetry.org/docs/) `>=1.4.0`

[https://python-poetry.org/docs/](https://python-poetry.org/docs/)

*   Install Poetry using curl in the Visual Studio Bash terminal
    
        curl -sSL https://install.python-poetry.org | python -
        
    
*   Update System Environment Variables to contain Poetry Path
    
    1.  Open “Edit System Environment Variables” from the Control Panel
        
    2.  Click “Environment Variables” on the Advanced tab
        
    3.  Select the Path System Variable and Click “Edit”
        
    4.  Clink “New” and Add
        
        **%APPDATA%\\pypoetry**
        

![](https://storage.googleapis.com/papyrus_images/fcf987b3f936b9f58ddd3ad27f7fe9ab0735034835c1d7da1ac5e76204bc8e09.png)

### Docker

*   Both Docker Engine and Compose are required. If using windows Docker Desktop can be installed which includes both.
    
    [https://docs.docker.com/desktop/install/windows-install/](https://docs.docker.com/desktop/install/windows-install/)
    
    *   [Docker Engine](https://docs.docker.com/engine/install/)
        
    *   [Docker Compose](https://docs.docker.com/compose/install/)
        

### Repositories

### Source Repo (trader-quickstart)

[https://github.com/valory-xyz/trader-quickstart](https://github.com/valory-xyz/trader-quickstart)

### Forked Repo (gnostic-observer)

owlwilderness/gnostic-observer

[https://github.com/OwlWilderness/gnostic-observer](https://github.com/OwlWilderness/gnostic-observer)

Script Execution
----------------

Using the bash terminal run the ./run\_service.sh and follow the prompts. Note the rpc needs the https.

*   trial and error and reruns and rituals needed (maybe some deleting of folders (until the address are created)
    
*   Replace “python3” with “python” in the run\_service.sh
    
*   pip install --upgrade pip --user
    
*   needed to re-run a few times until the trader folder was created - there were errors
    
*   comment line 68-74 of **%APPDATA%\\pypoetry**\\Cache\\virtualenvs\\trader-VOVbp0DY-py3.10\\Lib\\site-packages\\autonomy\\cli\\helpers\\deployment.py
    
*   remove sudo from line 63 of the run\_service.sh script (in the trader folder after run the first time)
    

Dock

[Subscribe](null)

Results
-------

Docker
------

![](https://storage.googleapis.com/papyrus_images/76366349e5bbef09dc8fb5dde89c41457a58564f0b946592f1726735a0d73998.png)

### Safe Wallet

[https://gnosisscan.io/address/0x44d97681a1d4d86d8ddb7d960b063e22fd9db490](https://gnosisscan.io/address/0x44d97681a1d4d86d8ddb7d960b063e22fd9db490)

Predictions
-----------

[https://predictions.oaksprout.repl.co/agents/0x44d97681a1d4d86d8ddb7d960b063e22fd9db490](https://predictions.oaksprout.repl.co/agents/0x44d97681a1d4d86d8ddb7d960b063e22fd9db490)

---

*Originally published on [tekh](https://paragraph.com/@quantumtekh/gnostic-observer-windows-build)*
