Skip to content

ohmaseclaro/lathe-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

lathe

Terminal-first autonomous developer. Plans, builds, reviews, runs QA, and self-repairs sprints over the Cursor Agent SDK.

This is the public distribution channel — every release ships precompiled, verified binaries here. The source code lives privately; the binary you install is built from a private repo and uploaded here by an automated release pipeline.

Install

curl -fsSL https://github.com/ohmaseclaro/lathe-cli/releases/latest/download/install.sh | bash

Or via Homebrew (macOS):

brew install ohmaseclaro/lathe/lathe

Or via npm:

npm install -g @lathe-cli/lathe

First-run setup

After installation:

lathe setup

This prompts for your Cursor API key (https://cursor.com/dashboard/integrations, starts with crsr_) and your OpenAI API key (https://platform.openai.com/api-keys, starts with sk-), then installs graphify (used for codebase awareness; auto-installed via uv/pipx/pip). Both keys land in ~/Library/Application Support/lathe/setup.json (macOS) or ~/.cache/lathe/setup.json (Linux), chmod 0600.

Quickstart

cd path/to/your/project
lathe          # opens the unified prompt landing

Type your goal. lathe plans, asks clarifying questions if needed, surfaces the plan for approval, then executes sprints with reviewer + QA gates.

Diagnostics

lathe doctor   # binary integrity, PATH, keys, network, update state

Updates

lathe auto-checks for newer releases on the configured channel (latest by default; stable is ~1 week behind). The check runs in the background; updates apply on next launch.

Disable knobs:

Env var Effect
DISABLE_AUTOUPDATER=1 Skip background check; staged updates still apply
DISABLE_UPDATES=1 Skip background check, skip apply, block lathe update
AUTODEV_INSTALL_BASE_URL=... Override manifest origin (testing)

Explicit update:

lathe update

Verifying a download

Every release includes per-binary .sha256 sidecar files and a manifest.json listing canonical SHA256 + URL for each platform. Releases that have a GPG signing key configured also ship manifest.json.sig; the installer verifies it against a fingerprint pinned at install time.

PLAT=darwin-arm64
URL=$(curl -fsSL https://github.com/ohmaseclaro/lathe-cli/releases/latest/download/manifest.json | jq -r ".platforms.\"$PLAT\".url")
SHA=$(curl -fsSL https://github.com/ohmaseclaro/lathe-cli/releases/latest/download/manifest.json | jq -r ".platforms.\"$PLAT\".checksum" | sed 's/^sha256://')
curl -fL -o lathe "$URL"
[ "$(shasum -a 256 lathe | awk '{print $1}')" = "$SHA" ] && echo OK

Platforms

Platform Support
macOS arm64
macOS x64
Linux arm64
Linux x64
Windows 🚧 deferred — use WSL2

Issues

Issue tracker: https://github.com/ohmaseclaro/lathe-cli/issues

(The source repo is private. Bug reports here will be triaged and any necessary code changes happen on the private side, with the fix landing in the next release.)

License

Closed-source distribution. Binaries are free to use with your own API keys. See LICENSE in this repo for the binary distribution terms.

About

Public distribution channel for lathe CLI (binaries + install.sh). Source lives privately at ohmaseclaro/lathe.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors