The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Motif listing page.
An agentic loop that turns a folder of interview transcripts into a research synthesis where every insight carries cited, verified evidence, an honest confidence level, and the counter-evidence against it.
Built for design and research teams who synthesise qualitative interviews and need output they can trust and trace. Motif is the first tool from ETOT. Built as an R&D project; the case study tells the story.
Sample output: docs/exhibits/best-report-v2/output.md.
You need Python 3.10+ and an Anthropic API key (console.anthropic.com).
Or from a checkout, if you want to edit the critic rules or run the evals:
Put your transcripts in a folder, one speaker turn per paragraph or line, each starting with the speaker's name and a colon. Label the interviewer Researcher, Interviewer, or Moderator so their turns are never cited as evidence.
Then:
Fifteen transcripts of ~45 minutes each take about 20 minutes and cost about $2.50 in API usage. Every prompt, response, and iteration is saved under runs/ so you can see exactly what the critic objected to and how the synthesis changed.
Try the sample corpus first:
Motif is also an MCP server: the same engine, callable from any MCP host.
Or, with uv and no install step, claude mcp add motif -e ANTHROPIC_API_KEY=your-key-here -- uvx --from "etot-motif[mcp]" motif-mcp. From a checkout: pip install -e ".[mcp]" and point the host at $PWD/.venv/bin/motif-mcp.
Five tools: motif_synthesize, motif_critique (check any synthesis, yours or someone else's, against the transcripts), motif_receipts (verbatim turn text for a citation), motif_board (a run laid out for FigJam, executed by the host through Figma's MCP server), motif_runs_get. Install snippets for Claude Code, Cursor, and Claude Desktop, plus a skill that teaches an agent the verify-before-you-quote workflow: surfaces/mcp/README.md.
Motif for Figma (FigJam and Figma Design) is in surfaces/figma/: paste your Anthropic key once, drop transcripts, get the synthesis in the plugin and as Markdown. Development build for now; the Community listing and the board writer follow. Build and import steps: surfaces/figma/README.md.
Everything a team might want to change lives in config/synth.yaml:
Tested on 15 real research interviews (University of Sheffield, CC-BY-NC) against a human-built ground truth of 16 themes and 12 traps, with blind scoring:
| Single prompt | Motif v2 | Motif v3 | |
|---|---|---|---|
| Insights whose cited evidence doesn't support them | 1.7 of 4 checked | 0.7 | 0.0 |
| Insights with overstated confidence | 1.3 | 0.7 | 0.0 |
| Themes found | 75% | 69% | 88% |
| Time | 4 min | 22 min | 25 min |
| Cost | $0.37 | $2.28 | $2.51 |
The loop makes fewer errors and, since v3, finds more. Its first version found much less (51%) — the critic only checked what was on the page, and the reviser's cheapest fix was deletion. A recall check against the intake topic maps recovered most of that gap; a second check, which asks whether an already-cited turn contains a second finding nobody used, recovered the rest (3 of 3 runs, on the two themes that were missed in every report of the previous eval). Full results: docs/eval1-results.md, docs/eval2-results.md, docs/eval3-results.md.
Known gaps: the loop never reaches critic_pass — 0 of 10 runs in Eval 3, at three rounds and at five — so it always stops on the iteration cap with objections outstanding; a newly added insight arrives without counter-evidence and the counter-evidence check does not revisit it; and the unsupported-evidence figure above is zero in a fixed sample of four insights per report, not zero outright.
core/ is written to be reused by other loops; Motif is the first tool built on it.
Sample transcripts: Hanchard, M. and San Roman Pineda, I. (2023). Fostering cultures of open qualitative research: Dataset 2 – Interview Transcripts. University of Sheffield. doi:10.15131/shef.data.23567223.v2. CC-BY-NC 4.0. Non-commercial use only.
MIT for the code. See LICENSE.