Multiple input modes
Inline text, file prompts, piped stdin, clipboard, or built-in examples — pick whichever fits.
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.
Inline text, file prompts, piped stdin, clipboard, or built-in examples — pick whichever fits.
Predictable output, structured JSON, and non-interactive mode for automation pipelines.
Routes through OpenCode so your models, tools, and config stay consistent everywhere.
# 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 Run a request inline, from a prompt file, or from a built-in example.
Use the same command in local dev, scripts, and CI with deterministic output options.
In TTY terminals, openlap hands off to interactive OpenCode to keep momentum.