Getting Started¶
Welcome to Cub! This section will help you go from zero to running your first autonomous coding session.
What You'll Learn¶
Installation¶
Get Cub installed using our one-liner installer, pipx, uv, or from source. Verify your setup and configure global settings.
Quick Start¶
A 5-minute guide to initializing a project, creating tasks, and running your first autonomous loop.
Core Concepts¶
Understand the "prep and run" workflow, task backends, harnesses, and how all the pieces fit together.
The 60-Second Overview¶
Cub wraps AI coding CLIs (Claude Code, Codex, Gemini) to provide a reliable "set and forget" loop for autonomous coding sessions.
The Problem¶
You want to use AI coding agents, but:
- Too hands-on: Sitting in an IDE, approving every tool call
- Too hands-off: Vague instructions, hoping the agent figures it out
The Solution¶
Cub helps you work ahead of execution so you can be more hands-off during execution:
- Prep - Turn your ideas into structured, agent-sized tasks
- Run - Let Cub execute tasks autonomously
# Install
curl -LsSf https://docs.cub.tools/install.sh | bash
# Setup
cub init --global
cd my-project && cub init
# Prep your work
cub prep
# Let it run
cub run
Prerequisites¶
Before installing Cub, make sure you have:
| Requirement | Notes |
|---|---|
| Python 3.10+ | Required. Check with python3 --version |
| At least one harness | Claude Code, Codex, Gemini, or OpenCode |
Harness Installation
Cub doesn't include AI harnesses - you need to install at least one separately. Claude Code is recommended for both cub prep (required) and cub run.
Next Steps¶
Ready to dive in?
- Install Cub - Get Cub on your system
- Quick Start - Run your first session
- Core Concepts - Understand how it all works
Or jump straight to the User Guide if you want comprehensive coverage of all features.