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.OInstall dependencies
bash
uv syncThis 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.pyOptionally, start the agent server for background task execution:
bash
# Terminal 3 — Agent server (optional)
uv run python agent_server.pyConfigure API keys
Once the main server is running, open the Web UI to configure your API keys:
http://localhost:48911/api_keySelect 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:48911You 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
| Server | Port | Purpose |
|---|---|---|
| Main server | 48911 | Web UI, REST API, WebSocket |
| Memory server | 48912 | Memory storage and retrieval |
| Monitor server | 48913 | Status monitoring |
| Agent/Tool server | 48915 | Agent task execution |
| Plugin server | 48916 | User plugins |
Running tests
bash
uv run pytestSee tests/README.md for details on the test suite structure and how to run specific test categories.
