Simple setup
Run OpenAlice locally first, then connect the model.
OpenAlice is an AI trading workbench that runs on your own machine. At the moment, the easiest setup is to clone the repository, install the Node packages, and start the local dev app.
Important: OpenAlice is experimental trading software. Do not use it for live trading with real funds until you understand the risks and have tested the workflow carefully.
What you need
macOS install
- Install Homebrew if you do not already have it.
- Install Node.js and Git.
brew install node git
npm install -g pnpm
- Check the versions. Node should be version 22 or newer, and pnpm should be version 10 or newer.
node --version
pnpm --version
git --version
- Install and log in to the agent CLI you want OpenAlice to use. For example, run
claudeonce for Claude Code, or runcodex loginfor Codex.
Windows install
- Install Node.js 22 or newer.
- Install Git for Windows. During setup, keep the option that makes Git usable from the Windows command line.
- Open Git Bash. This matters because OpenAlice workspaces need bash and POSIX tools.
- Install pnpm.
npm install -g pnpm
- Check the versions.
node --version
pnpm --version
git --version
bash --version
If you prefer WSL2, run the same source setup inside WSL2. Plain PowerShell or cmd.exe alone is not enough for OpenAlice workspaces because they do not provide the needed bash tools.
Download and start OpenAlice
Use the same commands on macOS Terminal, Git Bash, or WSL2.
git clone https://github.com/TraderAlice/OpenAlice.git
cd OpenAlice
pnpm install
pnpm dev
Wait until the terminal shows that the engine has started and the web plugin is listening. Then open the UI URL printed by the terminal. It is usually http://localhost:5173, but if that port is busy OpenAlice may print another local URL.
Connect the LLM
Keep this simple. OpenAlice does not need you to build a model server first. It runs the model loop through the agent CLI inside a workspace.
If you are not sure which route to use, start with the CLI login route. Once OpenAlice is running, add the API-key provider only if your workflow needs it.
First test
- Open the local UI URL printed by
pnpm dev. - Open Chat or Workspaces.
- Create a small workspace using your chosen agent CLI.
- Ask a harmless test question, such as:
Summarize what this workspace can do. - If the workspace asks you to log in, open a terminal, log in to the CLI again, then restart
pnpm dev.
Final checklist
- Node.js is version 22 or newer.
- pnpm is version 10 or newer.
- Git works from your terminal.
- On Windows, bash works from Git Bash or WSL2.
pnpm installcompleted inside the OpenAlice folder.pnpm devprinted the local UI URL.- Your agent CLI or LLM provider is connected.
- No API key is saved inside the project files.