Skip to main content

Introduction

The Quickstart shows how to set up the ESM models by installing the esm python package. Once the esm package is set up, you can choose from ESMC, ESMFold2, the ESMC sparse autoencoders (SAEs) or ESM3 to begin fine tuning or working with the model.

Quickstart guide

1

Install the esm Python package

2

Import the necessary libraries

3

Create an API key

Generate an API key and add it to your Biohub account. This API key manages your access to credits and tokens, and the term API key/token is often used interchangeably within documentation.
4

Connect to the Biohub API

Call the appropriate ESM client with the selected model of choice and replace <your API token> with your token name.
5

Run your inference

Now you are ready to use your model. For examples of specific use cases or to append an SAE onto your ESMC model, check out our Tutorials. To embed a sequence collection, use Embed multiple sequences with ESMC.

Use Biohub from an AI assistant

Connect ChatGPT, Codex, Claude, or Cursor to Biohub MCP at https://biohub.ai/mcp to search the ESM Atlas and view protein structures in chat. It needs no API key or sign-in.

Biohub MCP quickstart

Add the server to your AI client and run your first ESM Atlas search.