How to run OpenCode remotely from Slack
Use Pipa Local to send work to OpenCode from Slack while away from the computer where it runs, with clear local-runtime limits.
Posted by
Related reading
How to schedule OpenCode work to Slack
Schedule timezone-aware OpenCode work with Pipa Local routines and deliver the result to a Slack channel or thread.
How to fix an OpenCode Slack agent that is not replying
Troubleshoot a Pipa-controlled OpenCode agent in Slack: check access control, app setup, the local runtime, and same-thread requests.
How to set up Slack allowlists for OpenCode
Control which Slack users and channels can send requests to OpenCode with Pipa. Set user and channel allowlists during pipa init.
To run OpenCode remotely from Slack, use Pipa Local on the computer where OpenCode already runs. The OpenCode runtime stays on that computer; Slack is the remote control and the same thread holds the result.
The local runtime boundary
Pipa Local runs on your computer rather than on a hosted runtime. Keep pipa start running and the computer awake so Slack can reach OpenCode.
How the remote connection works
Your phone or browser
↓ Slack thread
Pipa Local on your computer
↓ local OpenCode server
Your configured working folder- OpenCode and Pipa run on your computer.
- You mention Pipa in an allowed Slack channel.
- Pipa routes the request to its local OpenCode server in the configured working folder.
- Pipa returns the answer, file, or pull request to the same Slack thread.
A newer message in the same thread replaces an active turn. Separate Slack threads can run at the same time.
Set up the computer once
Install Pipa where you want OpenCode to work, then connect it to Slack. The full OpenCode Slack setup guide covers Slack credentials, the working folder, and your first request.
npm install -g @usepipa/pipa cd /path/to/your/project pipa init pipa start
Send work from Slack
Invite the Pipa app to a channel allowed during setup, then mention it with a small, specific request. Continue in that thread when you want OpenCode to use the context from the first response.
@your-agent Review the open pull request and list the riskiest changes. @your-agent Now turn the first finding into a focused test.
Keep remote access limited to people you trust
Set channel and user allowlists in pipa init. Pipa only handles a request when both are allowed. Read the OpenCode Slack allowlist guide before adding the app to a shared workspace.
What to do when you need scheduled work
Remote access is for work you start from Slack. For recurring work, save a local routine that delivers to an exact channel or thread. It has the same awake-machine boundary.
Schedule OpenCode work to Slack shows the available schedule formats and preview command.
When Pipa Local is not the right fit
Pipa Local does not keep a machine online for you. If you need a company agent that Lunch Pail Labs hosts and maintains, use Pipa Managed. For a local setup, start with the OpenCode Slack integration.