Skip to content

stax

Stacked Git branches and PRs — fast, safe, and built for humans and AI agents.

stax screenshot

Why stax

  • Stack, don't wait. Keep shipping on top of in-review PRs.
  • Native-fast. A single Rust binary; st ls benches ~16× faster than Graphite/Freephite on this repo.
  • Agent-native. Parallel AI lanes (st lane), AI conflict resolution (st resolve), AI-drafted PR bodies.
  • Undo-first. Every destructive op is snapshotted. st undo / st redo rescue risky rebases.
  • Drop-in compatible. Same metadata format as Freephite — existing stacks work immediately.

Start here

  1. Install
  2. Quick start
  3. Core commands

Learn by goal

I want to… Go to
Understand stacked-branch workflow Stacked branches
Keep multiple independent stacks Multiple stacks
Drive stax from the terminal UI Interactive TUI
Merge an entire stack safely Merge and cascade
Run parallel AI coding sessions AI worktree lanes
Manage Git worktrees as lanes Worktrees
Understand worktree-aware behavior Multi-worktree behavior
Recover from a bad rewrite Undo and redo
Validate or repair stack metadata Stack health
Generate PR bodies / standup summaries Reporting · PR templates + AI
Configure auth, naming, or AI agents Configuration
Cut a release with auto-generated changelog Release workflow
Use stax alongside a specific AI tool Integrations
Migrate from Freephite or Graphite Compatibility
See the full command surface Full reference