RepositoryPythonSESweden
NygenAnalytics

NygenAnalytics/CyteType

Multi-agent LLM driven cell type annotation for single-cell RNA-Seq data

144stars
16forks
4issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: celltype-identification

#1 Repository of the month

1
TINIX TRENDING·Topic: rna-seq

#1 Repository of the month

1
TINIX TRENDING·Topic: marker-genes

#1 Repository of the month

CyteType

Agentic, Evidence-Based Cell Type Annotation for Single-Cell RNA-seq

CI Status Python Version PyPI version License: CC BY-NC-SA 4.0 PyPI downloads

CyteType performs automated cell type annotation in single-cell RNA sequencing (scRNA-seq) data. It uses a multi-agent AI architecture to deliver transparent, evidence-based annotations with Cell Ontology mapping.

Integrates with Scanpy and Seurat workflows.


Preprint published: Nov. 7, 2025: bioRxiv link - Dive into benchmarking results


Why CyteType?

Cell type annotation is one of the most time-consuming steps in single-cell analysis. It typically requires weeks of expert curation, and the results often vary between annotators. When annotations do get done, the reasoning is rarely documented; this makes it difficult to reproduce or audit later.

CyteType addresses this with a novel agentic architecture: specialized AI agents collaborate on marker gene analysis, literature evidence retrieval, and ontology mapping. The result is consistent, reproducible annotations with a full evidence trail for every decision.

CyteType multi-agent AI architecture for single-cell RNA-seq cell type annotation

Key Features

FeatureDescription
Cell Ontology IntegrationAutomatic CL ID assignment for standardized terminology and cross-study comparison
Confidence ScoresNumeric certainty values (0–1) for cell type, subtype, and activation state — useful for flagging ambiguous clusters
Linked LiteratureEach annotation includes supporting publications and condition-specific references — see exactly why a call was made
Annotation QC via Match ScoresCompare CyteType results against your existing annotations to quickly identify discrepancies and validate previous work
Embedded Chat InterfaceExplore results interactively; chat is connected to your expression data for on-the-fly queries

Also included: interactive HTML reports, Scanpy/Seurat compatibility (R wrapper via CyteTypeR), and no API keys required out of the box.

📹 Watch CyteType intro video


Quick Start

Installation

pip install cytetype

Basic Usage 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='rank_genes_' + group_key, 
    n_top_genes=100
)
adata = annotator.run(study_context="Human PBMC from healthy donor")
sc.pl.umap(adata, color='cytetype_annotation_clusters')

🚀 Try it in Google Colab

Note: No API keys required for default configuration. See Configuration for LLM setup, artifact handling, and advanced options.

Using R/Seurat? → CyteTypeR


Documentation

ResourceDescription
ConfigurationLLM settings, parameters, and customization
Output ColumnsUnderstanding annotation results and metadata
TroubleshootingCommon issues and solutions
DevelopmentContributing and local setup
DiscordCommunity support

Output Reports

Each analysis generates an HTML report documenting annotation decisions, reviewer comments and an embedded chat interface for further exploration.

CyteType HTML report showing cell type annotations marker genes

View example report


Benchmarks

Validated across PBMC, bone marrow, tumor microenvironment, and cross-species datasets. CyteType's agentic architecture consistently outperforms existing annotation methods:

ComparisonImprovement
vs GPTCellType+388%
vs CellTypist+268%
vs SingleR+101%
CyteType benchmark comparison against GPTCellType CellTypist SingleR

Browse CyteType results on atlas scale datasets


Citation

If you use CyteType in your research, please cite our preprint:

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.


Similar Projects

Discover other similar projects and AI models.

RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryR
CelVoxes/ceLLama

Cell type annotation with local Large Language Models (LLMs) - Ensuring privacy and speed with extensive customized reports

151
Oct 25, 2024
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryJavaScript
DietrichGebert/ponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

203.5k
Nov 22, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

267.7k
Dec 2, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

162.3k
Dec 2, 2026
RepositoryJavaScript
Mintplex-Labs/anything-llm

Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience

68.9k
Nov 24, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
RepositoryPython
The-Pocket/PocketFlow

Pocket Flow: 100-line LLM framework. Let Agents build Agents!

11.4k
Jul 26, 2026