百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

potato

> AI 编程
开源

potato: 便携式标注工具

399 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

potato: 便携式标注工具

Potato: The Portable Annotation Tool

Potato is a free, self-hosted annotation platform for NLP, Agentic, GenAI, and qualitative research. Annotate text, audio, video, images, documents, agent traces, and more — or run a full qualitative data analysis (QDA) workflow with a living codebook, memos, and cases. Configured entirely through YAML. No coding required.

Try the live demo on HuggingFace Spaces — no installation needed. More at www.potatoannotator.com.


Quick Start

bash
pip install potato-annotation
# The examples/ folder ships with the source repo (see "run from source" below).
# After a PyPI install, clone the repo for the examples, or point `potato start`
# at your own config (see docs/quick-start.md).
potato start examples/classification/single-choice/config.yaml -p 8000

Or run from source (recommended to get the examples/):

bash
git clone https://github.com/davidjurgens/potato.git
cd potato && pip install -r requirements.txt
python potato/flask_server.py start examples/classification/single-choice/config.yaml -p 8000

Open http://localhost:8000 and start annotating. Browse the examples/ directory for ready-to-use templates.

Using Claude Code, Codex, or Cursor? Install the Potato skill first. It shows the agent how to design a task, build and run it, check the interface, and export the annotations.

/plugin marketplace add davidjurgens/potato-skill
/plugin install potato-skill@potato

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


What Can You Annotate?

Potato covers traditional NLP labeling, AI agent evaluation, and interpretive qualitative analysis.

The tables below are a representative sample, not a complete list. Schemes and data types compose freely, custom layouts and raw HTML let you build interfaces beyond these, and new schema types can be added. If you don't see your task here, it's likely still possible.

Data Types

Modality Capabilities
Text Classification, span labeling, entity linking, coreference, pairwise comparison (docs)
Agent Traces Step-by-step evaluation of LLM agents, tool calls, ReAct chains, and multi-agent systems (docs)
Web Agents Screenshot-based review with SVG click/scroll overlays, or live browsing with automatic trace recording (docs)
RAG Pipelines Retrieval relevance, answer faithfulness, citation accuracy, hallucination detection
Audio Waveform visualization, segment labeling, ELAN-style tiered annotation, and 21 transcript/subtitle formats read directly — Whisper, cloud ASR, SRT/VTT, YouTube captions, TextGrid/EAF. No transcript? Potato runs Whisper and speaker diarization locally (docs, transcripts)
Video Frame-by-frame labeling, temporal segments, playback sync (docs)
Images Bounding boxes, polygons, landmarks, classification (docs)
Dialogue Turn-level annotation, conversation trees, interactive chat evaluation, and diarized transcripts synced to their audio (docs)
Documents PDF, Word, Markdown, code, and spreadsheets with coordinate mapping (docs)

Annotation Schemes

Scheme Use Case
Radio / Checkbox / Likert Classification, multi-label, rating scales
Span annotation NER, highlighting, hallucination marking
Pairwise comparison A/B testing, best-worst scaling
Per-step ratings Evaluate individual agent actions or dialogue turns
Free text Open-ended responses with validation
Triage Rapid accept/reject/skip curation (docs)
Conditional logic Adaptive forms that respond to prior answers (docs)

Agent & LLM Evaluation

Potato reads traces from the major agent frameworks and evaluates them at the trajectory, step, span, or comparison level.

Trace Formats

Import traces from any major agent framework with the built-in converter:

bash
python -m potato.trace_converter --input traces.json --input-format openai --output data.jsonl

Supported formats: OpenAI, Anthropic/Claude, ReAct, LangChain, LangFuse, WebArena, SWE-bench, OpenTelemetry, CrewAI/AutoGen/LangGraph, MCP, Aider, Claude Code, ATIF, SWE-Agent, and Web Agent. Auto-detection is available with --auto-detect.

Evaluation Levels

Level What You Annotate Example
Trajectory Overall task success, efficiency, safety "Did the agent complete the task?"
Step Individual action correctness, reasoning quality Per-turn Likert ratings on each agent step
Span Specific text segments within agent output Highlight hallucinated claims, factual errors
Comparison Side-by-side A/B agent evaluation "Which agent performed better?"

