Skip to content
Available for new work
Pages in Blog

GuidePremium

AI writer step 2, research

The Research step of the AI writer in CoullWorks Blog for Magento 2: sources and claims, Pin and Drop, Re-run research, Branch into a new draft, the failed state, and reopened runs.

Updated 17 November 2026Back to the package pageBuy

Research is step 2 of the AI writer. It starts when you choose Start research on the brief. The model searches the web and reads pages, then returns sources and the claims it found in each. This step needs a provider key and a running queue consumer or cron.

The Research screen#

The Research step with the run summary, a table of three sources with Pin and Drop tick boxes and claims, and the buttons Re-run research, Branch into a new draft and Plan the article

The Research step for "Choosing a stove for winter camping". The capture comes from a seeded run with the second source stored as pinned and the third as dropped.

At the top:

  • Research repeats your topic.
  • Run shows the provider and model, the total tokens used so far, and the estimated cost, for example "anthropic / claude-sonnet-4-5, 26600 tokens, estimated cost 0.1422". The cost is an estimate from your price table, in the currency you used there.
  • If the model found nothing, a warning reads "No sources were found. Try again, or change the topic."

The sources table#

Each row is one page the model read. The table is read-only apart from the two tick boxes, and rows cannot be added by hand.

ColumnWhat it showsYou can change it
PinTick to keep this source when you re-run or branch.Yes
DropTick to reject this source.Yes
SourceThe page title, or its address when it has no title.No
Publisher and dateThe publisher and the page's date, when the page gave them.No
AddressThe page's web address.No
ClaimsWhat the model took from the page, each marked with an id such as [c27].No

How the two boxes behave:

  • Pin means "this source is good". On a re-run the model reads pinned sources again and keeps them in its answer. When you branch, pinned sources and their claims are copied to the new run.
  • Drop means "do not use this". On a re-run the model is told not to use the source.
  • If you tick both on one row, Drop wins.
  • When you reopen a run from history, the Pin and Drop boxes show the choices stored for it, so Re-run research from there sends them as they were.
  • The ids such as c27 are how the writer later cites a claim. The writer sees these claims, not the page text.

A source is listed only when the provider's own search and fetch tools returned that page. The module does not add addresses the model typed from memory.

Buttons#

Re-run research#

  1. Tick Pin on the sources you want to keep and Drop on those to reject.
  2. Choose Re-run research.
  3. The step goes back to "Researching again". Pinned sources stay, the rest are searched for afresh, and the table is replaced with the new result.

A re-run is another provider call, so it adds to the run's tokens and cost, and it is refused when the monthly cap would be passed. You cannot re-run while the run is still working: the page says "This run is still working. Wait for it to finish."

Branch into a new draft#

  1. Choose Branch into a new draft.
  2. A new run is created on the same brief, with the pinned sources and their claims copied over. The original run is untouched.
  3. A message reads "A new run was made from this one, keeping the pinned sources. Re-run the research to continue." The new run has not searched yet. Choose Re-run research to fill it.

Use a branch to try a different angle on the same sources without losing the first run. You can also branch from the row menu in history.

Plan the article#

Choose Plan the article to move on. The module queues the outline step and shows "Planning the article". The result opens on Outline. Dropped sources are not used in the plan.

When the step fails#

If the provider returns an error, or the run cannot continue, the step bar stays on Research and shows the provider's message with a Try again button. The brief and any earlier results are kept. See troubleshooting.

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.