Skip to content
/ Lonca
Documentation contents

Getting started

Install and requirements

What Lonca needs on your Mac, what it brings with it, and how it updates.

Lonca is a macOS app for Apple silicon. It brings its own terminal multiplexer and runtime, and expects git. The coding agents it runs are command-line tools you install and sign in to yourself: Lonca uses your own Claude Code or Codex subscription, never one of its own.

Requirements

NeededWhat for
MacApple silicon, macOS 12 or laterLonca is built for arm64 only.
gitYesWorktrees, branches and diffs. macOS offers to install the Command Line Tools the first time git runs.
Claude Code (claude)OptionalStage agents, Background AI, the Configurator, the leads.
Codex (codex)OptionalStage agents, Background AI, the Configurator, the leads.
GitHub CLI (gh)OptionalPull request status, checks and comments, and the pull request Lonca opens at the Publish stage.

Lonca opens without any coding agent installed, but its stage agents need one to work: install Claude Code or Codex to hand tasks off, and to have the Configurator write your configuration.

What Lonca brings with it

Like VS Code, the app carries its runtime. These sit inside Cuukit Lonca.app/Contents/Resources, signed and notarized with the app:

  • tmux 3.7c. Every stage agent's terminal and every app Lonca starts runs on Lonca's own tmux server, and Lonca runs this copy by path, so its sessions always run the version it was built against. You do not need to install tmux.
  • node. A small shim that runs the app's own executable as Node, for Lonca's hooks and tools inside stage agents' sessions (their status, the test rules, jobs). A Mac without Node runs them too. The folder goes last on the search path, so a Node you installed is found first.
  • Playwright, for Lonca's own E2E runner. A repository needs no Playwright of its own for Lonca to drive its app.
  • An embedding model that compares decisions, run on your Mac.

Claude Code and Codex

Install either or both, and sign in to each once in a terminal, as you would without Lonca. Lonca runs the CLI it finds on your search path with your account; nothing is billed through Lonca.

Terminal
npm install -g @anthropic-ai/claude-code   # Claude Code
npm install -g @openai/codex               # Codex

Which part runs on which

Part of LoncaClaude CodeCodex
Stage agents✓✓
The Configurator✓✓
The leads✓—

Each stage agent runs on the CLI, model and effort you choose for it, so one pipeline can mix the two. The leads (a task lead per task, a Workspace Lead per workspace) are Claude Code or Codex conversations Lonca keeps itself; with neither installed, every question the rules cannot settle comes to you.

GitHub CLI

Lonca reads pull requests through gh: their state, checks, reviews and comments, shown in the task list and on the Flow tab. Lonca opens its pull requests with it too. Install it and sign in once:

Terminal
brew install gh
gh auth login

Without gh, the pull request panel says the GitHub CLI is not installed; without a session, it asks you to run gh auth login. A handed-off task then gets as far as the Publish stage, pushes its branch, and asks you, because it cannot open the pull request. Everything before that works.

Download and install

  1. Download the dmg from cuukit.com/lonca/download. It is named Cuukit-Lonca-<version>-arm64.dmg.
  2. Open it and drag Cuukit Lonca to Applications.
  3. Open Cuukit Lonca from Applications.

The app and the dmg are signed with Cuukit's Developer ID and notarized by Apple, so macOS opens them without a warning about an unidentified developer. The bundle identifier is com.cuukit.lonca. Saved secrets are encrypted with a Keychain key named after the app, so keep its name as it is.

The first launch

An app opened from Finder does not inherit your shell's search path, so Lonca reads your login shell's PATH when it starts. CLIs installed with Homebrew or npm are found as they are in your terminal.

With no configuration yet, Lonca opens on the setup wizard. Its first screen lists the tools it found on this Mac, each with its path or the command that installs it, and Check again looks again after you install one. You can finish setup before installing an agent: stage agents start once the tools are there. See First setup.

Only one copy of Lonca runs at a time: opening it again brings the running one's window forward.

Updates

Lonca updates itself:

  • It checks for a new version half a minute after it starts, then every six hours.
  • A new version downloads in the background. The Settings gear in the title bar then shows a dot.
  • It installs when you quit Lonca, or at once with Settings → Updates → Restart to Update. Check for updates on the same tab checks now. When a check fails, the tab says so, and the reason is in the app log.

A restart for an update loses no work: agents run in tmux, so they keep working while Lonca is closed and are where they were when it opens again. An update can also change what config.yaml should say; the Configurator applies that before Lonca reads the file. See Updates and versions, which also explains why a profile cannot go back to an older release.

Where Lonca keeps its files

PathHolds
~/.config/lonca/config.yaml and its backups, prompt files, the database, the app log, encrypted credentials
~/.local/state/lonca/agent hooks and state, the leads’ conversations
<repo parent>/worktrees/<repo>/the task worktrees, next to each main checkout
~/.lonca/issues/each issue’s context folder (the default; the wizard asks)

The full list, and how secrets are stored, is on Data, privacy and security.