CyteType
Agentic, Evidence-Based Cell Type Annotation for Single-Cell RNA-seq
CyteType is an end-to-end cell type annotation system for single-cell RNA sequencing (scRNA-seq), designed for repeatable analysis pipelines rather than one-off prompting. It combines cluster-level marker genes, expression context, study metadata, literature retrieval, ontology mapping, and a dedicated review step in a structured workflow that operates directly on AnnData.
For Seurat workflows, use CyteTypeR.
[!IMPORTANT] CyteType requires an API key. Use is free for academic and non-commercial research. Commercial use requires a license.
Quick Start
1. Install
pip install cytetype
2. Set up your API key
cytetype setup
This opens passwordless CyteType sign-in in your browser and saves the API key locally for automatic use from Python. You can also create or manage API keys in the dashboard.
Already have an API key? Save and validate it locally once:
cytetype login
3. Annotate with Scanpy
import scanpy as sc
from cytetype import CyteType
# Assumes preprocessed AnnData with clusters and marker genes
group_key = "clusters"
annotator = CyteType(
adata,
group_key=group_key,
rank_key=f"rank_genes_{group_key}",
n_top_genes=100,
)
adata = annotator.run(study_context="Human PBMC from a healthy donor")
sc.pl.umap(adata, color="cytetype_annotation_clusters")
What You Get
- Annotations: Cell type, subtype, and activation state for every cluster
- Cell Ontology mapping: Standardized CL IDs for comparison across studies
- Confidence and quality control: Confidence values, plus match scores against your existing labels
- Supporting evidence: Publications and condition-specific references behind each call
Example Report
Each analysis generates an HTML report with annotation decisions, reviewer comments, supporting evidence, and an embedded chat interface connected to your expression data.
Benchmarks
Across PBMC, bone marrow, tumor microenvironment, and cross-species datasets, the multi-agent approach outperforms existing annotation methods:
| Compared with | Improvement |
|---|---|
| GPTCellType | +388% |
| CellTypist | +268% |
| SingleR | +101% |
Methods and full results are in the preprint. You can also browse results on atlas-scale datasets.
Resources
- 🔐 CLI and Authentication: Set up API keys and manage saved credentials.
- ⚙️ Configuration: Customize annotation settings, LLM providers, and artifacts.
- 📋 Output Columns: Understand annotations and metadata added to AnnData.
- 🛠️ Troubleshooting: Resolve authentication, API, artifact, and LLM issues.
- 🧑💻 Development: Configure a local environment and contribute.
- 🎥 Introduction video: Watch a quick overview of CyteType.
- 💬 Discord community: Ask questions and get support.
Citation
Ahuja G, Antill A, Su Y, Dall'Olio GM, Basnayake S, Karlsson G, Dhapola P. Multi-agent AI enables evidence-based cell annotation in single-cell transcriptomics. bioRxiv 2025. doi: 10.1101/2025.11.06.686964
@article{cytetype2025,
title={Multi-agent AI enables evidence-based cell annotation in single-cell transcriptomics},
author={Gautam Ahuja, Alex Antill, Yi Su, Giovanni Marco Dall'Olio, Sukhitha Basnayake, Göran Karlsson, Parashar Dhapola},
journal={bioRxiv},
year={2025},
doi={10.1101/2025.11.06.686964},
url={https://www.biorxiv.org/content/10.1101/2025.11.06.686964v1}
}
License
CyteType is free for academic and non-commercial research under CC BY-NC-SA 4.0.
For commercial licensing, contact contact@nygen.io.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cytetype-0.19.5.tar.gz.
File metadata
- Download URL: cytetype-0.19.5.tar.gz
- Upload date:
- Size: 66.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fb07fededf96c34bb7fb0d5bea62f337f106520b7d4c4d4dfb021d8c5699fe7
|
|
| MD5 |
c8c788c6bdd39921b3d8fd4d524f12b9
|
|
| BLAKE2b-256 |
5d1f5e406e512e54330707173e320610e37aa9e0b9ad9658c31bdf7ae6250465
|
Provenance
The following attestation bundles were made for cytetype-0.19.5.tar.gz:
Publisher:
publish.yml on NygenAnalytics/CyteType
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cytetype-0.19.5.tar.gz -
Subject digest:
1fb07fededf96c34bb7fb0d5bea62f337f106520b7d4c4d4dfb021d8c5699fe7 - Sigstore transparency entry: 2412449054
- Sigstore integration time:
-
Permalink:
NygenAnalytics/CyteType@e6e0020653c83c594267d55cd7eb66eb12383752 -
Branch / Tag:
refs/tags/0.20.0 - Owner: https://github.com/NygenAnalytics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6e0020653c83c594267d55cd7eb66eb12383752 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cytetype-0.19.5-py3-none-any.whl.
File metadata
- Download URL: cytetype-0.19.5-py3-none-any.whl
- Upload date:
- Size: 74.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
049440c1ee3a8982635136591b6aa49deebebe3260d0247261a41e10f0fe3533
|
|
| MD5 |
f298eacdbde5b813f93fe52d25af032f
|
|
| BLAKE2b-256 |
d49a7b5fd40bac9efa5daa23e371bc08ab6c533648775d7def90e33ba1d3cfa0
|
Provenance
The following attestation bundles were made for cytetype-0.19.5-py3-none-any.whl:
Publisher:
publish.yml on NygenAnalytics/CyteType
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cytetype-0.19.5-py3-none-any.whl -
Subject digest:
049440c1ee3a8982635136591b6aa49deebebe3260d0247261a41e10f0fe3533 - Sigstore transparency entry: 2412449982
- Sigstore integration time:
-
Permalink:
NygenAnalytics/CyteType@e6e0020653c83c594267d55cd7eb66eb12383752 -
Branch / Tag:
refs/tags/0.20.0 - Owner: https://github.com/NygenAnalytics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e6e0020653c83c594267d55cd7eb66eb12383752 -
Trigger Event:
release
-
Statement type: