Oxen
Lightning fast data version control system for structured and unstructured machine learning datasets. We aim to make versioning datasets as easy as versioning code.
Install / Use
/learn @Oxen-AI/OxenREADME
🐂 What is Oxen?
Oxen is a lightning fast data version control system for large datasets. We aim to make versioning data as easy as versioning code.
The interface mirrors git, but shines in many areas that git or git-lfs fall short. Oxen is built from the ground up for any data type, and is optimized to handle repositories with millions of files and scales to terrabytes of data.
oxen init
oxen add images/
oxen add annotations/*.parquet
oxen commit "Adding 200k images and their corresponding annotations"
oxen push origin main
Oxen is comprised of a command line interface, as well as bindings for Rust 🦀, Python 🐍, and HTTP interfaces 🌎 to make it easy to integrate into your workflow.
🌾 What kind of data?
Oxen is designed to efficiently manage large data in any format - including images, audio, video, text or tabular data like parquet files with millions of rows. Behind the scenes Oxen can store any blob type, but has specialized metadata extractors for certain filetypes and caches this information in the merkle tree for fast access later.
🚀 Built for speed
One of the main reasons datasets are hard to maintain is the pure performance of indexing the data and transferring the data over the network. We wanted to be able to index hundreds of thousands of images, videos, audio files, and text files in seconds.
Watch below as we version hundreds of thousands of images in seconds 🔥
<p align="center"> <img src="https://github.com/Oxen-AI/oxen-release/raw/main/images/cli-celeba.gif?raw=true" alt="oxen cli demo" /> </p>But speed is only the beginning.
✅ Features
Oxen is built around ergonomics, ease of use, and it is easy to learn. If you know how to use git, you know how to use Oxen.
- 🔥 Fast (efficient indexing and syncing of data)
- 🧠 Easy to learn (same commands as git)
- 💪 Handles large files (images, videos, audio, text, parquet, arrow, json, models, etc)
- 🗄️ Index lots of files (millions of images? no problem)
- 📊 Native DataFrame processing (index, compare and serve up DataFrames)
- 📈 Tracks changes over time (never worry about losing the state of your data)
- 🤝 Collaborate with your team (sync to an oxen-server)
- 🌎 Workspaces to interact with the data without downloading it
- 👀 Better data visualization on OxenHub
🐮 Learn The Basics
To learn what everything Oxen can do, the full documentation can be found at https://docs.oxen.ai.
🧑💻 Getting Started
You can install through homebrew or pip or from our releases page.
🐂 Install Command Line Tool
Install via Homebrew:
brew install oxen
🐍 Install Python Library
pip install oxenai
⬇️ Clone Dataset
Clone your first Oxen repository from the OxenHub.
<CodeGroup>oxen clone https://hub.oxen.ai/ox/CatDogBBox
🤝 Support
If you have any questions, comments, suggestions, or just want to get in contact with the team, feel free to email us at hello@oxen.ai
👥 Contributing
This repository contains the Python library that wraps the core Rust codebase. We would love help extending out the python interfaces, the documentation, or the core rust library.
Code bases to contribute to:
If you are building anything with Oxen.ai or have any questions we would love to hear from you in our discord.
Build 🔨
Each codebase has its own build instructions, please refer to the Rust build instructions
and oxen-python's build instructions for specifics.
However, each codebase shares the same pre-requisites and pre-commit hooks.
Prerequisites
Automatic Install
You should use bin/install-prereqs to automatically install the required development tools and toolchains for Rust and Python. Execute that as:
bin/install-prereqs
It supports MacOS and Debian-based Linux distributions. If you have a different OS or distribution, or if you have some error with the install script, you can follow the manual installation steps below.
Manual Installation
Oxen is purely written in Rust 🦀. You should install the Rust toolchain with rustup.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Once you have rust, install the following developer tools:
bacon: run the server with reload-on-changescargo-machete: identify and remove unused dependenciescargo-llvm-cov: calculate test code coveragecargo-sort: ensureCargo.tomlfiles are organizedcargo-nextest: run unit tests
You can install all of these at once with the following commands:
cargo install bacon cargo-machete cargo-llvm-cov cargo-sort
cargo install --locked cargo-nextest
Make sure cmake is installed. cmake can be installed on macOS with:
brew install cmake
The Python interface uses liboxen bindings provided by PyO3.
The oxen-python codebase requires installing uv:
curl --LsSf https://astral.sh/uv/install.sh | sh
If you use mise to manage your Python installs, you may run into an error where the oxen-py crate can't find the Python dynamic library to link with, e.g., dyld[31558]: Library not loaded: @rpath/libpython3.13.dylib
You can fix it by adding this to your mise config (~/.config/mise/config.toml)
[env]
DYLD_LIBRARY_PATH = "{{ exec(command='mise where python') }}/lib"
Pre-Commit Hooks
We use pre-commit-hooks to check for commit consistency.
Install with uv as a tool:
uv tool install pre-commit
Install Oxen's pre-commit hooks locally using:
pre-commit install
Why build Oxen?
Oxen was build by a team of machine learning engineers, who have spent countless hours in their careers managing datasets. We have used many different tools, but none of them were as easy to use and as ergonomic as we would like.
If you have ever tried git lfs to version large datasets and became frustrated, we feel your pain. Solutions like git-lfs are too slow when it comes to the scale of data we need for machine learning.
If you have ever uploaded a large dataset of images, audio, video, or text to a cloud storage bucket with the name:
s3://data/images_july_2022_final_2_no_really_final.tar.gz
We built Oxen to be the tool we wish we had.
Why the name Oxen?
"Oxen" 🐂 comes from the fact that the tooling will plow, maintain, and version your data like a good farmer tends to their fields 🌾. Let Oxen take care of the grunt work of your infrastructure so you can focus on the higher-level problems that matter to your product.
<!---------------------------------------------------------------------------->Related Skills
himalaya
339.1kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
claude-opus-4-5-migration
83.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
coding-agent
339.1kDelegate coding tasks to Codex, Claude Code, or Pi agents via background process
tavily
339.1kTavily web search, content extraction, and research tools.
