OpenCode API client for Haskell

Haskell bindings for SDK | OpenCode

There is a nix run’able example in the repo:

# First, run the opencode web UI or the headless server
opencode web --port 4096

# Run the example
cd opencode-haskell/
nix run .#example -- localhost:4096

Result: