> ## Documentation Index
> Fetch the complete documentation index at: https://proto.evodesign.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# RFdiffusion3 + Inverse Folding Monomer Design

> De novo monomers: RFdiffusion3 backbones + ProteinMPNN/LigandMPNN/ESM-IF1/Caliby sequences

![RFdiffusion3 + Inverse Folding Monomer Design](https://proto-bio.github.io/proto-assets/images/generator/rfdiffusion-mpnn-monomer/hero.png)

> [!NOTE]
>
> **License:** This generator can use multiple tools, each under its own license. See the **Tools Used** tab and each tool's page for license details.

This generator is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.

***

&#x20;Tools Used Tools Used  Source Source

[  ![](https://proto-bio.github.io/proto-assets/images/tool/rfdiffusion3/social.png)](https://proto.evodesign.org/docs/tools/structure-design/rfdiffusion3.md)[  ![](https://proto-bio.github.io/proto-assets/images/tool/proteinmpnn/carousel.png)  ![](https://proto-bio.github.io/proto-assets/images/tool/ligandmpnn/carousel.png)  ![](https://proto-bio.github.io/proto-assets/images/tool/esm_if1/carousel.png)  ![](https://proto-bio.github.io/proto-assets/images/tool/caliby/carousel.png)Inverse Folding · 4 tools](https://proto.evodesign.org/docs/tools/inverse-folding/overview)

![Proto](https://mintcdn.com/bio-pro/cMLt8hAqaP9M3LKy/assets/logo/logo-light.svg?fit=max\&auto=format\&n=cMLt8hAqaP9M3LKy\&q=85\&s=f5e5dfd1b8f9b9db3a0be0e2eb01f678)

evo-design/proto-language

&#x20;View source

[Open](https://github.com/evo-design/proto-language/blob/1a97e675c7e5e4ae0e92be91b1bb7b49f1331104/proto_language/generator/rfdiffusion_mpnn_monomer_generator.py#L399)

Generator contributors[![](https://avatars.githubusercontent.com/u/61667248?v=4\&s=64)adititm](https://github.com/adititm)[![](https://avatars.githubusercontent.com/u/21143637?v=4\&s=64)bviggiano](https://github.com/bviggiano)
De-novo monomer generator chaining unconditional RFdiffusion3 and an inverse-folding model.

Each proposal gets a sequence from the selected inverse-folding model and its
RFdiffusion3 backbone as `proposal.structure` (whose residues carry RFdiffusion3's
co-designed sequence, not the designed one, so structure-prediction constraints should
re-fold `proposal.sequence`).

## API Reference

ConfigRFdiffusionMPNNMonomerGeneratorConfig[ Source](https://github.com/evo-design/proto-language/blob/1a97e675c7e5e4ae0e92be91b1bb7b49f1331104/proto_language/generator/rfdiffusion_mpnn_monomer_generator.py#L77)

Configuration object for RFdiffusionMPNNMonomerGenerator.

The monomer length is the assigned segment's length. `inverse_folding` selects the
model that designs each backbone's sequence; only its nested config is used, and it
defaults to the tool's defaults when omitted. The generator sets `n_batches` and
`seed` on `rfdiffusion3_config` and `seed` on the inverse-folding config, and reads
the inverse-folding config's `num_sequences_per_structure` as the number of sequences
designed per backbone.

**rfdiffusion3\_config** `RFdiffusion3Config`

Advanced RFdiffusion3 backbone-generation configuration.

**inverse\_folding** `enum` (default: proteinmpnn)

Sequence-design model: 'proteinmpnn', 'ligandmpnn' (ligand/DNA-aware), 'esm-if1' or 'caliby'.

Options: `proteinmpnn`, `ligandmpnn`, `esm-if1`, `caliby`

**proteinmpnn\_config** `ProteinMPNNSampleConfig`

Advanced ProteinMPNN settings; used when inverse\_folding='proteinmpnn'.

**ligandmpnn\_config** `LigandMPNNSampleConfig`

Advanced LigandMPNN settings; used when inverse\_folding='ligandmpnn'.

**esm\_if1\_config** `ESMIF1SampleConfig`

Advanced ESM-IF1/ProteinDPO settings; used when inverse\_folding='esm-if1'.

**caliby\_config** `CalibySampleConfig`

Advanced Caliby settings; used when inverse\_folding='caliby'.

## Usage

```python python icon="python" theme={null}
>>> from proto_language.core import Segment
>>> gen = RFdiffusionMPNNMonomerGenerator(RFdiffusionMPNNMonomerGeneratorConfig(inverse_folding="caliby"))
>>> gen.assign(Segment(length=70, sequence_type="protein"))
>>> gen.sample()  # each proposal gets a 70-residue Caliby sequence and its backbone
```

## Metadata

| Property | Value |
| - | - |
| Key | `rfdiffusion-mpnn-monomer` |
| Class | `RFdiffusionMPNNMonomerGenerator` |
| Category | `mutation` |
| Input Type | `starting_sequence` |
| Uses GPU | `True` |
| Supported Sequence Types | `protein` |
| Allows Empty Start | `True` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.