# SAR report: scaffolds, matched pairs and activity cliffs

> Turn a compound + activity CSV into scaffold groups, matched-pair transformations, activity cliffs and next compounds to make.

SAR report: scaffolds, matched pairs and activity cliffs is a paid AI agent skill on Agensi by Christian Dominguez, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Christian Dominguez](https://www.agensi.io/creators/christian-dominguez)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-10-11
- Security: scan passed (2026-10-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/sar-report-scaffolds-matched-pairs-and-activity-cliffs
- Tags: research, rdkit, drug-discovery, cheminformatics, python

## About this skill

Give your agent a CSV of compounds with activities and get a medicinal-chemistry SAR report back.

### What it does
- **Normalise:** converts IC50/Ki in nM to pActivity (9 - log10 nM), standardizes structures and averages replicate measurements of the same compound.
- **Scaffolds:** groups by Murcko scaffold with count, mean and max pActivity, and the best compound in each group.
- **Matched pairs:** finds matched molecular pairs with RDKit rdMMPA single cuts plus H->X sites, keeps small changes only, and ranks transformations by mean delta pActivity with counts and spread.
- **Activity cliffs:** pairs with Morgan2 Tanimoto >= 0.7 and |delta p| >= 1.0, ranked by SALI.
- **Output:** a Markdown report, six CSVs and an optional cliff plot.

### Why it's trustworthy
All the chemistry and statistics run in a bundled, self-tested script (`scripts/sar.py --selftest`); the model never estimates a scaffold or a delta. Transformations seen only once are labelled as such, so single observations are not presented as trends.

The agent closes every report with 2-3 concrete compounds to make next, each tied to a transformation in your own data.

### Requirements
[uv](https://docs.astral.sh/uv/). RDKit and matplotlib install automatically on first run. Input is any CSV with a SMILES column, an id column and an activity column.

## Requires

- Python

## Known limitations

- Statistics on your data only: transformations seen once are anecdotes, not trends, and the report labels them as such.
- Treats every activity value as comparable, so mixing assays or cell lines will mislead. Filter before running.
- Replicates of the same standardized structure are averaged.
- 2D only: no 3D alignment, docking or free-energy estimates.
- Matched pairs come from single cuts, so double-cut (linker) changes are not enumerated.
- Needs uv and one-time internet access to install RDKit.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the SAR report: scaffolds, matched pairs and activity cliffs skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific file formats and data types are required for the SAR analysis?

This skill accepts CSV files containing SMILES strings and biological activity data, such as IC50, Ki, or pIC50 values, which it automatically normalizes for comparison.

### How does this skill differ from simply asking an AI agent to analyze my chemical data?

Unlike generic LLMs, this skill uses RDKit to perform precise chemical calculations like Tanimoto similarity and Bemis-Murcko scaffold extraction, ensuring your SAR trends are based on scientific data rather than statistical guessing.

### Are there any specific technical prerequisites for running this skill?

Only the uv package manager. RDKit and matplotlib are declared in the script header, so uv installs them into an isolated environment on the first run. Nothing else needs to be set up on your system.

### What is included in the purchase of the 'sar report' skill?

You receive the fully functional SAR analysis skill, including automated scaffold identification, Matched Molecular Pair (MMP) analysis, activity cliff detection, and visualization tools.

### How does the skill define and identify an 'activity cliff'?

The skill identifies small structural changes that result in a potency shift of 1.0 log unit or greater (where Tanimoto similarity is ≥ 0.7), helping you pinpoint critical binding interactions.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
