Skip to main content

Potato annotation tool logo: a potato in glasses holding a pen

Potato: The Portable Annotation Tool

Docs & Guides Technical Reference PyPI License Paper (Potato 2.0) Paper (Potato 1.0) Live Demo

Potato is a free, open-source platform for collecting human annotations and judgments that you can run on your own machine or deploy to the cloud with one command. Researchers use it to label NLP and machine-learning datasets, evaluate AI agents and LLMs, run online experiments and surveys, code interviews for qualitative analysis, and review scientific and medical data. The same tool handles text, audio, video, images, documents, agent traces, 3D scans and more.

A Potato task is a single settings file plus your data. You can design it in the browser, have a coding agent build it, or write it by hand. Because the whole task lives in one file, you can share it, reuse it, keep it under version control, and publish it next to a paper so others can run the same study.

Try the live demo (no installation) · potatoannotator.com

A tour of Potato annotation screens: named entities highlighted in a news paragraph, a web agent's trace, a fluorescence microscopy image with cells classified, a coded interview transcript, bird calls boxed on a spectrogram, a supernova candidate with its light curve, two model replies rated for helpfulness, a sleep recording with events marked, a protein structure with binding-site residues selected, a glossed Turkish sentence, a lidar street scene with 3D boxes, a picked and integrated NMR spectrum, and an aerial image with land cover outlined
Entities · web agents · microscopy · interviews · bird calls · astronomy · model replies · sleep studies · proteins · glossing · lidar · NMR spectra · land cover. Potato 2.14.0 running on sample data.


Who uses Potato

If you are... Potato gives you Start here
Building NLP or ML datasets Classification, span and entity labeling, pairwise preference, multi-annotator agreement, adjudication, and AI pre-labeling for annotators to correct Schema gallery
Evaluating AI agents and LLMs Step-by-step trace review for 15+ agent frameworks, web-agent replays, RAG checks, LLM-judge calibration, and CI gating Agent evaluation
Running experiments and surveys Condition assignment, counterbalancing, jsPsych timelines, validated questionnaires, survey import from Qualtrics and REDCap, and recruiting through Prolific and other panels Experiment flow
Doing qualitative research A living codebook, in-vivo coding, memos and cases: the NVivo / ATLAS.ti / MAXQDA workflow, self-hosted and free QDA mode
Reviewing scientific or medical data Viewers for microscopy, whole slides, CT/MR volumes, EEG, protein structures, genome loci, spectra and astronomy cutouts Science viewers

Build a task three ways

  • In the browser. The Potato Designer lets you design an annotation study or a Solo Mode project in a visual form: pick annotation types, set up AI support, and download a config that runs with potato start.
  • With a coding agent. Install the Potato skill in Claude Code, Codex or Cursor. Describe the study, and the agent writes the task, runs it, checks the interface and exports the annotations. Potato also ships an MCP server (potato mcp).
  • By hand. Copy one of the 200+ projects in examples/, or a worked design from the Potato Showcase, and edit its config.yaml. Editors check the file as you type against the published config schema.
# Claude Code
/plugin marketplace add davidjurgens/potato-skill
/plugin install potato-skill@potato

# Codex or Cursor
npx skills add davidjurgens/potato-skill --agent codex cursor

Quick start

pip install potato-annotation
potato start path/to/config.yaml -p 8000

Then open http://localhost:8000. To try a ready-made task first, run one from a source checkout, which includes examples/:

git clone https://github.com/davidjurgens/potato.git
cd potato && pip install -e .
potato start examples/classification/single-choice/config.yaml -p 8000

To show a pilot to a few people, potato share config.yaml serves it on a temporary public URL. For anything longer-lived, see Deploy and share.


What you can annotate

The tables below are a representative sample, not a complete list. Annotation schemes and data types can be combined freely, custom layouts and raw HTML cover interfaces not listed here, and plugins add new schema and display types. If your task isn't listed, Potato can probably still do it.

Data types

