GaiaNet
Quick start
Install the default node software stack with a single line of command on Mac, Linux, or Windows WSL.
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.
Start the node.
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
By default, it installs into the $HOME/gaianet
directory. You can also choose to install into an alternative directory.
Initialize the node
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.
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.
Start the node
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.
You can also start a node installed in an alternative base directory.
Stop the node
Stop a node installed in an alternative base directory.
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:
To update the chat_ctx_size
field, for example, use the following command:
Below are all options of the config
subcommand.
Last updated