pi_providers file; there is
no provider choice in this guide. The path is not fully tested by a newcomer from an empty machine. The z.ai template and its runner validation
are the tested parts.
For an explanation of what each setting does, see the full getting-started
guide. It remains the reference and is intentionally not
replaced by this page.
If you would rather not run a machine, Orbi Managed Cloud runs the same delivery loop hosted: https://orbi.build/cloud/?ref=docs-quickstart
1. Install Orbi
The installer installs the Pi CLI for you, but Node ≥ 22.19.0 is the one prerequisite it does not provide — install Node yourself first (on an older Node a Pi install still reports success, and everypi
call then crashes). The full list lives in the
prerequisites table.
Run this command. When the installer asks for a GitHub repository, enter the
repository whose Issues Orbi should deliver.
setup_failed, and orbi --help is available.
If it fails, follow the error’s named prerequisite (most commonly gh auth login or an SSH key), fix it, and run the same command again.
2. Add the fixed free provider configuration
Copy this one configuration block, replacing onlyreplace-with-your-key
with the key from your z.ai account:
sed -i.bak is the portable in-place form: BSD sed (macOS) takes the
argument right after -i as the backup suffix, so a bare -i swallows the
following -e and the chain stops there. The backup the command creates is
removed again by rm -f orbi.toml.bak.
Success: the block returns to the prompt, and the file contains provider
z-ai, model glm-5.3-flash, and apiKey $ZAI_API_KEY. If it fails, check
that you are in the installer checkout at ~/.orbi/src, then rerun the block;
never put the real key in orbi.toml, JSON, an Issue, or a PR.
The runner validates this exact models.json-shape file through
_load_pi_providers before starting work. It fails fast for a missing file,
provider/model, endpoint/API, or environment variable.
3. Create one ready Issue
Create the smallest test task with this one command:ai-ready label. If no URL is printed, confirm gh auth status and that the
repository entered in step 1 is writable, then run the command again.
4. Start one delivery tick
Start the first Runner instance. On Linux the scheduler is systemd:org.orbi.runner.1. Start it without -k: launchctl(1) makes kickstart
start the job only if it is not already running, while -k kills a running
instance first — and the 300-second timer may already be delivering the Issue
from step 3:
session_pending/activity line — the journal on Linux (journalctl --user -u [email protected] -n 30 --no-pager), the instance log file on macOS (tail -n 30 ~/.orbi/src/.orbi/org.orbi.runner.1.log). session_pending means Pi has
started but has not created its session file yet — the first startup
sub-phase, not a sign that the model is working. Follow the journal’s startup
lines process_spawned, session_created and first_request_started to see
which milestone the run reached; once the session exists but its first
response has not arrived, the phase is request_pending. If the command
fails, read that same log; fix the exact setup_failed,
transport_check_failed, or provider error it names, then start the service
again.
5. See the pull request
After the run log reportsresult=pr_opened, run this command from the same
checkout:
journalctl --user -u [email protected] -n 50 --no-pager on Linux, tail -n 50 ~/.orbi/src/.orbi/org.orbi.runner.1.log on
macOS; ai-blocked means the run stopped with its actionable failure, not that
it silently succeeded.