← 开源
GaiaNet-AI

gaianet-node

Install, run and deploy your own decentralized AI agent service

InfrastructureDeploy & ServeShell
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
5.01k
Star
325
Fork
+0
本周
26
贡献者
创建于 2024-03-06 · 更新于 2026-10-14 · 今日第 7472 名
主要开发者

GaiaNet-AI/gaianet-node 排名第 7,472,有 5,015 个星标。

同类别比较

GaiaNet-AI/gaianet-node 排名第 7,472,此处有 8 个同类条目;marqo-ai/marqo 排名第 7,471。

同类别比较
名称排名指标
huggingface/text-embeddings-inference7,460
语言:
Rust
星标数:
5,079
分叉数:
443
简介:
A blazing fast inference solution for text embeddings models
javascriptdata/danfojs7,465
语言:
TypeScript
星标数:
5,062
分叉数:
221
简介:
Danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
XiaoMi/mace7,467
语言:
C++
星标数:
5,052
分叉数:
822
简介:
MACE is a deep learning inference framework optimized for mobile heterogeneous computing platforms.
marqo-ai/marqo7,471
语言:
Python
星标数:
5,028
分叉数:
240
简介:
Ecommerce Search and Discovery - marqo.ai
deepseek-ai/smallpond7,473
语言:
Python
星标数:
5,013
分叉数:
455
简介:
A lightweight data processing framework built on DuckDB and 3FS.
transcranial/keras-js7,478
语言:
JavaScript
星标数:
4,965
分叉数:
488
简介:
Run Keras models in the browser, with GPU support using WebGL
NVIDIA-AI-IOT/torch2trt7,501
语言:
Python
星标数:
4,889
分叉数:
695
简介:
An easy to use PyTorch to TensorRT converter
airbnb/aerosolve7,518
语言:
Scala
星标数:
4,808
分叉数:
562
简介:
A machine learning package built for humans.
关键参数与规格
关键参数与规格
参数值
语言Shell
类别Infrastructure
子类别Deploy & Serve
关键词Agent
星标数5,015
分叉数325
贡献者26
创建日期2024-03-06
更新日期2026-10-14
1 天星标数0
7 天星标数0
排名7,472
上次排名4,805
排名变化-2,667
7 天星标排名11,728
上次 7 天星标排名16,725
7 天星标排名变化4,997
总星标排名2,800
上次总星标排名2,799
总星标排名变化-1
国家USA
README 摘录

Run your own GaiaNet node Japanese(日本語) | Chinese(中文) | Korean(한국어) | Turkish (Türkçe) | Farsi(فارسی) | Arabic (العربية) | Indonesia | Russian (русскийة) | Portuguese (português) | We need your help to translate this README into your native language. Checkout our official docs and a Manning ebook on how to customize open source models. Then, follow the prompt on your screen to set up the environment path. It will download the model files and vector database files specified in the file, and it

could take a few minutes since the files are large. The script prints the official node address on the console as follows. You can open a browser to that URL to see the node information and then chat with the AI agent on the node. To stop the node, you can run the following script. Install guide The output should look like below: By default, it installs into the directory. You can also choose to install into an alternative directory

. Initialize the node The output should look like below: The command initializes the node according to the file. You can use some of our pre-set configurations. For example, the command below initializes a node with the llama-3 8B model with a London guidebook as knowledge base. To see a list of pre-set configurations, you can do . Besides a pre-set configurations like , you can also pass a URL to your own for the node to be initialized

to the state you'd like. If you need to a node installed in an alternative directory, do this. Start the node The output should look like below: You can start the node for local use. It will be only accessible via and not available on any of the GaiaNet domain's public URLs. You can also start a node installed in an alternative base directory. Stop the node The output should look like below: Stop a node installed in an alternative

base directory. Update configuration Using subcommand can update the key fields defined in the file. You MUST run again after you update the configuartion. To update the field, for example, use the following command: To update the field, for example, use the following command: Below are all options of the subcommand. Resources & Contributing Back Looking for the docs? Check the documentation or the Contributing Guide out. We also recommend reading Awesome-Gaia for a curated list of tools, projects, and