Modality Capabilities
Text Classification, span labeling, entity linking, coreference, relations, events, pairwise comparison (docs)
Agent traces Step-by-step evaluation of LLM agents, tool calls, ReAct chains and multi-agent systems (docs)
Web agents Screenshot replays with click and scroll overlays, or live browsing with automatic trace recording (docs)
RAG pipelines Retrieval relevance, answer faithfulness, citation accuracy, hallucination marking
Dialogue Turn-level annotation, conversation trees, live chat evaluation, and diarized transcripts synced to audio (docs)
Audio Waveforms, segment labels, ELAN-style tiers, and 21 transcript and subtitle formats read directly, including Whisper, cloud ASR, SRT/VTT, YouTube captions, TextGrid and EAF. Without a transcript, Potato runs Whisper and speaker diarization locally (docs, transcripts)
Video Frame-by-frame labeling, temporal segments, object tracking (docs)
Images Bounding boxes, polygons, brush masks, landmarks, classification (docs)
Documents PDF, Word, Markdown, code and spreadsheets, with coordinate mapping (docs)
3D and volumes Lidar and photogrammetry point clouds with 3D boxes and per-point segments; CT and MR volumes (DICOM, NIfTI) painted in linked axial, coronal and sagittal views (point clouds, volumes)
Maps Points, lines and polygons on a map, pinned places, and regions of an outline map (docs)
Microscopy and pathology Multichannel OME-Zarr and OME-TIFF with regions and cell classes; whole-slide regions to and from QuPath and ASAP; DICOM SEG and SR export (microscopy, clinical formats)
Signals Multi-channel EEG, ECG and sensor recordings (EDF/BDF, WFDB, CSV/Parquet) with interval, event and sleep-stage labels, exported as BIDS events (docs)
Biology Protein structures with residue selection; genome loci in igv.js for variant review (proteins, genomes)
Chemistry and spectra Draw or correct chemical structures, mark atoms, and pick and integrate peaks in NMR, IR and MS spectra (structures, spectra)
Bioacoustics Spectrograms with time-frequency boxes (docs)
Astronomy FITS cutouts as science/reference/difference triplets with light curves, for real/bogus vetting and morphology (docs)

Annotation schemes

Scheme Use case
Radio / checkbox / Likert / slider Classification, multi-label, rating scales
Span annotation NER, highlighting, hallucination marking
Pairwise and best-worst A/B preference, ranking, best-worst scaling
Per-step ratings Rate each agent action or dialogue turn
Free text Open-ended responses with validation
Triage Fast accept / reject / skip for data curation (docs)
Conditional logic Questions that appear based on earlier answers (docs)
Interlinear glossing Morpheme segmentation, glosses and a free translation per sentence (docs)
Ego networks A respondent names people, answers questions about each, links who knows whom, and places them on a map (docs)
Listening tests MUSHRA, BS.1116, ACR, DCR, CCR, P.835 and ABX (docs)
Survey measures Visual analogue scales, semantic differentials, constant-sum, price lists, belief elicitation (docs)

Agent and LLM evaluation

Potato reads traces from the major agent frameworks and lets people evaluate them for a whole trajectory, for each step, for spans of text inside a step, or side by side.

python -m potato.trace_converter --input traces.json --auto-detect --output data.jsonl

Supported formats: OpenAI, Anthropic/Claude, ReAct, LangChain, LangFuse, WebArena, SWE-bench, SWE-Agent, OpenTelemetry, CrewAI / AutoGen / LangGraph, MCP, Aider, Claude Code, ATIF and Web Agent.

Level What you annotate Example
Trajectory Task success, efficiency, safety "Did the agent complete the task?"
Step Whether each action was correct and well reasoned A Likert rating on every agent step
Span Specific text inside agent output Highlight hallucinated claims
Comparison Two agents side by side "Which agent did better?"

From production traces to a CI gate

Stage What Potato provides
Capture The @traceable tracing SDK, or POST traces to the ingestion webhook
Route Automation rules (filter → sample → actions) send incoming traces to queues, datasets, evaluators or webhooks
Curate Versioned datasets and experiments, plus semantic search and slices
Evaluate Programmatic evaluators (trajectory match, tool use, LLM judge, heuristics) and a side-by-side model arena
Calibrate Align LLM judges with human labels for categorical, span and free-text outputs
Gate Run evals in pytest and fail CI when scores regress
Ready-to-run agent evaluation examples
Example What it evaluates
agent-trace-evaluation Text agent traces with the MAST error taxonomy and hallucination spans
visual-agent-evaluation GUI agents, with screenshot grounding accuracy
agent-comparison Two agents side by side
rag-evaluation RAG retrieval relevance and citation accuracy
openai-evaluation OpenAI Chat API traces with tool calls
anthropic-evaluation Claude messages with tool_use blocks
swebench-evaluation Coding agents, with patch correctness ratings
multi-agent-evaluation Multi-agent coordination (CrewAI, AutoGen, LangGraph)
web-agent-review Recorded web traces in the step-by-step overlay viewer
web-agent-creation Live web browsing with automatic trace recording
agent-testing Chat with a live agent, or a coding agent in a subprocess or Docker, then rate it

