aicoolies logo
médialab logo
médialab logo

xan

Blazing-fast Rust-based CSV Swiss Army knife for the terminal

open sourceupdated Jul 28, 2026

xan is a fast command-line tool for working with CSV files, built in Rust by the Sciences Po medialab team. It provides over 50 subcommands for filtering, sorting, joining, aggregating, and transforming CSV data directly in the terminal. With 3,900 GitHub stars and near-instant processing of multi-gigabyte files, xan replaces workflows that previously required loading data into Python or spreadsheets.

xan brings the power of a full data analysis toolkit to CSV processing in the terminal. The tool provides subcommands for selecting columns, filtering rows with expressions, sorting, deduplicating, joining multiple files, computing aggregations and statistics, pivoting data, and generating frequency tables. Each operation streams data efficiently, meaning even multi-gigabyte CSV files process in seconds rather than the minutes that Python scripts or spreadsheet applications require.

Built in Rust for maximum performance, xan compiles to a single binary with no runtime dependencies. The expression language for filtering and computing new columns supports mathematical operations, string manipulation, date parsing, and regular expressions. For developers and data analysts who frequently work with CSV exports, log files, or data pipeline outputs, xan eliminates the round-trip to Python or Excel for common data exploration and transformation tasks.

Released under MIT/Unlicense dual licensing with 3,900 GitHub stars and 2,877 commits, xan has a mature and well-documented codebase developed by the Sciences Po medialab research team. The tool integrates naturally into shell pipelines with Unix-standard stdin/stdout patterns, making it composable with grep, awk, and other command-line tools.

Pricing

Free and open-source (MIT/Unlicense)

Platforms

Rust binary; macOS, Linux, Windows; single binary, no dependencies

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Grok logo

Grok Build

Top Pick

xAI's terminal coding agent with parallel subagents and worktree-aware automation

Grok Build is xAI's terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

paid
Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

Open Source
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemium
KaibanJS logo

KaibanJS

JavaScript framework for building and visualizing multi-agent workflows on a Kanban board

KaibanJS is an MIT-licensed JavaScript framework for defining AI agents, tasks, tools, and teams, then orchestrating their work through a Kanban-inspired runtime and visual board. It can run inside Node.js, React, or Next.js projects, supports custom UIs and headless workflows, and provides real-time task-state visibility for multi-agent applications.

Open SourceTelemetry
roborev logo

roborev

Continuous local code-review loops for commits produced by AI coding agents

roborev is an MIT-licensed local review system that checks every commit in the background, stores findings in a review queue, and feeds actionable issues back into AI coding sessions. Git hooks, a TUI, branch and dirty-tree analysis, Codex and Claude agent hooks, plus iterative fix/refine commands turn review into a continuous agent workflow.

Open SourceTelemetry
Open Notebook logo

Open Notebook

Private, self-hosted research notebooks with flexible AI models, source chat, and podcasts

Open Notebook is an MIT-licensed, self-hosted alternative to NotebookLM for collecting sources, chatting over research, generating reusable transformations, and producing multi-speaker podcasts. Its Docker stack keeps notebook data under the user's control while supporting 18-plus model providers, including local Ollama and LM Studio workflows.

Open SourceTelemetry

FAQ

What is xan?

xan is a fast command-line tool for working with CSV files, built in Rust by the Sciences Po medialab team. It provides over 50 subcommands for filtering, sorting, joining, aggregating, and transforming CSV data directly in the terminal. With 3,900 GitHub stars and near-instant processing of multi-gigabyte files, xan replaces workflows that previously required loading data into Python or spreadsheets.

Is xan free?

Yes — xan is open source and free to use. Free and open-source (MIT/Unlicense)

Is xan open source?

Yes — xan is open source.

What are the best xan alternatives?

The top editor-verified xan alternatives are Ollama, Claude Code, Goose.