resources from the Gaia community Want to talk to the community? Hop in our Telegram and share your ideas and what you've build with Gaianet. Head over to our issue tracker and we'll do our best to help. We expect all Gaianet contributors to abide by the terms of our Code of Conduct. **→ Start contributing on GitHub** Contributors

常见问题

记录了多少星标和分叉?

GaiaNet-AI/gaianet-node 有 5,015 个星标和 325 个分叉。

仓库排名是多少?

GaiaNet-AI/gaianet-node 排名第 7,472。

记录的语言和类别是什么?

GaiaNet-AI/gaianet-node 有 5,015 个星标,语言为 Shell,类别为 Infrastructure。

哪个仓库排名最接近?

GaiaNet-AI/gaianet-node 与 marqo-ai/marqo 比较,后者排名第 7,471,有 5,028 个星标。

README

Run your own GaiaNet node

Japanese(日本語) | Chinese(中文) | Korean(한국어) | Turkish (Türkçe) | Farsi(فارسی) | Arabic (العربية) | Indonesia | Russian (русскийة) | Portuguese (português) | We need your help to translate this README into your native language.

Like our work? ⭐ Star us!

Checkout our official docs and a Manning ebook on how to customize open source models.


Quick start

Install the default node software stack with a single line of command on Mac, Linux, or Windows WSL.

curl -sSfL 'https://github.com/GaiaNet-AI/gaianet-node/releases/latest/download/install.sh' | bash

Then, follow the prompt on your screen to set up the environment path. The command line will begin with source.

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.

gaianet init

Start the node.

gaianet start

The script prints the official node address on the console as follows. You can open a browser to that URL to see the node information and then chat with the AI agent on the node.

... ... https://0xf63939431ee11267f4855a166e11cc44d24960c0.us.gaianet.network

To stop the node, you can run the following script.

gaianet stop

Install guide

curl -sSfL 'https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/install.sh' | bash

The output should look like below:

[+] Downloading default config file ...

[+] Downloading nodeid.json ...

[+] Installing WasmEdge with wasi-nn_ggml plugin ...

Info: Detected Linux-x86_64

Info: WasmEdge Installation at /home/azureuser/.wasmedge

Info: Fetching WasmEdge-0.13.5

/tmp/wasmedge.2884467 ~/gaianet
######################################################################## 100.0%
~/gaianet
Info: Fetching WasmEdge-GGML-Plugin

Info: Detected CUDA version:

/tmp/wasmedge.2884467 ~/gaianet
######################################################################## 100.0%
~/gaianet
Installation of wasmedge-0.13.5 successful
WasmEdge binaries accessible

    The WasmEdge Runtime wasmedge version 0.13.5 is installed in /home/azureuser/.wasmedge/bin/wasmedge.


[+] Installing Qdrant binary...
    * Download Qdrant binary
################################################################################################## 100.0%

    * Initialize Qdrant directory

[+] Downloading the rag-api-server.wasm ...
################################################################################################## 100.0%

[+] Downloading dashboard ...
################################################################################################## 100.0%

By default, it installs into the $HOME/gaianet directory. You can also choose to install into an alternative directory.

curl -sSfL 'https://raw.githubusercontent.com/GaiaNet-AI/gaianet-node/main/install.sh' | bash -s -- --base $HOME/gaianet.alt

Initialize the node

gaianet init

The output should look like below:

[+] Downloading Llama-2-7b-chat-hf-Q5_K_M.gguf ...
############################################################################################################################## 100.0%############################################################################################################################## 100.0%

[+] Downloading all-MiniLM-L6-v2-ggml-model-f16.gguf ...

############################################################################################################################## 100.0%############################################################################################################################## 100.0%

[+] Creating 'default' collection in the Qdrant instance ...

    * Start a Qdrant instance ...

    * Remove the existed 'default' Qdrant collection ...

    * Download Qdrant collection snapshot ...
############################################################################################################################## 100.0%############################################################################################################################## 100.0%

    * Import the Qdrant collection snapshot ...

    * Recovery is done successfully