AI in the loop

  • LLM label suggestions. Any LLM can pre-annotate items so annotators correct a draft instead of starting from nothing. Backends: OpenAI, Anthropic, Gemini, Ollama, vLLM, HuggingFace and OpenRouter (docs). Decision models (systemone for Jev, OpenJev or laya-serve, and in-process laya) pick one label without writing text; Solo Mode and the labeling engine use them, but ai_support does not accept them.
  • Labeling engine. Models label the dataset and people label a blind random sample. Potato tests the machine labels against that sample under limits you set (for example, at most 5% wrong at 90% confidence), accepts the labels that pass, sends the rest to people, and writes a certificate saying what was tested on how many human labels. Run it from the annotation server or with potato label run|status|certify|certificate|export (docs).
  • Active learning. Puts the items a model is least sure about at the front of the queue, with uncertainty, BADGE, BALD, diversity and hybrid strategies (docs).
  • Model training. Train a model on the study's own annotations from the admin page, on the annotation server, on a GPU machine over ssh, on a SLURM cluster, or on a machine that polls for jobs. Each run is scored on held-out items, and its predictions can go back into the study as pre-labels to correct (docs).
  • Solo Mode. One person works with an LLM, and the LLM takes over more of the labeling as its agreement with that person improves (docs).
  • Chat assistant. A sidebar where annotators ask about hard items. It answers from your guidelines and never writes a label itself (docs).
What you can train (38 trainers)
  • Text, span and image classifiers, including training on annotators' vote splits and private training with DP-SGD; a scikit-learn classifier that needs no extra install
  • Box and outline detectors, including on whole slides, microscopy planes, map rasters and spectrograms; Cellpose cell segmentation; SAM box-to-outline refinement
  • 3D volume segmentation, point-cloud detection through your own detector, and video object tracking
  • LayoutLMv3 document layout; vision-language fine-tuning for image questions, captions, grounding and GUI clicks
  • An audio segment tagger, Whisper fine-tuning on corrected transcripts, and speaker diarization
  • LLM fine-tuning on free-text answers, pairwise preferences and corrected agent traces; reward models from pairwise, ranking and best-worst answers; process reward models for agent steps
  • Relation, event, coreference and dependency models; conversation-tree and interlinear-gloss models
  • Molecular property models, spectrum peak picking, signal and sleep-stage labeling, and robot-episode phase, outcome and reward models
  • Bridges that score a model running elsewhere: a Label Studio ML backend, a vision-language model behind an OpenAI-compatible API, a Hugging Face Inference Endpoint, Roboflow and CVAT serverless functions

Qualitative data analysis (QDA)

Potato supports interpretive qualitative research of the kind done in NVivo, ATLAS.ti or MAXQDA. Turn it on with qda_mode (guide, example).

Capability Description
Living codebook The codebook is a markdown document of rules, definitions, examples and rationales, not just a list of labels. Edit it full-page or inline while coding, with versions, diffs and restore; changing a definition can flag affected excerpts for another look (docs)
In-vivo coding Make a code from a highlighted passage, in the participant's own words (example)
Memos Notes on excerpts, codes or the whole project (docs)
Cases Group items into participants, interviews, documents or sites to compare cases (docs)
Search Full-text search across the corpus and its annotations (docs)
Codebook distillation Turn the codebook into an LLM prompt for AI-assisted coding

Experiments and surveys

