[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [AlphaFold protein structure prediction](https://spiral.ai/integrations/devin/alphafold-protein-structure-prediction)

# How to Use AlphaFold protein structure prediction in Devin

Retrieve an existing AlphaFold protein model’s metadata, confidence measures, and structure file links. Use it to check which regions support structural analysis before choosing an experimental construct or examining a mutation site.

|  |  |
| --- | --- |
| Model | AlphaFold protein structure prediction |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with AlphaFold protein structure prediction in Devin

- Use AlphaFold protein structure prediction for P04637 and add its model metadata, confidence summary, and structure file links to a JSON file in this project.
- Use AlphaFold protein structure prediction for P00533 and build a residue-confidence chart from the available confidence data.
- Use AlphaFold protein structure prediction for P69905 and P68871 and create a comparison table of sequence lengths and confidence summaries.
- Use AlphaFold protein structure prediction for Q13542 and add a report showing which residue stretches have pLDDT above 90 or below 50.
- Use AlphaFold protein structure prediction for P04637 and compare the returned metadata with the saved model record in this repository.

## How to set up AlphaFold protein structure prediction in Devin

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run AlphaFold protein structure prediction**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "alphafold-ebi-ac-uk/structures/prediction",
    "input": {
      "id": "<id>"
    }
  }'
```

Then paste one of the prompts above: Devin finds AlphaFold protein structure prediction on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/devin

## AlphaFold protein structure prediction tools and prices

- [AlphaFold Protein Structure Database · Prediction](https://spiral.ai/tools/alexandria/alphafold-ebi-ac-uk/structures/prediction) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | UniProt accession (P04637), isoform (P04637-2), entry name (P53_HUMAN), AlphaFold DB model ID (AF-P04637-F1, AF-0000000000710001) or alphafold.ebi.ac.uk entry URL; case-insensitive. Exactly one of id and gene. |
| gene |  | — | Gene symbol (TP53, CD52, HLA-A), resolved to the one reviewed (Swiss-Prot) UniProt entry with that gene name, or that synonym, in organism. A symbol shared by several entries is invalid_input listing them. |
| organism |  | — | Organism for gene: NCBI taxonomy ID (9606) or name (human, Mus musculus). Default 9606 (human). Only with gene. |

## What can you do with AlphaFold protein structure prediction in Devin?

Build a protein review table that pairs AlphaFold model metadata with confidence measures and structure file links. A coding agent can add the results to project files and highlight regions that need closer inspection.

### Choose candidate construct boundaries

Inspect residue confidence before proposing protein fragments for expression experiments. Use confidence changes to identify candidate boundaries for experimental review.

### Review a mutation site’s structural context

Locate a residue in the predicted structure and examine its local confidence. Use the result to decide how much structural detail can support a research discussion.

### Screen models before downstream analysis

Compare confidence distributions across candidate proteins and identify regions that deserve closer inspection before structural calculations.

### Identify possible disordered regions

Find low-confidence stretches for follow-up. Separate possible intrinsic disorder from regions where AlphaFold may lack enough information to predict a structure.

### Review domain placement

Inspect PAE alongside local confidence before interpreting the spatial relationship between two protein regions.

### Prepare a protein model for visualization

Retrieve structure file links and confidence information for a protein visualization or research presentation.

### Check models after database updates

Compare retrieved model metadata with an earlier snapshot and flag entries for review. Account for version labels that change while coordinates remain the same.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Devin guides](https://spiral.ai/integrations/devin)

## AlphaFold protein structure prediction in other agents

- [Amp](https://spiral.ai/integrations/amp/alphafold-protein-structure-prediction)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/alphafold-protein-structure-prediction)
- [Claude](https://spiral.ai/integrations/claude-desktop/alphafold-protein-structure-prediction)
- [Claude Code](https://spiral.ai/integrations/claude-code/alphafold-protein-structure-prediction)
- [Cline](https://spiral.ai/integrations/cline/alphafold-protein-structure-prediction)
- [Codex](https://spiral.ai/integrations/codex/alphafold-protein-structure-prediction)
- [Cursor](https://spiral.ai/integrations/cursor/alphafold-protein-structure-prediction)
- [dots](https://spiral.ai/integrations/dots/alphafold-protein-structure-prediction)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/alphafold-protein-structure-prediction)
- [Gemini](https://spiral.ai/integrations/gemini/alphafold-protein-structure-prediction)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/alphafold-protein-structure-prediction)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/alphafold-protein-structure-prediction)
- [goose](https://spiral.ai/integrations/goose/alphafold-protein-structure-prediction)
- [Grok](https://spiral.ai/integrations/grok/alphafold-protein-structure-prediction)
- [Grok Build](https://spiral.ai/integrations/grok-build/alphafold-protein-structure-prediction)
- [Hermes](https://spiral.ai/integrations/hermes/alphafold-protein-structure-prediction)
- [Instinct](https://spiral.ai/integrations/instinct/alphafold-protein-structure-prediction)
- [Manus](https://spiral.ai/integrations/manus/alphafold-protein-structure-prediction)
- [Muse](https://spiral.ai/integrations/muse/alphafold-protein-structure-prediction)
- [Muse Code](https://spiral.ai/integrations/muse-code/alphafold-protein-structure-prediction)
- [n8n](https://spiral.ai/integrations/n8n/alphafold-protein-structure-prediction)
- [Notion](https://spiral.ai/integrations/notion/alphafold-protein-structure-prediction)
- [OpenClaw](https://spiral.ai/integrations/openclaw/alphafold-protein-structure-prediction)
- [opencode](https://spiral.ai/integrations/opencode/alphafold-protein-structure-prediction)
- [Perplexity](https://spiral.ai/integrations/perplexity/alphafold-protein-structure-prediction)
- [Raycast](https://spiral.ai/integrations/raycast/alphafold-protein-structure-prediction)
- [VS Code](https://spiral.ai/integrations/vscode/alphafold-protein-structure-prediction)
- [Windsurf](https://spiral.ai/integrations/windsurf/alphafold-protein-structure-prediction)
- [Zapier](https://spiral.ai/integrations/zapier/alphafold-protein-structure-prediction)

## More Devin guides

- [AlphaFold predicted protein complexes](https://spiral.ai/integrations/devin/alphafold-predicted-protein-complexes)
- [BDPM HAS medicine assessments](https://spiral.ai/integrations/devin/bdpm-has-medicine-assessments)
- [AlphaFold missense predictions](https://spiral.ai/integrations/devin/alphafold-missense-predictions)
- [BDPM medicine details](https://spiral.ai/integrations/devin/bdpm-medicine-details)
- [mempool.space Transaction output spending status](https://spiral.ai/integrations/devin/mempool-space-transaction-output-spending-status)
- [BDPM medicine search](https://spiral.ai/integrations/devin/bdpm-medicine-search)

## Questions about AlphaFold protein structure prediction in Devin

**Can Devin use AlphaFold protein structure prediction?**

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run AlphaFold protein structure prediction like any built-in tool.

**How much does AlphaFold protein structure prediction cost in Devin?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.

**Do I need an Alexandria account to use AlphaFold protein structure prediction in Devin?**

No. Spiral runs AlphaFold protein structure prediction on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up AlphaFold protein structure prediction in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while AlphaFold protein structure prediction runs?**

AlphaFold protein structure prediction runs in the background. Devin starts the run, checks on it and gives you the json when it's ready.

**Does AlphaFold cover proteins outside humans?**

Yes. The core UniProt dataset includes predicted protein structures from more than 1 million organisms, including model organisms and pathogens.

**Does a newer model version mean the structure was recalculated?**

No. AlphaFold DB v6 aligned the core database with UniProt 2025_03, but entries with unchanged sequences retained their v4 coordinates while receiving updated metadata and v6 labels.

**How should I interpret the confidence scores?**

pLDDT measures local confidence for each residue from 0 to 100. Scores above 90 indicate the highest accuracy category; scores below 50 can reflect disorder or insufficient information to predict the region confidently.

**Can I retrieve a complete structure for a very long protein?**

Do not assume a complete model is available. For human proteins longer than 2,700 amino acids, AlphaFold supplies overlapping 1,400-residue fragments in proteome archives, outside the website’s individual structure pages.

**Does high local confidence establish how protein domains fit together?**

Check predicted aligned error, or PAE, when assessing domain placement. Low PAE between residues in different domains indicates lower predicted positional error, while high PAE indicates uncertain relative placement.

