Skip to content

Development Setup

Clone the repository

bash
git clone https://github.com/Project-N-E-K-O/N.E.K.O.git
cd N.E.K.O

Install dependencies

bash
uv sync

This installs all Python dependencies into a managed virtual environment. The project requires Python 3.11.

Start the servers

N.E.K.O. runs as multiple cooperating servers. At minimum, you need the main server and the memory server:

bash
# Terminal 1 — Memory server
uv run python memory_server.py

# Terminal 2 — Main server
uv run python main_server.py

Optionally, start the agent server for background task execution:

bash
# Terminal 3 — Agent server (optional)
uv run python agent_server.py

Configure API keys

Once the main server is running, open the Web UI to configure your API keys:

http://localhost:48911/api_key

Select your preferred Core API provider and enter your API key. See API Providers for details on each provider.

Verify the setup

Open the main interface:

http://localhost:48911

You should see the character interface with a Live2D model. Try sending a text message or starting a voice session to verify everything works.

Default ports

ServerPortPurpose
Main server48911Web UI, REST API, WebSocket
Memory server48912Memory storage and retrieval
Monitor server48913Status monitoring
Agent/Tool server48915Agent task execution
Plugin server48916User plugins

Running tests

bash
uv run pytest

See tests/README.md for details on the test suite structure and how to run specific test categories.

Released under the MIT License.