Skip to main content
NexAU requires Python 3.12 or later. Install a specific release tag over SSH. SSH is required because NexAU is a private repository.
pip install git+ssh://git@github.com/nex-agi/NexAU.git@v0.4.1
Make sure your SSH key is added to your GitHub account before running this command. See GitHub’s SSH documentation if you need to set this up.

From a .whl file

Download the wheel file from the releases page, then install it directly:
pip install nexau-0.4.1-py3-none-any.whl

From the main branch

Install the latest unreleased version directly from main:
pip install git+ssh://git@github.com/nex-agi/NexAU.git
The main branch may include breaking changes that haven’t been released yet. Use a pinned release tag for production.

From source

Clone the repository and install dependencies with uv:
git clone git@github.com:nex-agi/NexAU.git
cd NexAU
pip install uv
uv sync
uv sync installs all dependencies defined in pyproject.toml into a local virtual environment.

Optional dependencies

python-dotenv

NexAU reads LLM credentials and API keys from environment variables. Install python-dotenv to load them from a .env file using dotenv run:
pip install python-dotenv
Once installed, prefix your run command with dotenv run to load your .env automatically:
dotenv run uv run agent.py

Verify the installation

Open a Python shell and import NexAU to confirm everything is installed correctly:
from nexau import Agent, AgentConfig, LLMConfig, Tool
print("NexAU installed successfully")