Welcome to Saturn CLI Documentation - Go Job Execution Toolkit
Saturn CLI is a lightweight client/server toolkit that lets you trigger and monitor shell-style jobs from your Go services or the command line. The client communicates with a long-running daemon over Unix domain sockets (macOS/Linux) or HTTP (Windows), providing a fast, secure channel for orchestrating background work and process management.
About This Project
This project is a Go CLI client implementation based on the Saturn distributed task scheduling system originally developed by VipShop. Saturn CLI provides a lightweight alternative for executing jobs from Go applications using Unix domain sockets for efficient local communication.
Key Features
- Embeddable job runtime – Register regular or stoppable jobs using a composable registry that can be scoped per service instance
- Socket-first transport – Uses Unix domain sockets by default for low latency and predictable permissions, with automatic TCP fallback on Windows
- Graceful cancellation – Stoppable jobs receive a dedicated quit channel and the client exposes
--stopsemantics andCTRL+Cinterception - Structured CLI experience – Repeatable
--param key=valueflags, helpful diagnostics, and consistent exit codes make automation scripts straightforward - Production-ready ergonomics – Context-aware HTTP clients, signal cleanup, and comprehensive integration tests keep long-lived processes healthy
How to Navigate This Documentation
This documentation is organized for different types of users. Choose the path that best matches your needs:
For New Users
- Start with our Getting Started guide to understand basic concepts and setup
- Try the Quick Start for immediate hands-on experience
- Explore Basic Examples to see common use cases
For Developers
- Review Architecture to understand the system design
- Read API References for detailed technical specifications
- Follow the Embedding Guide to integrate Saturn into your services
For Contributors
- Check out Contributing for development setup
- Review Development Setup for building and testing
- Look at Testing for guidelines on writing tests
Highlights
- Embeddable job runtime – Register regular or stoppable jobs using a composable registry that can be scoped per service instance.
- Socket-first transport – Uses Unix domain sockets by default for low latency and predictable permissions, with automatic TCP fallback on Windows.
- Graceful cancellation – Stoppable jobs receive a dedicated quit channel and the client exposes
--stopsemantics andCTRL+Cinterception. - Structured CLI experience – Repeatable
--param key=valueflags, helpful diagnostics, and consistent exit codes make automation scripts straightforward. - Production-ready ergonomics – Context-aware HTTP clients, signal cleanup, and comprehensive integration tests keep long-lived processes healthy.
Architecture Overview

Quick Start
To get started with Saturn CLI, check out our Getting Started guide.