Web Agent Viewer

A viewer for GUI agent traces. You step through the screenshots one action at a time, with SVG overlays for clicks, bounding boxes, mouse paths, and scrolls. Annotators rate each step with inline controls, and a filmstrip bar jumps between steps.

Ready-to-Use Agent Examples

Example What It Evaluates
agent-trace-evaluation Text agent traces with MAST error taxonomy + hallucination spans
visual-agent-evaluation GUI agents with screenshot grounding accuracy
agent-comparison Side-by-side A/B agent comparison
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 Pre-recorded web traces with step-by-step overlay viewer
web-agent-creation Live web browsing with automatic trace recording

Qualitative Data Analysis (QDA)

Potato also supports interpretive qualitative research, the kind of work done in NVivo, ATLAS.ti, or MAXQDA, self-hosted and free.

Capability Description
Living codebook The codebook is an evolving markdown document of rules, definitions, examples, and rationales rather than a list of labels. Edit it in a full-page document view or inline while coding, with versioning, diff, and restore; semantic edits can re-flag affected excerpts for review (docs)
In-vivo coding Create codes directly from a highlighted passage, in the participant's own words (example)
Memos Attach analytic notes to excerpts, codes, or the whole project as your interpretation develops (docs)
Cases Group instances into units of analysis — participants, interviews, documents, sites — for case-based comparison (docs)
Search Full-text search across your corpus and annotations to find, revisit, and code recurring patterns (docs)
Codebook distillation Turn the human-authored codebook into an LLM prompt for AI-assisted coding

Enable it with qda_mode, which turns these features on together; see the QDA Mode guide and the runnable qda-mode-example.


AI-Powered Annotation

LLM Label Suggestions

Connect any LLM provider to pre-annotate instances and suggest labels. Annotators then review and correct rather than labeling from scratch, which is the point: correcting a draft is faster than producing one.

Supported backends: OpenAI, Anthropic, Ollama, vLLM, Gemini, HuggingFace, OpenRouter

Active Learning

Potato reorders your annotation queue based on model uncertainty so annotators label the most informative instances first. Supports uncertainty sampling, BADGE, BALD, diversity, and hybrid strategies (docs).

Solo Mode

A human-LLM collaborative workflow where the system learns from annotator feedback and progressively transitions to autonomous LLM labeling as agreement improves (docs).

Chat Assistant

An LLM-powered sidebar where annotators can ask questions about difficult instances. It answers from your task description and annotation guidelines, and never writes a label itself (docs).


Quality Control & Workflows

Quality Assurance

Feature Description
Attention checks Automatically inserted known-answer items to verify engagement
Gold standards Track annotator accuracy against expert labels
Inter-annotator agreement Krippendorff's alpha (general) and Cohen's kappa (step-level agent evaluation)
Training phase Practice annotations with feedback before the real task
Behavioral tracking Timing, click patterns, and annotation change history
Psychometrics Live IRT (multiclass GLAD, Whitehill et al. 2009) fit as annotations arrive: per-item label posteriors, annotator ability with standard errors, item difficulty, and discrimination flags for codebook bugs — no gold labels, no LLM (docs)
Boundary probing Counterfactual probes map each annotator's decision boundary; paraphrase-invariance flags inconsistency (docs)
Truth Serum Surprisingly-popular scoring (Prelec et al., Nature 2017): gold-free verdicts that beat majority vote on hard items, plus annotator calibration (docs)
Paper Mode python -m potato.paper config.yaml emits a compilable LaTeX dataset report — methods paragraphs, booktabs tables, IAA, limitations — ready to cut-paste (docs)
Think-Aloud Mode Speak while you annotate: fully-local speech-to-text, verbatim rationale streams, labels committed by voice via rule-based phrase detection — no LLM (docs)

Annotation Workflows

Workflow Description
Multi-annotator Multiple annotators per item with overlap control and agreement metrics
Adjudication Expert review of annotator disagreements to produce gold labels (docs)
Solo mode Human-LLM collaboration with progressive automation (docs)
Crowdsourcing Prolific and MTurk integration with platform-specific auth ([docs](docs/deployment/cro

Issues· 4 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonagentic-aiagentic-workflowagentsannotation

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.