How to Use Exa similar web pages in opencode
Exa similar web pages finds pages related to a supplied URL, with optional page text, highlights, or generated summaries. Use it to expand a useful article, research paper, or company website into a shortlist of related sources.
Prompts to try with Exa similar web pages in opencode
Copy an example into opencode, or ask in your own words.
Use Exa similar web pages with https://www.anthropic.com/engineering/building-effective-agents to find 10 related pages. Add a reading list with URLs and supporting excerpts to docs/agent-research.md.
Use Exa similar web pages with https://arxiv.org/abs/1706.03762 to find related research pages. Draft a bibliography in research/transformers.md using returned titles, URLs, and summaries.
Use Exa similar web pages with https://www.postman.com/ to find 10 related product pages. Draft a comparison note in docs/api-tool-options.md using only capabilities supported by returned text.
Use Exa similar web pages with https://www.algolia.com/ to find related company websites. Create research/search-vendors.md with each URL and a short summary of its returned page text.
Use Exa similar web pages with https://react.dev/learn to find related learning resources. Review their excerpts and suggest five links for our project's contributor guide.
How to set up Exa similar web pages in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Exa similar web pages
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "exa", "model": "exa/findSimilar", "input": { "url": "<url>" } }'
Then paste one of the prompts above: opencode finds Exa similar web pages on Spiral, shows the price and runs it.
Exa similar web pages providers and prices
Spiral runs Exa similar web pages through Exa. Open a card for today's price, with every fee included.
$0.0052 per search with 10 results. Each result after 10: $0.0013. Summaries: $0.0013 per result.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Category | company, publication, news, personal site, financial report, or people | A data category to focus on. Other strings are accepted and used as category hints. | |
| Number of results | 1 to 100 | 10 | Number of results to return. Limits vary by search type. The maximum public limit is 100 results. Contact [email protected] to discuss higher limits. |
| Exclude source domain | on or off | If true, results from the same domain as the source url are excluded. |
Every API field of Exa Find Similar · Similar Pages is on its tool page: open its card above.
What can you do with Exa similar web pages in opencode?
Build a related-reading list for your project's documentation from a useful public article. A coding agent can use Exa's returned pages and excerpts to draft additions to your research notes.
Build a competitor shortlist
Start with a company website such as https://www.algolia.com/ and review related company pages. Use the returned text to identify candidates worth comparing.
Expand a paper reading list
Use https://arxiv.org/abs/1706.03762 as a starting point for related reading. Review the returned pages and excerpts before adding papers to a literature review.
Find more sources for an article
Start with a useful technical article and collect related pages. Compare their extracted passages to choose sources that add evidence or a different explanation.
Compare developer tools
Start with https://www.postman.com/ and review related product pages. Build a comparison brief from the capabilities described in returned page text.
Prepare a newsletter reading queue
Use a strong article such as https://www.anthropic.com/engineering/building-effective-agents to discover related material. Select useful pages from their titles, excerpts, and summaries.
Suggest further reading
Use an article's URL to find related pages for a further-reading section. Review each candidate's text for relevance before recommending it.
More on Exa similar web pages and opencode
Overview
Exa similar web pages in other agents
Questions about Exa similar web pages in opencode
Can opencode use Exa similar web pages?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Exa similar web pages like any built-in tool.
How much does Exa similar web pages cost in opencode?
$0.0052 per search with 10 results. Each result after 10: $0.0013. Summaries: $0.0013 per result. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Exa account to use Exa similar web pages in opencode?
No. Spiral runs Exa similar web pages on its own Exa account. You sign in to Spiral once and never paste a key.
How long does it take to set up Exa similar web pages in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Exa similar web pages runs?
Exa similar web pages runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What does Exa use to find related pages?
Find Similar starts with a supplied URL and finds similar pages. That makes a specific article, paper, or company page a useful starting point for discovering related sources.
How often does Exa refresh its pages?
Exa discovers and refreshes pages continuously. Refresh timing varies by source and how often the page changes, so there is no single refresh interval for every website.
Can Exa retrieve content behind a login or paywall?
Exa's crawler does not attempt to bypass logins, paywalls, or CAPTCHAs. Its public web index should not be treated as access to restricted content.
Are Exa highlights copied from the page or written by AI?
Highlights are extracted passages from the result page, selected for relevance. Exa summaries are generated with a language model.
Does Exa always return a newly fetched copy?
Exa supports cached content as well as live retrieval. Its content freshness control can request a copy fetched within the last 60 seconds.
Start using Exa similar web pages in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


