Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
#!/bin/sh
# `strata` inside the container: the Terminal, with the address and the API key of the server this container runs, so that
# `docker exec <name> strata monitor --once`, `strata status` and `strata connect opencode` work without typing either.
# A key or address you set yourself (STRATA_API_KEY, STRATA_URL, --url) always wins.
KEY_FILE="${STRATA_KEY_FILE:-/data/state/api-key}"
if [ -z "${STRATA_API_KEY:-}" ] && [ -r "$KEY_FILE" ]; then
STRATA_API_KEY=$(cat "$KEY_FILE"); export STRATA_API_KEY
fi
STRATA_URL="${STRATA_URL:-http://127.0.0.1:${PORT:-8080}}"; export STRATA_URL
exec /opt/strata/terminal/bin/strata "$@"