ConfigHub · Durable config for coding agents
Docs / examples/walkthroughs/story-08-agent-config.md Source on GitHub →

One AI assistant for every team, each team keeping its own choices

For a platform team that gives several teams the same AI assistant. The assistant's definition is a small settings file: its model, its prompt, its tools and its limits. Support and Research each make it their own, with a reason for each change. When the platform team ships a new version, each team takes it and keeps what it chose, and Research records the evaluation that explains why it stays on the older model.

Quick start

You need: an unpacked confighub mini package (installing the local hub). No Docker, no cluster and no account.

By handAsk your agent
A copy for each teamcub variant create support support-assistant-base, then cub variant create research support-assistant-base"Our support assistant's definition is support-assistant.yaml in this folder, and the platform team's next version is in next/. Give Support and Research their own copy, named support and research. Support may read customers' tickets because it answers from them. Research keeps model large-2026-09 because its evaluation of the newer model is not finished. Then take the next version for both, and record that Research's evaluation of large-2026-11 failed: 2 of 50 answers cite papers that do not exist."
Each team's changescub repo set for each change, with the team's reason (step 6)Your agent can run the same command.
See the next versioncub repo upload next/support-assistant.yaml --component support-assistantYour agent can run the same command.
Both teams take itcub repo promote support-assistant-support support-assistant-research --change-desc "Take the platform team's new support assistant"Your agent can run the same command.
Record the evaluationcub attestation create with --type Evaluation --reject (step 9)Your agent can run the same command.

Support runs the newer model, Research keeps its own with the reason beside it, and the failed evaluation sits next to the version it judged.

Without ConfigHub: each team edits its own copy of the assistant's settings file, and when the platform team ships a new version, someone merges each team's choices back in by hand, with no record of why each was made.

Deeper dive

The rest of this page is the full version: every step with what it prints, how to undo it, what an agent is asked to do and must never do, and how this was tested.

Show the full walkthrough

Human

What you need

An unpacked confighub mini package, 0.11.1-mini.2 or later (installing the local hub). No Docker, no cluster and no account. A hub is ConfigHub running on your computer; cub is ConfigHub's command-line tool, and cub mini the commands the local hub adds to it.

Steps

  1. Say where the unpacked package is:
    export MINI=/absolute/path/to/unpacked-confighub-mini
  2. Set up a terminal for this walkthrough. CUB_CONFIG gives it a cub configuration of its own, so your own cub settings are not touched:
    export PATH="$MINI/bin:$PATH"
    export CUB_CONFIG="$HOME/.confighub-walkthrough"
    unset CUB_CONTEXT
    confighub-mini-app mini install-plugin "$CUB_CONFIG"
  3. Copy the example into a folder of your own:
    mkdir -p ~/walkthrough && cp -R "$MINI/examples/agent-config" ~/walkthrough/ && cd ~/walkthrough/agent-config
  4. Start a hub, and put the platform team's assistant in it. It goes in as the base, support-assistant-base, the copy that takes each new version:
    cub local start --name agents --use
    cub repo upload support-assistant.yaml
  5. Give each team its own copy of it, a variant of the base:
    cub variant create support support-assistant-base
    cub variant create research support-assistant-base
  6. Each team makes the assistant its own, with its reasons. Support lets it read customers' tickets. Research raises its token budget, and pins the model it already runs: setting a value a copy already has keeps it, so the next version will not overwrite it.
    cub repo set support-assistant tools.read-tickets=true --variant support \
      --change-desc "Support answers from the customer's tickets"
    cub repo set support-assistant model=large-2026-09 --variant research \
      --change-desc "Our evaluation of the newer model on our questions is not finished"
    cub repo set support-assistant limits.maxTokensPerDay=6000000 --variant research \
      --change-desc "Research runs long analyses; budget agreed with finance"
    …
    support-assistant-research already has model=large-2026-09. A later version of what support-assistant-research is made from will not overwrite this value now.
    …
  7. The platform team's next version arrives: a newer model, a tool that can open changes, and more tool calls per task. Put it into the base. Before anything changes, each team is shown what it would take and what it keeps. It asks whether to take it; answer n for now, or press Enter.
    cub repo upload next/support-assistant.yaml --component support-assistant
    support-assistant-support
    changes model large-2026-09 → large-2026-11
    changes tools.open-change false → true
    support-assistant-research
    you keep model yours: large-2026-09 (offered: large-2026-11)
    Nothing running has changed. To take this:
  8. Both teams take it:
    cub repo promote support-assistant-support support-assistant-research \
      --change-desc "Take the platform team's new support assistant"
    …
    Done. Each copy kept its own values.
  9. Research records its evaluation of the newer model, against the version it judged. --reject records a fail; ConfigHub calls a verdict like this an attestation:
    cub attestation create --space support-assistant-research --type Evaluation --reject \
      --note "large-2026-11 on our research questions: 2 of 50 cite papers that do not exist"
    Recorded fail Evaluation attestation ID in support-assistant-research, covering 1 revision(s)
  10. Ask which team runs which model, and why:
    cub unit data support-assistant --space support-assistant-support | grep -E '^model|read-tickets'
    cub unit data support-assistant --space support-assistant-research | grep -E '^model|open-change|maxTokens'
    model: large-2026-11
    read-tickets: true # Support answers from the customer's tickets
    model: large-2026-09 # Our evaluation of the newer model on our questions is not finished
    open-change: true
    maxTokensPerDay: 6000000 # Research runs long analyses; budget agreed with finance

