When AI Talks to Itself: Project Symposium
Phase 4 · Autonomous Agents and UX
A multi-agent orchestrator that lets two local models argue, summarise, and write together, and the context-window trick that keeps the conversation from collapsing.
A single-model chat is a mirror. It is useful for many things, and the thing it is least useful for is disagreement. A model will happily argue both sides of a question, but those arguments happen in the same voice, read by the same person, and corrected by the same blind spots. Two models (even two copies of the same weights prompted as different personas) are not a mirror. They are a conversation. The difference, once you see it, changes what you think local AI is for.
Project Symposium is the name I gave to the orchestrator I built for this. It is not complicated. A short Python script, a small persistent log, two models loaded into Ollama on the AI node, a director that takes turns instructing each of them. The script is under 200 lines. The output, after a night of running, is a transcript that would take me weeks to produce alone, full of moves I would not have made myself. That last part is the point. The value of the multi-agent setup is not the volume; it is the surprise.
The Analogy
A theatre director does not write the lines. A theatre director decides whose turn it is to speak, cuts off a monologue that has gone on too long, reminds an actor of a plot point they forgot in the second act, and writes the programme notes that summarise what the play is about. The actors bring voice and instinct; the director brings shape. Neither is sufficient alone.
In a two-agent conversation between language models, the orchestrator plays the director. The models are the actors. The orchestrator does not generate the dialogue; it hands the right prompt to the right model at the right moment. That one function, applied consistently, is enough to turn two monologues into a rehearsed scene.
The Tech Translated
Three mechanical problems have to be solved for multi-agent conversation to work past the first few turns:
Turn-taking. Without a referee, the models will either speak over each other (if you run them in parallel) or one will dominate (if you run them in sequence without a schedule). The director enforces a schedule: model A speaks, model B responds, the director evaluates whether the conversation is stuck, the cycle repeats.
Context-window management. Each model has a finite context window (the number of tokens it can see at once). A long conversation will overflow the window. The naive solution is to truncate the earliest turns, but that makes the models forget the premise. The correct solution is rolling summarisation: every N turns, a third “summariser” model compresses the older portion of the transcript into a paragraph, and that paragraph replaces the older turns in the context sent to the actors. The actors now have recent detail plus long-term memory without overflowing.
Persistence. The transcript, the summaries, the prompts, and the director’s state all need to survive a crash, a reboot, or a deliberate pause. A flat file per run on the ZFS pool, snapshotted hourly, is adequate and debuggable.
The Action
The orchestrator, in outline
# project_symposium/orchestrator.py — abridged.
import json, time, pathlib, requests
OLLAMA_URL = "http://ai.internal:11434/api/generate"
MODELS = {
"dramatist": "llama3.1:8b-instruct-q4_K_M",
"critic": "mistral:7b-instruct-q4_K_M",
"summariser": "phi3:mini",
}
RUN_DIR = pathlib.Path("/tank/symposium/runs") / time.strftime("%Y%m%d-%H%M%S")
RUN_DIR.mkdir(parents=True, exist_ok=True)
PREMISE = """
Two writers are working on a short story about a retired cartographer
who finds an inconsistency in their own life's work. The dramatist
writes a scene. The critic responds with a question that tightens it.
They alternate. After six turns, summarise what the story is becoming.
"""
def call_model(role: str, prompt: str) -> str:
resp = requests.post(OLLAMA_URL, json={
"model": MODELS[role],
"prompt": prompt,
"stream": False,
}, timeout=120)
resp.raise_for_status()
return resp.json()["response"].strip()
def run_turn(role: str, context: str) -> str:
full_prompt = f"{PREMISE}\n\nTranscript so far:\n{context}\n\nYou are the {role}. Respond now."
response = call_model(role, full_prompt)
(RUN_DIR / f"turn-{int(time.time())}-{role}.txt").write_text(response)
return response
def summarise(transcript: str) -> str:
prompt = (
"Summarise the conversation below in one paragraph, "
"preserving the plot premise and the last two decisions.\n\n"
f"{transcript}"
)
return call_model("summariser", prompt)
def main(max_turns: int = 20, summarise_every: int = 6):
transcript = ""
summary = ""
for turn in range(max_turns):
role = "dramatist" if turn % 2 == 0 else "critic"
context = f"[earlier summary: {summary}]\n\n{transcript}" if summary else transcript
reply = run_turn(role, context)
transcript += f"\n\n[{role}]: {reply}"
if (turn + 1) % summarise_every == 0:
summary = summarise(transcript)
# Discard the oldest half of the live transcript;
# the summary now carries that memory.
transcript = transcript[len(transcript) // 2 :]
(RUN_DIR / f"summary-{turn + 1}.txt").write_text(summary)
time.sleep(1) # gentle pacing, not strictly required
if __name__ == "__main__":
main()
Run it:
python3 -m project_symposium.orchestrator
The GPUs spin up. The two models load in turn (because 16 GB of VRAM comfortably holds one 8B and one 7B together, but not all three; the summariser is swapped in at summary intervals). The transcript grows on disk. After two hours, the run produces a 3,000-word scene plus six rolling summaries.
What broke
The first run collapsed into a loop at turn 12. The dramatist wrote a paragraph; the critic asked a tightening question; the dramatist wrote the same paragraph with tiny variations; the critic asked a version of the same question. The transcript went in circles for four turns before I stopped it. The models had not failed; the prompt had. Without a strong enough “advance the plot” signal in the per-turn prompt, both models defaulted to safe continuations.
The fix was two lines in the director: a rule that every third turn the critic’s prompt includes a “summarise what has advanced in the last three turns; if nothing has, force a change of scene” instruction. The loop did not reappear. The correction is the interesting part: multi-agent systems are steered through prompts, not through code, and the director’s real job is writing the right prompt for each moment rather than shuttling text back and forth.
A second, subtler bug: the rolling summariser initially cleared the transcript entirely when it fired, which gave the next turn no short-term detail and produced jarring discontinuities. The fix was the one-liner you see in the code: discard only the older half, keep the recent half, and let the summary and the recent context coexist. The conversation gained the memory of an elephant and the attention of a present-tense conversationalist simultaneously.
What the runs produce
A two-hour Symposium run on a mid-range homelab GPU produces roughly 3,500 words of transcript plus six summaries. The quality varies. Some runs are genuinely surprising (I have a transcript where the critic asked a question that rewrote the premise of the story, and the dramatist went with it). Some runs are polite and forgettable. The variance is a feature: the exciting runs get saved and annotated; the forgettable ones are deleted. The cost per run is a few watts of GPU and about fifteen minutes of my attention.
This is the closest thing I have built to the Bauhaus weaving workshop a line of researchers once described: two intelligences, each with their own weights, constrained by the same premise, handed to each other across a loom of turns. The orchestrator is the loom. The transcripts are the cloth. The director is the one who decides when the pattern needs a new thread.