Documentation

Trellis Documentation

Trellis is an AI-native development environment — a local web app where Claude Code and Codex sessions work alongside your terminals, services, logs, and distributed traces, all scoped to the git worktree you’re working in. Your AI sessions can read the same production logs, traces, and crash reports you can, so investigations start from real data — and finished work is captured as a case, committed to git alongside the fix.

Read the full overview to understand what Trellis does and how it works.

At a Glance

  • Worktrees as environments — Each git worktree gets its own terminals, running processes, and logs
  • Service supervision — Run your app’s components locally with automatic restart when binaries change
  • Terminal & tmux management — Trellis creates and manages tmux sessions for you
  • Claude Code & Codex sessions — AI-assisted development with per-worktree chat sessions for either agent, transcript management, and a per-session model picker for Claude
  • Pair review & checklist runs — Wire two AI sessions into an automated implementer/reviewer loop, or drive them through a multi-phase checklist one reviewed phase at a time
  • Session inbox — A floating popup listing every live Claude and Codex session across worktrees, highlighting the ones waiting on you
  • Usage & cost tracking — Daily, per-worktree, and per-session token usage and cost for Claude Code and Codex
  • Cases — Track units of work (bugs, features, investigations) with notes, links, transcripts, and trace reports
  • Remote access — SSH terminals and log streaming from staging/production in the same UI
  • Log search — Tail, search, and correlate logs across local and remote systems
  • Reverse proxy — Mirror production routing locally with path-based routing and optional Tailscale TLS
  • Keyboard-first — Pickers and shortcuts for rapid navigation without touching the mouse

Getting Started

  1. Install Trellis - Download and set up the binary
  2. Quickstart - Configure your first project in 5 minutes

Learn the Concepts

  • Overview - Trellis explained in plain terms
  • Services - How Trellis manages your dev services
  • Worktrees - Git worktree integration and environment isolation
  • Logging - Log sources, parsers, and filtering

Web Interface

Reference