🌻 AI coding#

The AI Coding panel provides a streamlined AI coding workflow inside the normal left pane. It keeps the app structure familiar while reducing clutter.

Quick start: If you have roughly 5–100 pages of text, you can usually **just run everything** and get decent results. Press **One-click coding** and confirm the short set-up modal, then let it run. You can then go back and adjust the coding (edit links, tweak prompts, re-run specific steps) if you want. For longer texts or high-stakes coding, work incrementally: use the **source limit** in Auto-code (1, 5, 20%, 50%, 100%) and the **Links limit** in Recode to process a sample first, check quality, then scale up.

AI is switched on and off in the Account panel with the "AI options switched on and active" switch. If you choose an AI workflow when you sign up, it is turned on for you; otherwise you can turn it on there at any time. When AI is on, the AI Coding panel appears inline at the top of the Create links tab, ready to use.

AI usage consumes credits (see Responses Panel); credits renew monthly and do not roll over. Costs depend on model and workflow, but very roughly you might autocode around 30 pages for about 1 credit.

Users with dedicated AI plans receive a larger batch of AI credits each month; other users receive 10 free AI credits per month (the free credits do not stack with paid plans).

The AI Workflow#

The AI Coding panel sits at the top of the Create links tab, above the source text viewer. The Sources bar, the right-hand output tabs, and the Create links / Filter links / Assess links tabs all stay where they are; the panel does not take over the screen.

The panel is broken down into five straightforward sections (filtering is a separate step, see below):

  1. One-click coding: Pipeline runner with a set-up modal first. Press One-click coding to choose level of effort (Flash vs Pro for the AI model slots), Skip coded, Filter on finish, and (if the project has links) whether to delete every link in the project or only links on the sources in scope, then confirm Run.
  2. Pre-steps: clears Filter Links and turns the filter pipeline on before the modal.
  3. Scope: One-click respects the Sources bar (empty bar = all sources, otherwise your current selection) and the sources % radio, exactly like the Auto-code button (no separate "code all sources" toggle). The modal states how many sources Auto-code will run on, including the % sample and when Skip coded removes already-coded sources (and Run is disabled if nothing is left).
  4. Auto-code prompt: One-click coding uses the current Auto-code panel prompt and settings. The prompt is shown in the set-up modal before you run.
  5. Single source in scope: only Auto-code runs (Revise codebook and Recode are skipped so labels are not merged across several AI passes). Filter on finish defaults off in that path but you can turn it on.
  6. Several sources in scope: Auto-code, then Revise codebook, then Recode.
  7. Recode target suffix: Choose blank (simpler — synthesised labels go straight into cause/effect) or e.g. _recoded (keeps raw labels, writes synthesised to temp columns so you can compare).
  8. Per-step Run buttons still work on their own; the modal suppresses the extra confirms for the sequenced run after you confirm Run.
  9. Background: Give the AI project context before coding. A status tick indicates whether enough background text is set.
  10. Auto-code: This is where the AI reads your documents and extracts causal links.
  11. You can choose to process a small sample first (e.g., 1 or 5 sources) to test your prompt, or process 100% of them.
  12. The "Skip coded" switch ensures you don't waste time and money re-processing documents that already have links.
  13. Default model is Qwen Flash.
  14. Revise codebook: Once you have some causal links, the AI can review them and suggest a cleaner, more consistent list of factor labels (a "codebook"). The header tick shows whether the Recode codebook area currently contains suggestions.
  15. Includes a Target clusters slider; see Target clusters.
  16. Optional Use automatic pre-clustering switch (default OFF).
  17. When pre-clustering is OFF, the AI tries to find the clusters directly from the factor list using the standard Revise codebook prompt. This prompt supports macro replacement: use [number] (or [cluster_count]) and the effective target cluster count is injected at run time (same as the slider logic below).
  18. When pre-clustering is ON, the app first groups factor labels semantically using embeddings, then sends those clustered groups to the AI with a separate labelling prompt plus a Representatives per cluster slider (8 to 20, default 8).
  19. Pre-clustering is more systematic than asking the AI to find all clusters "in its head" from a long raw list. It reduces the black-box / WEIRD-data risk a bit, and may make it easier to preserve more unusual or divergent concepts instead of collapsing them into whatever the model finds most typical.
  20. Default model is Gemini 3 Flash Preview.
  21. Recode: Apply the AI's suggested, cleaned-up labels back to your existing causal links. Paste the codebook (from Revise codebook or your own), add a recode instruction, and run.
  22. In AI factors mode the AI returns index mappings (row → codebook item) rather than full label text, reducing tokens and improving reliability; in AI links mode it returns a recoded cause and effect for each link.
  23. AI factors and AI links each have their own recode-instruction box, default and history (separate prompt channels), and only the box for the selected mode is shown. AI factors default: "For each raw label give me the number of the best-matching codebook item by meaning. Use 0 when no codebook item fits. Never invent labels." AI links default: "Recode each link to the codebook: pick the best-matching label for its cause and for its effect, using the link quote for context."
  24. Skip recoded: When on, only processes links that have at least one unrecoded label (cause or effect). Use this when recoding again to focus on remaining work.
  25. Links limit (1, 5, 20%, 50%, 100%): When not 100%, a random sample of links is recoded. Non-sampled links keep their existing recoded values (or stay blank on first run).
  26. The header progress bar is segmented: grey = empty recoded fields, orange = recoded equals original cause/effect, green = recoded non-empty and different.
  27. Default model is Qwen Flash. After coding, filtering happens in the adjacent Filter links tab (the normal Filter Links pipeline). When Filter on finish is on in the One-click set-up, completing the run applies these analysis filters to the pipeline: Factor Frequency (top 12, counted by citations) → Link Frequency (top 30, counted by citations). The global Label set controls which cause/effect columns Recode writes to (no separate “recode suffix” in this panel).

One-click coding (AI)#

Background (AI)#

Auto-code (AI)#

Holistic first pass (Auto-code)#

Revise codebook (AI)#

Target clusters (Revise codebook)#

Recode (AI)#

Advanced Settings#

Each section header is clickable and opens/collapses its settings panel. Section headers also include contextual Help buttons. The advanced sections are inline (not flyouts), and only one section is expanded at a time.

Inside advanced panels you can: