@parallel-web/opencode-plugin
v1.0.1
Published
OpenCode plugin that replaces webfetch and websearch with Parallel CLI
Maintainers
Readme
@parallel-web/opencode-plugin
OpenCode plugin that adds parallel-search and parallel-fetch tools powered by Parallel Web through parallel-cli.
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
Installation
1. Add the plugin to your OpenCode config
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@parallel-web/opencode-plugin"]
}2. Authenticate
Option A: Parallel CLI login (recommended)
- Run
opencode auth login - Select "Parallel" → "Login with Parallel CLI" OR Input API key from platform.parallel.ai
- Complete authorization in your browser/device flow
Option B: Environment variable
export PARALLEL_API_KEY=your_api_keyGet your API key at platform.parallel.ai.
The plugin invokes parallel-cli under the hood for both tools.
Tools
| Tool | Description |
| ----------------- | --------------------------------------------------- |
| parallel-search | Web search with high-quality, LLM-optimized results |
| parallel-fetch | Intelligent content extraction from any URL |
Example parallel-search
Search for the latest developments in AI safety researchExample parallel-fetch
Fetch https://docs.parallel.ai/api-referenceLicense
MIT