Undo it

This removes the hub with everything in it, and the walkthrough's folder and cub configuration:

cub local uninstall --name agents --delete-data
cd ~ && rm -rf ~/walkthrough "$CUB_CONFIG"

What you have now

Nothing left behind. While it ran, both teams had the new assistant, Support on the newer model, Research on its own with the reason beside it, and the evaluation that explains the difference kept next to the version it judged. The full story adds Support's passing evaluation, and evaluations that must pass before production, which are not built yet.

Agent

For an AI agent doing this for a person.

  • The request: "Give Support and Research their own copy of our support assistant. Support may read customers' tickets because it answers from them. Research keeps model large-2026-09 because its evaluation of the newer model is not finished. Then take the platform team's next version for both, and record that Research's evaluation of large-2026-11 failed: 2 of 50 answers cite papers that do not exist."
  • What to run: the Human steps 4 to 10, from a copy of $MINI/examples/agent-config, with the person's reasons as each --change-desc. Show the person the preview before taking the version. End by telling them which model each team runs and why.
  • Never: edit support-assistant.yaml by hand to keep Research's model; put an API key in the definition; record an evaluation the person did not give you.
  • Done when: Support's copy runs large-2026-11 with ticket reading on, Research's runs large-2026-09 with its reason and the new tool, and Research has a failed Evaluation attestation.

Testing

The scripted run follows the Human steps on a hub of its own and compares the quoted output. A correct agent result is the two teams' copies as above, with Research's failed evaluation recorded. Without a hub, the equivalent is two files, one for each team, with those values. The checks below can be run by hand after the steps:

This proves: stored. Each team's definition, its reasons and the evaluation are in a hub on this computer; no assistant runs from them. The next step this aims to win: recording Support's own evaluation. Tested on the checksum-verified published confighub mini 0.11.1-mini.4 with the Claude plugin 0.87.0, 14 November 2026: environment, local hub, no cluster; approval, no approval step. The Claude plugin says one line at this moment, such as "ConfigHub plugin: support-assistant-support and support-assistant-research took the new version and kept read-tickets true and model large-2026-09, each with its reason." The next-step line names words from that line.

Our support assistant's definition is support-assistant.yaml in this folder, and the platform team's next version is in next/. Give Support and Research their own copy, named support and research. Support may read customers' tickets because it answers from them. Research keeps model large-2026-09 because its evaluation of the newer model is not finished. Then take the next version for both, and record that Research's evaluation of large-2026-11 failed: 2 of 50 answers cite papers that do not exist.

cub unit data support-assistant --space support-assistant-research | grep -E '^model|open-change'
cub unit data support-assistant --space support-assistant-support | grep -E '^model|read-tickets'
cub attestation list --space support-assistant-research
Test results

Results, 14 November 2026, confighub mini 0.11.1-mini.4. Figures from this page's own test runs, shown here for whoever checks the page; they are not a promise.

  • Scripted run: passed, 40 seconds for the steps, within the page's budget of 90.
  • Agent runs (on confighub mini 0.11.1-mini.4, 14 November 2026): a pilot, 3 runs per arm on each of claude-sonnet-5-5, claude-opus-5-5. Arms: b is the Claude plugin, the local hub and this page as reading.
ArmModelChecks passedMedian secondsMedian costCommands left for the person (median)
bclaude-opus-5-53/396.1$0.2130
bclaude-sonnet-5-53/371.5$0.1310

No agent approved or refused a change to production.

Simulated persons, not people: 10 per run, each a claude-haiku-5-5 model playing one of ten fixed personas, reading only what a person would see. The next step they were offered: "Give a third team its own copy of the assistant the same way?" It offers more of the tier the person has, not a step up.

The Claude plugin offers it once, after the answer at whose end it showed the moment the offer names ("with its reason"). Offered is the share of persons it was shown to; want it now and later are over them.

ArmModelPersonsOfferedNoticedWant the next step nowLaterIn the way
bclaude-opus-5-530100%100%0%30%67%
bclaude-sonnet-5-53067%100%0%45%57%
  • Agent runs (on confighub mini 0.11.1-mini.2, 14 November 2026): a pilot, 3 runs per arm on each of claude-sonnet-5-5, claude-opus-5-5. Arms: a is ordinary tools only; b is the Claude plugin, the local hub and this page as reading.
ArmModelChecks passedMedian secondsMedian costCommands left for the person (median)
aclaude-opus-5-50/327.5$0.1389
bclaude-opus-5-53/351.9$0.2160
aclaude-sonnet-5-50/313.1$0.0740
bclaude-sonnet-5-52/343.0$0.10

No agent approved or refused a change to production.

Simulated persons, not people: 10 per run, each a claude-haiku-5-5 model playing one of ten fixed personas, reading only what a person would see. The next step they were offered: "Give a third team its own copy of the assistant, with the same next version and its own reasons?"

The Claude plugin offers it once, after the answer at whose end it showed the moment the offer names ("recorded"). Offered is the share of persons it was shown to; want it now and later are over them.

ArmModelPersonsOfferedNoticedWant the next step nowLaterIn the way
aclaude-opus-5-5300%100%n/an/a100%
bclaude-opus-5-53067%100%0%30%57%
aclaude-sonnet-5-5300%100%n/an/a100%
bclaude-sonnet-5-530100%100%0%23%57%