Repository navigation
Longshot runs long-horizon coding tasks on Sailboxes with Sail inference and OpenCode goal mode. This is an experimental side project; expect rough edges and monitor your runs and costs.
What's changed
- Use OpenCode 2.2.1's native goal mode, replacing the external goal plugin.
- Show goal updates, recent activity, and elapsed time in
longshot status. - Stream setup progress in a compact terminal display, with full output when piped.
- Export session files containing internal absolute symlinks, including Bun caches.
- Add a real demo and simplify the README.
Upgrading
Budget flags and the old goal plugin are no longer supported. Monitor inference and Sailbox costs in Sail. Existing runs created with the old plugin should be managed with their original Longshot binary; start a new run to use native goal mode.
Install
Prebuilt binaries are available for macOS and Linux on ARM64 and x64. No Bun installation is required.
curl -fsSL https://github.com/powerset-co/longshot/releases/latest/download/install.sh | shThe installer verifies the archive checksum and installs to ~/.local/bin. Set SAIL_API_KEY to start a run.