AI Personal Learning
and practical guidance

GaiaNet node: install and run your own local model online proxy service

General Introduction

GaiaNet-AI/gaianet-node is an open source project that allows users to quickly install the default node software stack with a single command on Mac, Linux or Windows WSL. Users can initialize the node, customize its configuration, download model files and vector database files, and in turn launch the AI agent node. The project aims to provide a flexible and easy-to-use platform for users to run and manage their own AI agent services.

The reason for collecting this item is that ollama cannot be configured directly in Cursor unless the agent is added on top of ollama (Ways to add proxies), or use a more localized approachcurxyIt's still a bit of a pain in the ass.

Here I use yi-coder to run it locally with only 3 commands:


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

2. gaianet init --config https://raw.githubusercontent.com/GaiaNet-AI/node-configs/main/yi-coder-9b-chat/config.json

3. gaianet start

Then you get an HTTPS URL like this https://NODE-ID.us.gaianet.network.

In the meantime, you can open your browser for `http://localhost:8080` to ask questions about programming.

 

Function List

  • Quick Installation of Node Software Stacks
  • Initialize nodes and download necessary model files and vector database files
  • Customize the configuration file to suit different usage scenarios
  • Starting and stopping AI agent nodes
  • Multi-language support, including Chinese, Japanese, Russian, etc.

 

 

Using Help

Installation process

  1. Download and run the installation script: Enter the following command in the terminal to download and run the installation script:
    curl -sSfL https://github.com/GaiaNet-AI/gaianet-node/releases/latest/download/install.sh | bash
    

    This command will default the installation to the$HOME/gaianetdirectory. You can also choose to install to other directories:

    curl -sSfL https://github.com/GaiaNet-AI/gaianet-node/releases/latest/download/install.sh | bash -s -- ---base $HOME/gaianet.alt
    
  2. Initializing nodes: Run the following command to initialize the node:
    gaianet init
    

    The command will be based on the$HOME/gaianet/config.jsonfile initializes the node. You can use some preset configurations, for example:

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

    To see a list of preset configurations, you can run:

    gaianet init --help
    
  3. boot node: Run the following command to start the node:
    gaianet start
    

    When launched, the script will print the official node address on the console. You can open that URL in a browser to view node information and interact with the AI agent on the node.

  4. stopping node: Run the following command to stop the node:
    gaianet stop
    

Guidelines for use

  • configuration file: You can edit the$HOME/gaianet/config.jsonFile custom node configuration. This file contains information such as the paths to the model file and the vector database file.
  • Multi-language support: The project provides multi-language support, you can find it in theREADMEInstructions in Chinese, Japanese, Russian and many other languages are found in the document.
  • node management: With command-line tools, you can easily manage node startups, stops, and configuration updates.
AI Easy Learning

The layman's guide to getting started with AI

Help you learn how to utilize AI tools at a low cost and from a zero base.AI, like office software, is an essential skill for everyone. Mastering AI will give you an edge in your job search and half the effort in your future work and studies.

View Details>
May not be reproduced without permission:Chief AI Sharing Circle " GaiaNet node: install and run your own local model online proxy service

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish