Configuration Reference

Reef CLI: serve

From a checkout, set your provider key in REEF_UPSTREAM_API_KEY and start Reef:

Shell
export REEF_TOKEN="$(openssl rand -hex 16)"
reef serve -c recipes/basic/external-provider.yaml

Use reef serve --help to list flags. Press Ctrl-C to stop. Logs and PID files default to .reef/run.

Options #

  • -c FILE reads deployment YAML. Override a value with --<section>.<key> VALUE.

  • --print-config prints resolved settings and their sources. See credential masking.

  • --service NAME runs one service. See Split services for the names, ports and shared stores.

  • --model ollama/MODEL uses the local Ollama server. --model openai/MODEL uses OpenAI with REEF_UPSTREAM_API_KEY. Other model IDs need an upstream URL. Explicit URL and key flags take priority.