Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for geologists

Assay Batch QAQC Review Agent

Only batches that pass quality control enter the database, and failed batches are reassayed and rechecked.

Assay Batch QAQC Review Agent: what goes in, what the agent does and what you get

What it does

Assay results from the lab are used in a plot or a model, and later someone notices that a standard in the batch failed. This agent reviews each batch when it arrives. It checks standards, blanks and duplicates against limits, such as standards within three standard deviations, blanks below a set grade and duplicate agreement. It flags failing batches and drafts a reassay request for the lab, listing the failing batches and the samples on each side of the failure. After new results come back, it checks again. It keeps the batch out of the database until you approve. Edge case: a single failing standard that is a known mislabeled insert is reviewed against the sample log before triggering a full reassay.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueApprovedYes, continueApprovedNoNo 1 STARTS WHEN Assay batch arrives 2 USES A TOOL Read the certificate and the QAQC insertion log 3 DOES Match each QAQC sample to its certified value orlimit 4 CHECKS THE RESULT Do standards, blanks and duplicates all pass theirlimits? If not: flag failing samples and select the affectedbatch and neighbors. Back to step 3. 5 DOES Check whether a failure could be a labeling error inthe log 6 DOES Draft a reassay request listing the affected samples 7 YOU APPROVE Geologist approves the request to the lab 8 USES A TOOL Read the reassay results 9 CHECKS THE RESULT Does the reassay pass all QAQC limits? If not: escalate to the lab manager and keep the batchout of the database. Back to step 3. 10 YOU APPROVE Geologist approves which batches enter the database 11 RESULT QAQC review record
Read the steps as a list
  1. Assay batch arrives
  2. Read the certificate and the QAQC insertion log
  3. Match each QAQC sample to its certified value or limit
  4. Do standards, blanks and duplicates all pass their limits?If not: flag failing samples and select the affected batch and neighbors. Back to step 3.
  5. Check whether a failure could be a labeling error in the log
  6. Draft a reassay request listing the affected samples
  7. Geologist approves the request to the labThe agent waits here for your OK.
  8. Read the reassay results
  9. Does the reassay pass all QAQC limits?If not: escalate to the lab manager and keep the batch out of the database. Back to step 3.
  10. Geologist approves which batches enter the databaseThe agent waits here for your OK.
  11. QAQC review record

How it decides

A batch passes if its standards, blanks and duplicates fall within the limits. A failure sends the batch and its neighbors to reassay.

  • Standard outside 3 standard deviations: batch fails
  • Blank above 5 times detection limit: batch fails
  • Duplicate relative difference over 20 percent for more than 10 percent of pairs: flag
  • Two consecutive standards beyond 2 standard deviations on the same side: bias warning

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Standard limits (default 3 standard deviations)
  • Blank limit
  • Duplicate rules
  • Neighbor samples to reassay (default 5)
  • Lab contact

What keeps you in control

It always asks you first

  • Reassay requests
  • Entry of results into the database

Hard limits

  • Never load failing results into the database
  • Never contact the lab without approval

It stops when

  • Done: all batches pass and are approved
  • Stop: lab cannot reassay, geologist decides

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensA batch of 120 gold assays included a standard certified at 1.02 g/t plus or minus 0.06 that returned 1.31. The check failed. The agent selected the batch and 5 samples either side and drafted a reassay request. The geologist approved. The reassay returned the standard at 1.04 and a blank at 0.003. The batch passed, and the geologist approved loading it.

More agents for geologists