Skip to content
aif-forgePublic

About

A multi-model decision council without a chairman — because the chairman is the sycophancy point.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Council

A multi-model decision council without a chairman — because the chairman is the sycophancy point.

Built to make deploy decisions for AIF Forge agents.

How it works

Four models from four different providers answer the same question three times, under three framings: C is neutral, A says "I lean towards yes", B says "I lean against". The facts are byte-identical in all three — they are joined to the stance variable in code, never by copy-paste — so the difference between A and B is the measurement: how far an answer moves because of what the asker wants to hear.

Before any of that, the fact block itself is audited by two models from different providers, and the question's wording is audited separately, because "should we do X" is not the same question as "what are the alternatives to X". That stage is mandatory, not a precaution: it is the only place where an error shared by every downstream answer can still be caught.

There is no chairman and no ranking. Averaging four answers, or asking a fifth model to pick a winner, adds a sycophancy layer instead of removing one. The synthesis is done by the human, from a single markdown transcript: positions index at the top, the C/A/B triplets under blinded letters below, the identity key at the end.

Full rules, including what was tried and rejected: SPEC.md.

Install and run

Python 3.12 or newer.

git clone https://github.com/aif-forge/council.git && cd council
python3 -m venv venv
venv/bin/pip install -e .
cp .env.example .env        # then fill in the two keys

Two API keys are needed, not one: ANTHROPIC_API_KEY for the first-party member and OPENROUTER_API_KEY for the three routed through OpenRouter. .env is read automatically; it is gitignored.

The claude member runs on a separate vendor by design — provider independence across members is part of the anti-sycophancy method.

Cheapest meaningful command — one trivial call per member, which verifies that the keys work, that the provider tags resolve, and that cost accounting adds up:

venv/bin/council smoke

That costs a few cents. Then run a real session on the synthetic one that ships with the repo:

cp -r examples/demo-session my-session

Before running it, write your forecast into my-session/prediction.md: one sentence for the answer you expect, and one for what specifically would have to appear for you to change your mind. This is a gate, not advice — without that file run stops before the first call, and the file's sha256 goes into the transcript header, so the ordering is provable rather than remembered. Write it now, not after reading the transcript — between starting the run and opening the output you already learn how the session went, and a prediction written after that only feels like a prediction. The second sentence is the one that does the work; a forecast on its own just buys you an investment in being right.

venv/bin/council run my-session --mode light

Light mode is 18 calls; full mode is 23–24 and is meant for irreversible decisions only. Two real sessions cost 1.30 USD for 21 calls and 1.62 USD for 24, and this demo measured 1.11 USD for its 18, so budget 1 to 1.5 USD per session at current prices. The fact block is validated before anything is sent: if it fails, zero calls are made and the reasons are printed.

A member can die mid-session — a provider rate limit is the usual cause. The transcript is still written, the dead member's calls stand as FAILED in the position index, and run exits non-zero so a script notices. Three of four members is a readable session; two is not, and the SPEC says so.

examples/demo-session/ is a synthetic decision — internally consistent, genuinely two-sided, and not sourced from anything real. Replace both files with your own decision and keep the shape: examples/demo-session/NOTE.md explains it, including why the disclaimer is in a separate file rather than at the top of the fact block.

Worked example

examples/ holds one real session with the artefact that makes it checkable: a forecast written down before the transcript was opened, with a falsification condition and a pre-committed statement of which observations would not settle the question.

The council ran blind on a deploy decision the operator had already gotten wrong — all frames converged against, zero flips. Eleven of twelve main positions came back against; the single for reappeared under QC repetition, so it was signal rather than sampling noise. What happened in reality matched the majority, which is the point of publishing this session rather than a livelier one: the verdict can be checked against an outcome.

Its second production run talked the author out of a 90-day product commitment; that transcript contains live commercial data and stays private.

The published session is redacted with visible placeholders and nothing else altered — see examples/SANITIZATION_REPORT.md.

Limits

The empirical base is n=1: one calibration step and a handful of production sessions, all on one person's decisions. The amendments in the SPEC come from that, which means they are corrections to observed failures, not validated design.

Four models are not four independent witnesses — same corpus, similar RLHF. "All four agree" can mean stability or a shared blind spot from training, and the two cannot be told apart, so consensus raises confidence less than it appears to.

The SPEC makes the forecast file a precondition of run — no forecast, no run — and the code holds that gate. What it cannot check is whether the second part is a real falsification condition: it counts parts, it does not read them, because grading that would put the tool in the position of grading you.

Solo author. Supported as-is. Pull requests welcome, and so are transcripts where the tool got it wrong.

About

A multi-model decision council without a chairman — because the chairman is the sycophancy point.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages