Install turbo-12f
Set up the pinned toolchain, Docker cages, credentials file, and factory binaries on macOS or Linux.
Install turbo-12f, compile the factory binaries, and verify your AI coding harness in three steps.
Clone the checkout
Fetch the repository and enter the root folder.
Run setup.sh
Install pinned tools, Docker cages, and factory binaries.
Verify your harness
Sign in to agy, omp, or claude and confirm it replies ready.
Prerequisites
- macOS (26 or later): Install Xcode Command Line Tools when prompted, plus Colima with
dockerCLI (auto, orT12_CONTAINER_ENGINE=colimaandT12_COLIMA_PROFILE=t12) or Docker Desktop (no Homebrew needed). - Linux (
x86_64orarm64): Havegit,curl, and a reachable Docker daemon (sudo systemctl enable --now dockerandsudo usermod -aG docker "$USER", then re-login). - Access: GitHub access to the private
All-Chat-Bridge-for-CRM/ConvoRelayrepository.
Install the factory
Clone the repository
Clone the repository with the GitHub CLI and change into the checkout directory.
gh repo clone All-Chat-Bridge-for-CRM/ConvoRelay
cd ConvoRelayRun the setup script
Run factory/scripts/setup.sh from the repository root. The script is safe to rerun if it pauses for an interactive prompt (Xcode tools, gh auth login, or browser sign-in).
factory/scripts/setup.shExpected output
When setup finishes, it prints:
Done. The factory is in <DIR> (branch <BRANCH>), binaries in factory/bin.- Pinned runtimes (
mise): Installsmiseinto~/.local/binand pins Go1.27.4, Node26.13.1, Bun1.4.5,gh2.103.2,agy1.5.13, andomp19.1.0. - GitHub auth & env file: Signs into
ghif needed, sets git auth, and creates~/.config/t12/env(0600) withT12_SANDBOX_ADAPTER=docker. - Docker cages: Starts a
t12Colima VM on macOS if needed, buildst12-web-blog:2, and pulls pinned runtime and scanner images (DEBIAN_MIRRORoverridesdeb.debian.org). - Offline vulnerability cache: Downloads the npm OSV database to
~/t12/cache/osv/osv-scalibr/npm/all.zipso security scans work offline. - Factory build & tests: Builds the
t12 uiweb bundle, compiles all 12 binaries intofactory/bin/, and runs the fast Go unit tests.
Choose and verify an AI harness
Pick one coding harness below. Every new project records its active harness and model in .t12/preferences.json, and you can switch later with t12 config set or in t12 ui under Connections.
agy with gemini-4-neon and medium reasoning is used automatically when T12_HARNESS, T12_MODEL, and T12_THINKING are unset.
- Run
agyonce in a terminal, complete the Google sign-in in your browser, and exitagy. - Optionally pin the defaults in
~/.config/t12/env:
T12_HARNESS=agy
T12_MODEL=gemini-4-neon
T12_THINKING=medium- Verify the harness responds with
ready:
agy --model gemini-4-neon --effort medium -p "Reply with the single word: ready"Host tuning and optional settings
Intel Mac users
Add T12_UNIT_LIMIT_S=30 to ~/.config/t12/env. Starting npm and vitest inside Colima on Intel Macs takes 5–9 s against the default 10 s unit limit.
t12 and t12-ui exit at startup if ~/.config/t12/env has permissions wider than 0600. Shell environment variables always override file values, and agent sessions never see this file.
- Context7 docs lookup: Set
CONTEXT7_API_KEYto give planning and review agents authenticated library docs access. - Email sign-in links: Set
T12_SMTP_*keys as shown in Host and share the web app. - Custom state home: Set
T12_HOMEto move state outside~/t12/home.