Installation¶
Requirements¶
- Python ≥ 3.10
- Git (Arbor runs each experiment in an isolated git worktree)
- An API key for at least one LLM provider (Anthropic, OpenAI, or any OpenAI-compatible endpoint via LiteLLM)
Install¶
git clone https://github.com/RUC-NLPIR/Arbor.git
cd Arbor
pip install -e . # or: uv pip install -e .
That single command installs Arbor and the arbor command into your current Python
environment. We recommend a virtual environment so it stays isolated:
Why editable (-e)?
Arbor is research software under active development. An editable install lets you
pull updates with git pull without reinstalling.
Verify¶
arbor doctor is the fastest way to catch a broken setup — it reports which arbor your
shell resolves, which Python it runs on, whether git is available, and whether your
user config exists.
Optional: a global arbor command with pipx¶
If you'd rather have arbor available in every directory without activating a venv,
install it with pipx — it manages the isolated environment for
you:
Troubleshooting¶
arbor: command not found
The package was installed into an environment that isn't active or on your PATH.
Activate the right virtual environment, or use the pipx install above. Run
arbor doctor for a diagnosis.
Next steps¶
- Quickstart — configure a provider and start your first run.
- Configuration — every option, with examples.