OpenCode plugin that adds parallel-search and parallel-fetch tools powered by Parallel Web's Search and Extract APIs.
Why use Parallel tools?
- More accurate and relevant search results
- Intelligent content extraction that understands page structure
- Extended excerpts optimized for LLM context windows
- Faster and more reliable than built-in alternatives
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@parallel-web/opencode-plugin"]
}Option A: Browser login (recommended)
- Run
opencode auth login - Select "Parallel" → "Login with Parallel (browser)"
- Complete authorization in your browser; the plugin stores the resulting API key in OpenCode's auth store.
Or pick "Enter API Key manually" to paste a key from platform.parallel.ai.
Option B: Environment variable
export PARALLEL_API_KEY=your_api_keyGet your API key at platform.parallel.ai.
| Tool | Description |
|---|---|
parallel-search |
Web search with high-quality, LLM-optimized results |
parallel-fetch |
Intelligent content extraction from any URL |
Search for the latest developments in AI safety research
Fetch https://docs.parallel.ai/api-reference
OpenCode auto-loads plugins from ~/.config/opencode/plugins/, so you can test
local changes by building the package and pointing that directory at the build
output with a symlink:
# from the repo root
pnpm build
ln -sfn "$(pwd)/packages/opencode-plugin/dist" ~/.config/opencode/pluginsThat leaves ~/.config/opencode/plugins as a symlink to the plugin's dist/:
plugins@ -> /Users/you/Software/parallel-npm-packages/packages/opencode-plugin/dist/
Restart opencode and the plugin loads at startup. Each pnpm build is picked
up on the next restart.
MIT