A daemon-driven AI assistant with a clean client/server architecture.
Disclaimer: This is a fork of the original Exocortex repo by Yeyito777. This fork adds fixes for the Windows port; all original credit goes to Yeyito777.
Don't read the rest of this file. You only need to know the three following things:
- The easiest way to install Exocortex is to tell your AI agent:
Please install https://github.com/Yeyito777/Exocortex.git
-
Exocortex is fully vim-keyed, the easiest way to learn how to use it is to point your agent at the code and ask it how it works.
-
Chances are you won't like Exocortex out-of-the-box, and there may be things that straight up don't work for you. This is because I built it for me. The easiest way to fix this, is to ask AI to do it for you. There are many systems I've built into it that makes this process particularly easy, have fun discovering them.
-
Git
sudo pacman -S git
-
Bun (JavaScript runtime)
curl -fsSL https://bun.sh/install | bashThen restart your shell or run
source ~/.bashrcsobunis on yourPATH. -
systemd — comes with Arch by default.
git clone https://github.com/Yeyito777/Exocortex.git
cd Exocortex
make installThis will:
- Install dependencies (
bun install) - Symlink
exocortexdandexocortexinto~/.local/bin/ - Install and start a systemd user service for the daemon
The exo CLI is maintained as a separate external tool and is not installed by this repository's make install target.
Note: Make sure
~/.local/binis in yourPATH. Add this to your~/.bashrcor~/.zshrcif it isn't:export PATH="$HOME/.local/bin:$PATH"
Run the one-time login to connect a model provider account:
exocortexd loginexocortexThe daemon runs in the background via systemd. You can check its status with:
exocortexd statuscd Exocortex
make uninstallThis stops the systemd service and removes the symlinks from ~/.local/bin/.
-
Download
exocortex-windows-x64.zipfrom the latest release. -
Extract the zip to a folder of your choice (e.g.
C:\Exocortex). -
Open a terminal in that folder and authenticate:
.\exocortexd.exe login -
Launch by double-clicking
exocortex.bat, or from a terminal:.\exocortex.bat
The batch file starts the daemon in the background, opens the TUI, and automatically stops the daemon when you close it.
To uninstall, just delete the folder. No registry entries or services are created.
If you want to build the daemon and TUI from a specific commit:
Prerequisites:
- Git — install from git-scm.com or via
winget:winget install Git.Git
- Bun (JavaScript runtime)
powershell -c "irm bun.sh/install.ps1 | iex"
Build (from a Linux machine or WSL):
git clone https://github.com/Yeyito777/Exocortex.git
cd Exocortex
bun install
make windowsThis cross-compiles standalone executables into dist/:
exocortexd.exe— the daemonexocortex.exe— the TUI clientexocortex.bat— launcher script
Copy the contents of dist/ wherever you like and follow the same authenticate & launch steps from above.