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
What tools can you use to run scheduled tasks in OpenCode?
Compare cron jobs, the opencode-scheduler plugin, and Pipa for OpenCode scheduled tasks. Choose how to schedule work, receive results, and follow up.
How to automate your daily business brief to Slack
Read your connected tools each morning and send a brief with priorities, blockers, and sources to Slack.
How to monitor competitors with OpenCode and Slack
Tell your agent which competitors to watch, test the brief once, and get cited updates in Slack every morning.
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.