Capability Description
Experiment flow Assign participants to conditions, show or skip pages by condition, screen participants out, counterbalance page order, and randomize questions (docs)
Runtime phases Run a jsPsych timeline, a headphone check, or a task hosted elsewhere (oTree, Empirica, a survey platform) as one page of the study (docs)
Survey import potato import converts Qualtrics, SurveyJS, LimeSurvey, XLSForm, REDCap, Beiwe and Network Canvas questionnaires, including their show/hide logic (docs)
Survey instruments A library of validated questionnaires (personality, mental health, affect, demographics) for pre- and post-study pages (docs)
Self-paced reading Self-paced reading and the Maze task, with a reading time for each region (docs)
Scheduled sessions Follow-up waves, experience sampling and Delphi rounds, with email, SMS or Prolific reminders (docs)
Writing process Content-blind keystroke timing that tells typed answers from pasted or transcribed ones (docs)

Quality and agreement

Feature Description
Training phase Practice items with feedback before the real task
Attention checks and gold items Known-answer items to check engagement and track accuracy (docs)
Inter-annotator agreement Krippendorff's alpha, Cohen's kappa, and per-step agreement for agent evaluation
Behavioral tracking Timing, clicks and the history of changes to each answer (docs)
Psychometrics Item response theory (multiclass GLAD, Whitehill et al. 2009) fit live as answers arrive: label estimates per item, annotator ability with standard errors, item difficulty, and discrimination flags that point at codebook bugs. No gold labels or LLM needed (docs)
Truth Serum Surprisingly-popular scoring (Prelec et al., Nature 2017): verdicts without gold labels that beat majority vote on hard items, plus annotator calibration (docs)
Boundary probing Counterfactual probes map where each annotator's decision changes, and paraphrase checks flag inconsistency (docs)

Running a study

Workflow Description
Multiple annotators Several people per item, with overlap control and agreement metrics (docs)
Adjudication An expert resolves disagreements to produce final labels (docs)
Live collaborative sessions A team annotates the same items at once and keeps one shared answer per item (docs)
Multiplayer rooms Norming (blind vote, reveal, discuss), disagreement huddles, and shadowing for trainees (docs)
Pocket Mode Annotate on a phone: an installable app with one-tap labels that works offline and syncs later (docs)
Crowdsourcing Prolific, CloudResearch Connect, SONA, Microworkers, Clickworker, invite links for hired experts, and any panel that passes a participant ID in the URL (docs, choosing a platform)
Admin dashboard Progress, agreement, annotator timing and exports in one place (docs)
Paper Mode python -m potato.paper config.yaml writes a compilable LaTeX dataset report with methods paragraphs, booktabs tables, agreement and limitations (docs)
Think-aloud Annotators speak while they work. Speech is transcribed locally and kept as a rationale, and spoken phrases can commit a label, with no LLM involved (docs)

Deploy and share

potato deploy up config.yaml --provider <target> creates a server, gets an HTTPS certificate and starts the task. Targets include AWS, Jetstream2 and other OpenStack clouds, Hetzner, Vultr, Linode, DigitalOcean, Fly.io, Railway, Render, Heroku and HuggingFace Spaces. On hosts whose disk doesn't survive a restart, --backup hf|s3 keeps the annotations in a dataset or bucket and restores them when the server starts. potato deploy button writes Deploy to Heroku, Deploy to Render and AWS Launch Stack buttons for a task's repository. Start with Installing and running Potato.

Login options: simple usernames for quick studies, passwords stored in a file or in SQLite / PostgreSQL, Google, GitHub or institutional single sign-on, Clerk, and passwordless links (docs). Passwords are hashed with PBKDF2-SHA256 and a salt per user, and can be reset by an admin (potato reset-password or the REST API), who can also issue a single-use reset link. potato snapshot freezes a project under an ID you can cite (docs).


Examples and live demos

examples/ holds ready-to-run projects, each a folder with a config.yaml and its data:

Category Examples
Classification Radio, checkbox, Likert, slider, pairwise comparison
Span NER, span linking, coreference, entity linking
Agent traces LLM agents, web agents, RAG, multi-agent, coding agents
Audio / Video / Image Waveforms, tiers, temporal segments, boxes, PDF and document annotation
Conversation ConvoKit corpora, threaded forums, conversation trees
Spatial / Embodied Lidar (KITTI), depth maps, robot episodes in LeRobot format
Advanced QDA, Solo Mode, adjudication, collaborative sessions, Pocket Mode
Crowdsourcing Prolific, CloudResearch Connect, SONA, Microworkers, expert invites
Labeling engine Certified machine labels for text, images and agent traces
Plugins A minimal plugin package that adds a display type

