
The agent-native data workbench for your terminal
Sweet is the only data tool that is simultaneously interactive (human-friendly TUI), programmable (Python SDK), agent-native (MCP server), and pipeline-aware (reproducible transforms that export to production code). It's a terminal-native data workspace designed from the ground up to be operated by both humans and AI agents with the same fidelity.
Load a dataset, ask an agent to clean it, visually inspect the results, branch off an experiment, and ship a reproducible pipeline — all without leaving your terminal.
Four Surfaces, One Engine
┌──────────────────────────────────────────────────────────────┐
│ SWEET PLATFORM │
├──────────┬──────────┬────────────┬───────────────────────────┤
│ TUI │ MCP │ Python │ HTTP API │
│ (human) │ (agents) │ SDK │ (automation) │
├──────────┴──────────┴────────────┴───────────────────────────┤
│ WORKSPACE ENGINE │
│ Polars · DuckDB · undo/redo · profiling · quality rules │
│ contracts · versioning · codegen · connectors · agents │
└──────────────────────────────────────────────────────────────┘
| Surface | For | Launch |
|---|
| TUI | Interactive exploration and editing | sweet data.parquet |
| MCP Server | AI agents (Claude, Copilot, Cursor, custom) | sweet mcp |
| Python SDK | Scripts, notebooks, programmatic workflows | from sweet import Workspace |
| HTTP API | Automation, dashboards, remote access | sweet serve --http |
All four surfaces drive the same workspace engine — same transforms, same undo/redo, same quality rules.
Quick Start
pip install sweet-data
sweet
As a human
Open anything. Large, remote, and multi-file data is scanned lazily, so it appears
immediately:
sweet sales.csv
sweet 'logs/2026-*.parquet' customers.xlsx # several sheets
sweet exports/ # a directory (e.g. hive-partitioned Parquet)
sweet s3://bucket/events/*.parquet
sweet hf://datasets/org/name
cat data.csv | sweet
Each column header shows its type, null share, and a sparkline of its distribution. Press
i for the column inspector, o for an overview of every column, s to sort, f to
filter to the value under the cursor, u to undo, and Ctrl+P for every command.
Every change is a step. Press n to write one in SQL or Polars and see exactly what it
would change before you accept it (removed rows struck through, changed cells
highlighted). Press t for the steps panel: view the data as of any step, toggle, edit,
reorder, or remove steps, or branch a new sheet from any point.
The previous spreadsheet UI (with the AI chat panel and database browser) is still
available with sweet --classic.
Live data
Follow a growing file, piped stdin, or a WebSocket feed. The grid tails new rows, headers
update as they arrive, and steps apply to new rows as well:
sweet --follow events.ndjson # like tail -f, with columns
tail -f app.log | sweet --follow # NDJSON, CSV, or plain lines
sweet wss://feed.example.com/ticks # needs: pip install 'sweet-data[stream]'
Press space to freeze the view (a counter shows how many rows arrived since) and again
to catch up. Press A to add an alert: a SQL condition every new row should meet.
Violating rows flash. Agents can add drift alerts (null rate or mean versus a baseline)
and watch a feed for them. Run the same pipeline headless on a stream with:
sweet run clean.sweet.yaml --follow -i events.ndjson -o clean.parquet
examples/sensor_feed.py writes a demo feed whose readings start drifting partway through.
With an agent, live