A daemon-driven AI assistant with a clean client/server architecture.
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 daemon exposes current-instance conversation and subagent orchestration through its native exo tool. Every send or queue call requires an explicit bounded max_depth; nested turns can only pass a smaller budget, and daemon-wide/per-parent concurrency ceilings prevent runaway recursive delegation. Lower-frequency operations such as folder management, rename/delete/status, and one-shot LLM calls live in an on-demand command registry (action=commands, with bare commands or command=ls for discovery) so they do not bloat every model request. The separate exo CLI remains an external debugging/automation client—especially for targeting other daemon instances—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 loginBrowser OAuth is the default. On a remote or headless machine, use OpenAI's code login flow instead; open the displayed URL on any device and enter the one-time code:
exocortexd login openai codeThe same choices are available in the TUI as /login openai browser and
/login openai code. Use /login openai add code to add another account
from a headless machine.
exocortexThe 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.