Live demos. The flagship demo runs agent trace evaluation, and the demo catalog has a HuggingFace Space for every annotation type. Deploy your own from a single manifest.

Research showcase. The Potato Showcase has 500+ worked task designs from many domains, including projects from published research on sentiment analysis, dialogue evaluation and summarization.


Documentation

potatoannotator.com/docs has guides and tutorials. Read the Docs has the version-matched reference: every config option, the HTTP API and internals.

Quick start · Configuration · Schema gallery · Agent evaluation · AI support · Quality control · Crowdsourcing · Export formats · Comparison with other tools · FAQ · Full index

For coding agents

Start with the Potato skill (install commands per agent) or the MCP server. Without either, an agent can work from these specs. The config schema and OpenAPI spec are generated from the code, so they match what the server accepts:

File What it gives you
llms.txt Curated index of the docs (llms.txt standard)
llms-full.txt Every documentation page in one file
Config JSON Schema Every config key, annotation type and display type; validates a config.yaml before the server runs
OpenAPI 3.1 spec Every HTTP path, with its auth and config requirements

See Machine-readable specs for editor setup, CI validation and jq recipes.


Contributing

Bug fixes, new annotation types, documentation fixes and example projects are welcome. CONTRIBUTING.md covers setup and what to run before opening a PR, and the contributor guide and testing guide cover adding an annotation type and which test tier to write in.

Support

License

Potato is free software under the GNU General Public License v3.0 or later. You may use, study, modify and redistribute it, including commercially, provided that derivative works you distribute are also licensed under GPLv3+ and shipped with their source code.


Citation

If you use Potato in your research, please cite the Potato 2.0 paper (ACL 2026 System Demonstrations):

@inproceedings{jurgens-etal-2026-potato,
    title = "Potato 2.0: A Comprehensive Annotation Platform with {AI}-in-the-Loop Support",
    author = "Jurgens, David  and
      Chen, Michael  and
      Iyer, Lina",
    editor = "Durrett, Greg  and
      Jian, Ping",
    booktitle = "Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)",
    month = jul,
    year = "2026",
    address = "San Diego, California, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.acl-demo.37/",
    pages = "374--386",
    ISBN = "979-8-89176-392-0",
}

To reference the original Potato release, cite the Potato 1.0 paper (EMNLP 2022 System Demonstrations):

@inproceedings{pei-etal-2022-potato,
    title = "{POTATO}: The Portable Text Annotation Tool",
    author = "Pei, Jiaxin  and
      Ananthasubramaniam, Aparna  and
      Wang, Xingyao  and
      Zhou, Naitian  and
      Dedeloudis, Apostolos  and
      Sargent, Jackson  and
      Jurgens, David",
    editor = "Che, Wanxiang  and
      Shutova, Ekaterina",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing: System Demonstrations",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, UAE",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.emnlp-demos.33/",
    doi = "10.18653/v1/2022.emnlp-demos.33",
    pages = "327--337",
}

Metadata

Release files for potato-annotation 2.14.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for potato-annotation 2.14.2
File Size Uploaded Provenance Actions
potato_annotation-2.14.2.tar.gz 11.0 MB Without provenance Details for potato_annotation-2.14.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for potato-annotation 2.14.2
File Interpreter ABI Platform Actions
potato_annotation-2.14.2-py3-none-any.whl Python 3 none any Details for potato_annotation-2.14.2-py3-none-any.whl

Total release size: 22.9 MB

Release files / potato_annotation-2.14.2.tar.gz

Download URL potato_annotation-2.14.2.tar.gz
Size 11.0 MB
Tags Source
SHA-256 checksum
How to use checksums
99aca58e3ab3a8a2ff0207f8928c11040d86df4bfcb76c0d1f9ca87254176f0f
BLAKE2b-256 checksum
How to use checksums
31fc5ced80de37ae64f7bcb60b877969c80fa23e3cedd37acff9f4a81e202fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / potato_annotation-2.14.2-py3-none-any.whl

Download URL potato_annotation-2.14.2-py3-none-any.whl
Size 11.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
057aefe19b82f7cb2d98ec3eafb4fbddaa6632e88a886b7e059ab01eb5acd0dc
BLAKE2b-256 checksum
How to use checksums
00182329985d8ea81a3076349681ec019150740025a38a39e6c87a9f122ff01d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for potato-annotation 2.14.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.14.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page