$git clone https://github.com/GaiaNet-AI/gaianet-nodeJapanese(日本語) | Chinese(中文) | Korean(한국어) | Turkish (Türkçe) | Farsi(فارسی) | Arabic (العربية) | Indonesia | Russian (русскийة) | [Portuguese (português
| 1 | # Run your own GaiaNet node |
| 2 | |
| 3 | |
| 4 | <p align="center"> |
| 5 | <a href="https://discord.gg/gaianet-ai"> |
| 6 | <img src="https://img.shields.io/badge/chat-Discord-7289DA?logo=discord" alt="GaiaNet Discord"> |
| 7 | </a> |
| 8 | <a href="https://twitter.com/Gaianet_AI"> |
| 9 | <img src="https://img.shields.io/badge/Twitter-1DA1F2?logo=twitter&logoColor=white" alt="GaiaNet Twitter"> |
| 10 | </a> |
| 11 | <a href="https://www.gaianet.ai/"> |
| 12 | <img src="https://img.shields.io/website?up_message=Website&url=https://www.gaianet.ai/" alt="Gaianet website"> |
| 13 | </a> |
| 14 | </p> |
| 15 | |
| 16 | [Japanese(日本語)](README-ja.md) | [Chinese(中文)](README-cn.md) | [Korean(한국어)](README-kr.md) | [Turkish (Türkçe)](README-tr.md) | [Farsi(فارسی)](README-fa.md) | [Arabic (العربية)](README-ar.md) | [Indonesia](README-id.md) | [Russian (русскийة)](README-ru.md) | [Portuguese (português)](README-pt.md) | We need your help to translate this README into your native language. |
| 17 | |
| 18 | Like our work? ⭐ Star us! |
| 19 | |
| 20 | Checkout our [official docs](https://docs.gaianet.ai/) and a [Manning ebook](https://www.manning.com/liveprojectseries/open-source-llms-on-your-own-computer) on how to customize open source models. |
| 21 | |
| 22 | --- |
| 23 | |
| 24 | ## Quick start |
| 25 | |
| 26 | Install the default node software stack with a single line of command on Mac, Linux, or Windows WSL. |
| 27 | |
| 28 | ```bash |
| 29 | curl -sSfL 'https://github.com/GaiaNet-AI/gaianet-node/releases/latest/download/install.sh' | bash |
| 30 | ``` |
| 31 | |
| 32 | > Then, follow the prompt on your screen to set up the environment path. The command line will begin with `source`. |
| 33 | |
| 34 |  |
| 35 | |
| 36 | |
| 37 | Initialize the node. It will download the model files and vector database files specified in the `$HOME/gaianet/config.json` file, and it could take a few minutes since the files are large. |
| 38 | |
| 39 | ```bash |
| 40 | gaianet init |
| 41 | ``` |
| 42 | |
| 43 | Start the node. |
| 44 | |
| 45 | ```bash |
| 46 | gaianet start |
| 47 | ``` |
| 48 | |
| 49 | The script prints the official node address on the console as follows. |
| 50 | You can open a browser to that URL to see the node information and then chat with the AI agent on the node. |
| 51 | |
| 52 | ``` |
| 53 | ... ... https://0xf63939431ee11267f4855a166e11cc44d24960c0.us.gaianet.network |
| 54 | ``` |
| 55 | |
| 56 | To stop the node, you can run the following script. |
| 57 | |
| 58 | ```bash |
| 59 | gaianet stop |
| 60 | ``` |
| 61 | |
| 62 | ## Install guide |
| 63 | |
| 64 | ```bash |
| 65 | curl -sSfL 'https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/install.sh' | bash |
| 66 | ``` |
| 67 | |
| 68 | <details><summary> The output should look like below: </summary> |
| 69 | |
| 70 | ```console |
| 71 | [+] Downloading default config file ... |
| 72 | |
| 73 | [+] Downloading nodeid.json ... |
| 74 | |
| 75 | [+] Installing WasmEdge with wasi-nn_ggml plugin ... |
| 76 | |
| 77 | Info: Detected Linux-x86_64 |
| 78 | |
| 79 | Info: WasmEdge Installation at /home/azureuser/.wasmedge |
| 80 | |
| 81 | Info: Fetching WasmEdge-0.13.5 |
| 82 | |
| 83 | /tmp/wasmedge.2884467 ~/gaianet |
| 84 | ######################################################################## 100.0% |
| 85 | ~/gaianet |
| 86 | Info: Fetching WasmEdge-GGML-Plugin |
| 87 | |
| 88 | Info: Detected CUDA version: |
| 89 | |
| 90 | /tmp/wasmedge.2884467 ~/gaianet |
| 91 | ######################################################################## 100.0% |
| 92 | ~/gaianet |
| 93 | Installation of wasmedge-0.13.5 successful |
| 94 | WasmEdge binaries accessible |
| 95 | |
| 96 | The WasmEdge Runtime wasmedge version 0.13.5 is installed in /home/azureuser/.wasmedge/bin/wasmedge. |
| 97 | |
| 98 | |
| 99 | [+] Installing Qdrant binary... |
| 100 | * Download Qdrant binary |
| 101 | ################################################################################################## 100.0% |
| 102 | |
| 103 | * Initialize Qdrant directory |
| 104 | |
| 105 | [+] Downloading the rag-api-server.wasm ... |
| 106 | ################################################################################################## 100.0% |
| 107 | |
| 108 | [+] Downloading dashboard ... |
| 109 | ################################################################################################## 100.0% |
| 110 | ``` |
| 111 | |
| 112 | </details> |
| 113 | |
| 114 | By default, it installs into the `$HOME/gaianet` directory. You can also choose to install into an alternative directory. |
| 115 | |
| 116 | ```bash |
| 117 | curl -sSfL 'https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/install.sh' | bash -s -- --base $HOME/gaianet.alt |
| 118 | ``` |
| 119 | |
| 120 | ## Initialize the node |
| 121 | |
| 122 | ``` |
| 123 | gaianet init |
| 124 | ``` |
| 125 | |
| 126 | <details><summary> The output should look like below: </summary> |
| 127 | |
| 128 | ` |