Lap the request.
Ship the result.

A lightweight CLI wrapper for OpenCode. Run prompts inline, from files, or from built-in examples, then continue in interactive OpenCode when you want to iterate.

$ curl -fsSL https://openlap.dev/install.sh | bash
Copied to clipboard!

Multiple input modes

Inline text, file prompts, piped stdin, clipboard, or built-in examples — pick whichever fits.

Script & CI ready

Predictable output, structured JSON, and non-interactive mode for automation pipelines.

OpenCode native

Routes through OpenCode so your models, tools, and config stay consistent everywhere.

Get started in seconds

# run a prompt inline
openlap "Review this repository for launch readiness"

# run from a file with extra instructions
openlap --file ./prompt.md --instruction "Prioritize docs and onboarding"

# use built-in examples
openlap --list-examples
openlap --example explain

# pipe input
echo "Audit security config" | openlap

# CI-safe one-shot JSON output
openlap --no-interactive --output-format json-final --file ./prompt.md

How it works

1. Capture request

Run a request inline, from a prompt file, or from a built-in example.

2. Run anywhere

Use the same command in local dev, scripts, and CI with deterministic output options.

3. Continue iterating

In TTY terminals, openlap hands off to interactive OpenCode to keep momentum.