█

AI/TLDR

Buy me a coffee
Buy me a coffee

Nomic Atlas Client

Python SDK for Nomic Atlas and the Nomic Embed API: embed, map, cluster and search unstructured data

Embedding Models & InferenceOpen source
Latest
v3.9.0
Updated
11 Nov 2025
Language
Python
License
Apache-2.0
$pip install nomic

What's new

v3.9.011 Nov 2025

The document client accepts more file types, and the package is built and published as a wheel.

IN SHORT

What is Nomic Atlas Client?

Nomic Atlas Client is Python SDK for Nomic Atlas and the Nomic Embed API: embed, map, cluster and search unstructured data. It wraps two services: Nomic Atlas, a hosted platform for exploring unstructured data, and the Nomic Embedding API, which turns text and images into vectors with Nomic's own nomic-embed models. It sits in the Embedding Models & Inference category of the Retrieval & Knowledge (RAG) tools and is open-source, written in Python and licensed Apache-2.0.

Updated Markdown version ↗

Overview

The `nomic` package is the official Python client for Nomic's developer platform. It wraps two services: Nomic Atlas, a hosted platform for exploring unstructured data, and the Nomic Embedding API, which turns text and images into vectors with Nomic's own nomic-embed models. The package declares the Apache 2.0 license in its metadata; Atlas itself is a hosted service that needs a Nomic account.

Atlas map of arXiv articles as coloured dots grouped into labelled topic regions such as LLM Reasoning, Causal inference, Superconductivity and Black holes, with a topic legend
An Atlas map of a week of arXiv submissions, with topics labelled automaticallyNomic README ↗

On the Atlas side, you upload embeddings or raw data with `atlas.map_data` and Atlas builds an interactive map in the browser: every datapoint is a dot placed by semantic similarity, grouped into automatically labelled topics. Back in Python you can pull the latent and two-dimensional embeddings, a pandas DataFrame of topic assignments at each depth, and nearest-neighbour results from vector search. Atlas handles datasets from hundreds to tens of millions of points, across text, image, audio and video.

On the embedding side, `embed.text` and `embed.image` return vectors from models such as nomic-embed-text-v1.5 and nomic-embed-vision-v1.5. Text calls take a `task_type` (search_query, search_document, classification or clustering), an optional reduced `dimensionality` for Matryoshka-capable models, and an `inference_mode` that runs remotely, locally through Embed4All, or picks automatically.

What it does

  • Build a shareable, browser-based Atlas map from embeddings or raw data with one `atlas.map_data` call
  • Automatic topic modelling: each datapoint is assigned to semantic topics at several depths, readable as a pandas DataFrame
  • Download latent (high-dimensional) and projected (2D) embeddings for any map
  • Nearest-neighbour vector search over a dataset's embeddings, returning the matching records
  • Text and image embeddings via the Nomic Embedding API, with task types, adjustable dimensionality and remote, local or dynamic inference
  • Tag, clean and deduplicate text, image, video and audio datasets in Atlas

Getting started

The client installs from PyPI and authenticates against your Nomic account via `nomic login`.

Install the library

bashbash
pip install nomic

Log in

Run `nomic login` to create or sign in to your Nomic account and get an access token, then pass the token to finish logging in.

bashbash
nomic login
nomic login [token]

Make your first map

Upload a set of embeddings and Atlas builds an interactive map of them in your browser.

pythonpython
from nomic import atlas
import numpy as np

# Randomly generate a set of 10,000 high-dimensional embeddings
num_embeddings = 10000
embeddings = np.random.rand(num_embeddings, 256)

# Create Atlas project
dataset = atlas.map_data(embeddings=embeddings)

print(dataset)

Read topics and embeddings back

Each map exposes its topic assignments and both the projected and latent embeddings.

pythonpython
map = dataset.maps[0]

topic_df = map.topics.df
projected_embeddings = map.embeddings.projected
latent_embeddings = map.embeddings.latent

Search for similar datapoints

Find the nearest neighbours of a datapoint and fetch the matching records.

pythonpython
with dataset.wait_for_dataset_lock():
  neighbors, _ = map.embeddings.vector_search(ids=['my_query_point'], k=5)

similar_datapoints = dataset.get_data(ids=neighbors[0])
print(similar_datapoints)

Embed text with Nomic Embed

Call the Embedding API directly; set `task_type` to match how the vectors will be used.

pythonpython
from nomic import embed

output = embed.text(
    texts=['Nomic Embedding API', '#keepAIOpen'],
    model='nomic-embed-text-v1.5',
    task_type='search_document',
)
print(output)

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Getting a visual overview of a large text or image corpus before cleaning or labelling it
Dense Atlas map of TikTok video metadata with topic labels such as Cats, Dogs, Taylor Swift, Weight Loss, Shopping and Amazon Finds
A historical TikTok dataset indexed on its metadata descriptions, clustered into topicsNomic README ↗
  • Generating search_document and search_query embeddings for a RAG or semantic search pipeline
  • Finding topic clusters and near-duplicates in scraped or user-generated data
  • Sharing an explorable map of a dataset with teammates who do not write code

How Nomic Atlas Client compares

Nomic Atlas Client alongside other open-source embedding models & inference tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Sentence Transformers★ 19.3kThe standard Python framework for loading, training, and computing embeddings with sentence and reranking models.
OpenCLIP★ 14.3kAn open implementation of CLIP for training and running image-text embedding models, with a large catalogue of pretrained checkpoints for zero-shot classification and retrieval.
PyTorch Metric Learning★ 6.3kPyTorch library of losses, miners, distances, samplers, trainers and accuracy testers for training embedding models with deep metric and self-supervised learning.
EmbeddingGemma (Gemma)★ 5.9kGoogle DeepMind's Gemma repo, home to EmbeddingGemma, a 308M multilingual embedding model small enough to run on-device for RAG and semantic search.
Text Embeddings Inference (TEI)★ 5.1kHugging Face's Rust-based server for deploying embedding, reranking, and sequence-classification models with high throughput on GPU or CPU.
text2vec★ 5kPython library for sentence embeddings and text similarity, implementing Word2Vec, BM25, Sentence-BERT, CoSENT and BGE with Chinese and multilingual models.
Infinity (Embeddings)★ 3kA high-throughput serving engine for text embeddings, rerankers, CLIP, and ColPali models, exposing an OpenAI-compatible API.
Nomic Atlas Client★ 1.9kPython SDK for Nomic Atlas and the Nomic Embed API: embed, map, cluster and search unstructured data