NEAR AI is a project with the goal of making open source and user-owned AGI.
One line installation with a venv virtual env:
git clone [email protected]:nearai/nearai.git && cd nearai && ./install.sh;
Or, install nearai by running:
git clone [email protected]:nearai/nearai.git
cd nearai
python3 -m pip install -e .
Check that nearai
was installed as a command line tool:
nearai version
Or, to install to a virtual environment with poetry, use the following command:
python3 -m poetry install --no-root --with dev
Check the installation worked with
poetry run nearai version
To perform write operations you will need to log in with your Near account.
nearai login
To learn how to use NEAR AI, please read the documentation.
To update nearai run:
cd nearai
git pull # Pull the latest changes
# The next step is only required in case some dependencies were added or updated, otherwise pulling new changes is enough
python3 -m pip install -e .
To contribute to NEAR AI, please read the contributing guide.