The init command initializes the node according to the $HOME/gaianet/config.json file. You can use some of our pre-set configurations. For example, the command below initializes a node with the llama-3 8B model with a London guidebook as knowledge base.

gaianet init --config https://raw.githubusercontent.com/GaiaNet-AI/node-configs/main/llama-3-8b-instruct_london/config.json

To see a list of pre-set configurations, you can do gaianet init --help. Besides a pre-set configurations like gaianet_docs, you can also pass a URL to your own config.json for the node to be initialized to the state you'd like.

If you need to init a node installed in an alternative directory, do this.

gaianet init --base $HOME/gaianet.alt

Start the node

gaianet start

The output should look like below:

[+] Starting Qdrant instance ...

    Qdrant instance started with pid: 39762

[+] Starting LlamaEdge API Server ...

    Run the following command to start the LlamaEdge API Server:

wasmedge --dir .:./dashboard --nn-preload default:GGML:AUTO:Llama-2-7b-chat-hf-Q5_K_M.gguf --nn-preload embedding:GGML:AUTO:all-MiniLM-L6-v2-ggml-model-f16.gguf rag-api-server.wasm --model-name Llama-2-7b-chat-hf-Q5_K_M,all-MiniLM-L6-v2-ggml-model-f16 --ctx-size 4096,384 --prompt-template llama-2-chat --qdrant-collection-name default --web-ui ./ --socket-addr 0.0.0.0:8080 --log-prompts --log-stat --rag-prompt "Use the following pieces of context to answer the user's question.\nIf you don't know the answer, just say that you don't know, don't try to make up an answer.\n----------------\n"


    LlamaEdge API Server started with pid: 39796

You can start the node for local use. It will be only accessible via localhost and not available on any of the GaiaNet domain's public URLs.

gaianet start --local-only

You can also start a node installed in an alternative base directory.

gaianet start --base $HOME/gaianet.alt

Stop the node

gaianet stop

The output should look like below:

[+] Stopping WasmEdge, Qdrant and frpc ...

Stop a node installed in an alternative base directory.

gaianet stop --base $HOME/gaianet.alt

Update configuration

Using gaianet config subcommand can update the key fields defined in the config.json file. You MUST run gaianet init again after you update the configuartion.

To update the chat field, for example, use the following command:

gaianet config --chat-url "https://huggingface.co/second-state/Llama-2-13B-Chat-GGUF/resolve/main/Llama-2-13b-chat-hf-Q5_K_M.gguf"

To update the chat_ctx_size field, for example, use the following command:

gaianet config --chat-ctx-size 5120

Below are all options of the config subcommand.

$ gaianet config --help

Usage: gaianet config [OPTIONS]

Options:
  --chat-url                Update the url of chat model.
  --chat-ctx-size           Update the context size of chat model.
  --embedding-url           Update the url of embedding model.
  --embedding-ctx-size      Update the context size of embedding model.
  --prompt-template         Update the prompt template of chat model.
  --port                    Update the port of LlamaEdge API Server.
  --system-prompt           Update the system prompt.
  --rag-prompt              Update the rag prompt.
  --rag-policy              Update the rag policy [Possible values: system-message, last-user-message].
  --reverse-prompt          Update the reverse prompt.
  --domain                  Update the domain of GaiaNet node.
  --snapshot                Update the Qdrant snapshot.
  --qdrant-limit            Update the max number of result to return.
  --qdrant-score-threshold  Update the minimal score threshold for the result.
  --base                   The base directory of GaiaNet node.
  --help                         Show this help message

Have fun!

Resources & Contributing Back

Looking for the docs? Check the documentation or the Contributing Guide out. We also recommend reading Awesome-Gaia for a curated list of tools, projects, and resources from the Gaia community

Want to talk to the community? Hop in our Telegram and share your ideas and what you've build with Gaianet.

Find a bug? Head over to our issue tracker and we'll do our best to help. We love pull requests, too!

We expect all Gaianet contributors to abide by the terms of our Code of Conduct.

→ Start contributing on GitHub

Contributors

排名相邻
同类项目