# OpenDDE
AlphaFold3-class co-folding from Aureka, with an antibody-antigen specific checkpoint.
- Job type: `OPENDDE`
- Task: Structure prediction
- Price: 2 credits for one structure
- Behavior and limits: `n_sample` and `seeds` are best-of: one structure per input unless `return_all_samples` is true.
- Source: Aureka
- Paper: citation pending

## Example

### CLI

```bash
# complexes takes a list the example cannot fill; pass it from Python or HTTP
phi jobs submit OPENDDE \
  --input sequences=NLYIQWLKDGGPSSGRPPPS \
  --param model=opendde-v1 \
  --param n_sample=1 \
  --param n_cycle=1 \
  --param n_step=1 \
  --wait --out out
```

### Python

```python
from phi import PhiClient

with PhiClient() as phi:
    job = phi.jobs.submit(
        "OPENDDE",
        inputs={
        "sequences": [
                "NLYIQWLKDGGPSSGRPPPS"
        ],
        "complexes": []
        },
        params={
        "model": "opendde-v1",
        "n_sample": 1,
        "n_cycle": 1,
        "n_step": 1
        },
    )
    print(phi.jobs.wait(job.job_id).status)
```

### HTTP

```bash
curl -X POST https://api.dynophi.com/v1/jobs \
  -H "x-api-key: $PHI_KEY" -H "content-type: application/json" \
  -d '{
  "job_type": "OPENDDE",
  "inputs": {
    "sequences": [
      "NLYIQWLKDGGPSSGRPPPS"
    ],
    "complexes": []
  },
  "params": {
    "model": "opendde-v1",
    "n_sample": 1,
    "n_cycle": 1,
    "n_step": 1
  }
}'
```

## Parameters

| Name | Type | Default | Description |
|---|---|---|---|
| `gpu` | string one of a100, t4, a100_80gb, h100, a100_or_h100, a100_80gb_or_h100, a100_preferred, h100_preferred | `null` | Per-job GPU class override. |
| `seed` | integer | `null` | Single seed (default 101). Mutually exclusive with `seeds`. |
| `seeds` | list of integer | `null` | Multiple seeds. Mutually exclusive with `seed`. |
| `model` (essential) | string one of opendde-v1, opendde-abag | `"opendde-v1"` | OpenDDE checkpoint: 'opendde-v1' (general-purpose) or 'opendde-abag' (antibody-antigen tuned). |
| `n_sample` (essential) | integer | `null` | Diffusion samples per seed (OpenDDE --sample). Only the top-ranked sample across all seeds is returned unless `return_all_samples` is true. |
| `n_step` (essential) | integer | `null` | Diffusion steps (OpenDDE --step; default 200). |
| `n_cycle` (essential) | integer | `null` | Recycling cycles (OpenDDE --cycle; default 10). |
| `dtype` | string one of bf16, fp32 | `"fp32"` | Inference precision. |
| `use_msa` (essential) | boolean | `true` | Use/generate protein MSA features. |
| `use_template` (essential) | boolean | `false` | Use/generate structural templates. |
| `return_all_samples` (essential) | boolean | `false` | Return every seed and diffusion sample's structure and confidence under `samples`, not only the top-ranked one. The top-ranked sample remains each row's primary structure. |
| `opt_mode` | string one of off, exact, fast, big | `"off"` | Optimization-kit mode. 'off' runs stock OpenDDE and is the kill switch; 'exact' is bitwise-identical to 'off' and faster; 'fast' is faster still with small documented numeric differences; 'big' minimizes GPU memory for large inputs. |

## Inputs

| Name | Type | Default | Description |
|---|---|---|---|
| `source_run_id` | string | `null` | Completed GERMINAL run in this organization. Loads accepted A/B complexes from that run's germinal/sequences.json. Mutually exclusive with sequence or complex inputs. |
| `sequences` (essential) | list of string | FoldSequenceInput | `null` | Sequences to fold; accepts the 'SEQ_A:SEQ_B' colon shorthand. Provide sequences or complexes. |
| `complexes` (essential) | list of FoldWithMsaComplexInput | `null` | Multi-chain complexes with optional per-chain MSA / template URIs. Provide complexes or sequences. |

---
Source: https://dynophi.com/docs/models/OPENDDE. From the live API schema and phi-api's model catalog, 2026-11-23.