ConfigHub · Durable config for coding agents

Local Hub (127.0.0.1) · confighub/cub-server (Evaluation License) · Apple Silicon Mac (~125 MB)

Show me both versions of my app

Try a change in a running preview while your usual app stays untouched, and reopen that preview tomorrow from a fresh chat. Production waits for your approval. The installer plugin is MIT; confighub/cub-server runs locally on loopback 127.0.0.1 under the ConfigHub Evaluation License (Apple Silicon Mac, ~125 MB, no Docker or account; Linux and Intel Mac use Cloud Hub or K8s/kind via cub server install).

Can I see the change before I keep it?

Pick the example that fits your app. A local preview runs your app the way it already runs: npm run dev, npm start, a Procfile, or a command you give. Next.js, Vite and Python apps work this way. When you ask to keep it, the plugin offers local setup.

Local preview

Keep a preview running for tomorrow

Show me my app as it is and a local preview with the heading "Evening collection." Give me both links and keep the preview running for tomorrow.

Observed result: Both URLs ran side by side. A fresh chat in the same folder found the running preview and read its response. Run a preview

Saved production settings

Open Friday’s live settings as a preview

Open Friday’s production settings as a new preview.

Local Hub runs today’s code using the settings this hub held at the end of the last completed Friday in your time zone. If the app joined later, its history starts then.

In our local test, the web and Daytona starters supplied the settings. We dated the older revision Friday. Its preview queued the sample job after three attempts while production kept delivering on attempt four, and a fresh chat found its original preview without the URL (transcript · current release).

Daytona sandbox

Throw away the sandbox. Keep what you learned.

The queue spiked. In a disposable Daytona sandbox, run the same jobs at 120 and 240 per batch. Show me the difference and save the change and its reason for review before you delete the sandbox.

Observed result: 360 items ran in three batches of 120, then two batches of 240 and 120. After deleting the sandbox, a fresh local hub still held the reason, 240 in staging, and 120 in production waiting for approval. Daytona guide · Preview result

How one app lives in a local hub

Connecting an app does not rewrite your repo files. ConfigHub creates three copies of its settings and an optional isolated preview, plus a scoped key for the agent.

Shared source

app-base

Shared settings and starter defaults, each with a written reason. Changes start here once.

Agent can update

preview

A running local copy on its own port that survives across chats while leaving your usual app alone.

Agent can update

app-staging

Takes base changes right away so your agent can verify behavior before proposing to live.

Owner approves

app-live (production)

Agent proposes a change order on its scoped key; the hub refuses self-approval until you approve.

Two ways to start using a local hub

Local Hub runs via the official confighub/cub-server plugin (MIT installer plugin; ConfigHub server + PostgreSQL + Web UI on loopback 127.0.0.1 under the ConfigHub Evaluation License; Apple Silicon Mac, ~125 MB, no Docker required; Linux and Intel Mac use Cloud Hub or K8s/kind via cub server install). Ask for a durable preview in your app folder, or start it directly from the CLI.

Opt-in from chat

Ask for a preview you can reopen tomorrow

In a local Node app reading .env, ask in plain words:

Try "Evening collection" as the heading. Keep the usual app as it is. I'd like to open the preview again tomorrow.

Say yes when the plugin offers to attach the app. First use starts the official confighub/cub-server local hub on 127.0.0.1 (Evaluation License). Existing app preview guide.

Explicit CLI

Attach any repo or run in CI and sandboxes

Works with .env, Compose, Terraform, and Kustomize repos, or inside a disposable CI job with one hub per run.

cub plugin install confighub/cub-server
cub server local up   # or: cub local start
cub repo adopt . --name myapp
cub agent require-approval myapp --variant live --agent myapp-agent
cub inbox list

Install Local Hub (cub-server) · CI & sandboxes

Review, approve, refuse, or roll back

The agent proposes changes using its own scoped key. You inspect and decide in your own terminal using the order IDs shown below.

cub inbox list

Review the proposed values. To approve one, run cub inbox approve BASE/ORDER with the exact ID shown. To decline it, run cub inbox refuse BASE/ORDER --reason "Why". You can leave it pending and come back later.

To undo an approved change, run cub repo rollback APP-live --change-order BASE/ORDER --reason "Why" with your app and order. Review the new proposal before production changes.

No lock-in and a clean exit ramp. Your original files are never modified during adopt. At any point you can export every setting back to plain files (cub repo back-to-git) and stop or remove the Local Hub (cub local stop / cub local uninstall --delete-data). Going back and uninstalling · Approvals detail.

Ready to share history, PR environments, and approvals across a team?

Point the exact same app and cub commands at a Cloud Hub (hosted or self-hosted Helm) with /confighub:to-hub or cub local to-hub.

Cloud Hub (Cloud / VPC) →