Skip to Content
turbo-12f
Getting started

Install turbo-12f

Set up the pinned toolchain, Docker cages, the Neon database, credentials file, and factory binaries on macOS or Linux.

How-to guide

Install turbo-12f, compile the factory binaries, point them at a Neon database, and verify your AI coding harness.

Step 1

Clone the checkout

Fetch the repository and enter the root folder.

Step 2

Run setup.sh

Install pinned tools, Docker cages, and factory binaries.

Step 3

Connect the database

Put your Neon connection string in DATABASE_URL.

Step 4

Verify your harness

Sign in to agy or omp and confirm it replies ready.

Prerequisites

  • macOS (26 or later): Install Xcode Command Line Tools when prompted, plus Colima with docker CLI (auto, or T12_CONTAINER_ENGINE=colima and T12_COLIMA_PROFILE=t12) or Docker Desktop (no Homebrew needed).
  • Linux (x86_64 or arm64): Have git, curl, and a reachable Docker daemon (sudo systemctl enable --now docker and sudo usermod -aG docker "$USER", then re-login).
  • Database: A Neon Postgres project. The factory keeps all of its state there and has no local mode.
  • Access: GitHub access to the cone-labs/turbo-12f repository.

Install the factory

Clone the repository

Clone the repository with the GitHub CLI and change into the checkout directory. setup.sh also works from a checkout you cloned another way.

gh repo clone cone-labs/turbo-12f
cd turbo-12f

Run the setup script

Run 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).

scripts/setup.sh
READY

Expected output

When setup finishes, it prints:

Done. The factory is in <DIR> (branch <BRANCH>), binaries in bin.

If a unit test failed, setup still prints Done. after warning some unit tests failed, then exits with status 1.

Connect the Neon database

Create a Neon project and copy its pooled connection string (the host name contains -pooler). Add it to ~/.config/t12/env together with a master key that seals saved connections and project variables:

openssl rand -base64 32
DATABASE_URL=postgres://<user>:<password>@<endpoint>-pooler.<region>.aws.neon.tech/neondb?sslmode=require
T12_PROJECT_ENV_KEY=<the base64 value printed above>

t12 ui and every t12 command that reads or writes state stop at startup with DATABASE_URL is not set when the variable is missing. The first start applies the schema, so you can also create it explicitly:

bin/t12 db migrate
READY

Database ready

t12 db migrate prints db: applied migrations [...]; schema is at version N the first time and db: schema is current (version N) afterwards. bin/t12 db status prints db: schema version X of N, where X is the version it found and N the latest.

Keep the key safe and the databases apart

Losing T12_PROJECT_ENV_KEY makes every stored connection and project variable unreadable. Give staging and production factories separate databases, never one shared string.

Choose and verify an AI harness

The two supported connections are agy and omp. Pick one and sign in on the host; the t12 command line uses that sign-in. In t12 ui each person connects their own agy or omp under Connections instead (see Host and share the web app).

Every new project records its active harness and model in .t12/preferences.json, and you can switch later with t12 config set (key roles.default.harness). An Operator can also pick the factory-wide agent in t12 ui.

agy with gemini-4-neon and medium reasoning is used automatically when T12_HARNESS, T12_MODEL, and T12_THINKING are unset.

  1. Run agy once in a terminal, complete the Google sign-in in your browser, and exit agy.
  2. Optionally pin the defaults in ~/.config/t12/env:
T12_HARNESS=agy
T12_MODEL=gemini-4-neon
T12_THINKING=medium
  1. Verify the harness responds with ready:
agy --model gemini-4-neon --effort medium -p "Reply with the single word: ready"

Claude Code is retired in the web app

t12 ui offers only agy and omp, and a saved claude setting runs through omp on the same Anthropic model. The command line still accepts T12_HARNESS=claude with an absolute CLAUDE_CONFIG_DIR in ~/.config/t12/env; t12 does not expand ~ or $HOME there.

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.

Next steps

On this page