Add it when you need it

Web knowledge

Lets agents and chat search the public web and read pages, on each organisation’s own search key — and only for the organisations that turn it on.

Installing it

zsh — your app
pnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@web-knowledge-v3.17.0 --subdir plugins/web-knowledgepnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@web-knowledge-v3.17.0 --subdir plugins/web-knowledge --apply
The first prints the plan and stops; the second writes it.

Then generate and run its migration — pnpm db:generate --name plugin-web-knowledge-3.17.0 and pnpm db:migrate — and do the handful of steps the plan lists that a plugin may not do for you.

What it adds

  • Five providers — Tavily, Brave Search, Exa, Serper and Firecrawl. Each organisation picks one and brings its own key, so the provider bills the customer rather than you.
  • Two agent tools — web_search for ranked results with URLs, and fetch_page to read one page as text, a window at a time. An organisation without search turned on is never offered either, so a model is never shown a tool that could only fail.
  • A settings tab — Settings → Web search: choose the provider, paste the key, test it live, and the first key turns search on. Members see it read-only.
  • A sealed key — web_search_settings, one row per organisation with the same row-level-security policy as everything else. The key is encrypted at rest and never sent back to the browser.
  • Guard rails — fetch_page refuses localhost, IP addresses and private hostnames and checks every redirect again, and page text reaches the model marked as untrusted.
  • A command — rocketflare web-knowledge status, read-only, because a key does not belong in shell history.

Releases

  1. 3.17.0 2026-11-30

    fetch_page carries a source rule the kit judges and web_search records why its egress is acceptable, so the plugin passes kit 0.51.0's trifecta refusal; it now needs kit 0.51.0 or later. Porting note.

  2. 3.16.0 2026-11-28

    pnpm plugin check no longer warns that webTools is exported without definePublic. The plugin needs kit 0.48.0 or later. Porting note.

  3. 3.15.0 2026-11-28

    Web knowledge's tools answer egress and readsContent, so pnpm plugin check no longer warns about them, and the plugin needs kit 0.47.0 or later. Porting note.

  4. 3.14.0 2026-11-22

    Web knowledge registers its tools under tools instead of the deprecated agentTools, which pnpm plugin check warned about, and so needs kit 0.41.0 or later. Porting note.

  5. 3.13.3 2026-11-22

    No change to web-knowledge: this release carries the global-search and connectors test changes, and every plugin in this repository ships at one version. Porting note.

19 older releases
  1. 3.13.2 2026-11-21

    The web-knowledge manifest now carries a one-line description, which the kit's pnpm plugin list --available prints in place of the README's opening line. Porting note.

  2. 3.13.1 2026-11-21

    No change to web-knowledge: this release exists because the repository released analytics and every plugin here ships at the repository's version. Porting note.

  3. 3.13.0 2026-11-20

    No change to web-knowledge: this release exists because the repository released analytics and every plugin here ships at the repository's version. Porting note.

  4. 3.12.0 2026-11-11

    fetch_page now sends the URL it checked: a #fragment is dropped before the page is requested, so the request never carries text the reachable-URL check did not compare. Porting note.

  5. 3.11.0 2026-11-10

    fetch_page now reads a URL the person typed in chat or in an agent run's input, as well as the URLs web_search returned; it still refuses any URL the model composed. Porting note.

  6. 3.9.0 2026-11-09

    fetch_page now reads only URLs web_search returned in the same turn or run, and page text extraction is a bounded linear scan. Porting note.

  7. 3.8.2 2026-11-08

    No change to web-knowledge. This release exists because freeagent typechecks on kit 0.25.0 and later again, and every plugin here ships at the repository's version. Porting note.

  8. 3.8.1 2026-11-03

    No change to web-knowledge. This release exists because analytics scopes GET /api/analytics/facts/status to the caller's organisation, and every plugin here ships at the repository's version. Porting note.

  9. 3.8.0 2026-11-03

    No change to web-knowledge. This release exists because analytics moves to drizzle-cube 0.12.2 and compiles on React 19 with React Router 7, and every plugin here ships at the repository's version. Porting note.

  10. 3.7.0 2026-10-24

    No change to web-knowledge. This release exists because inbox splits forwarded-as-attachment email into messages of their own, and every plugin here ships at the repository's version. Porting note.

  11. 3.6.0 2026-10-24

    No change to web-knowledge: this release exists because inbox and freeagent ship for the first time, and every plugin here ships at the repository's version. Porting note.

  12. 3.5.1 2026-10-22

    No change to web-knowledge: this release exists because analytics raised its minKit to 0.17.1, and every plugin here ships at the repository's version. Porting note.

  13. 3.5.0 2026-10-22

    No change to web-knowledge: this release exists because issue-reports ships for the first time, and every plugin here ships at the repository's version. Porting note.

  14. 3.4.2 2026-09-30

    No change to web-knowledge: this release exists because analytics fixed a test that failed the kit's tenant-isolation scan, and every plugin here ships at the repository's version. Porting note.

  15. 3.4.1 2026-09-27

    No change to web-knowledge: this release exists because analytics needed a type fix to compile against kit 0.15.0's driver-neutral Database, and every plugin here ships at the repository's version. Porting note.

  16. 3.4.0 2026-09-27

    No change to web-knowledge: this release exists because analytics was made to work with both database drivers the kit may run, and every plugin here ships at the repository's version. Porting note.

  17. 3.3.0 2026-09-27

    No change to web-knowledge: this release exists because the repository added skills to connectors and analytics, and every plugin here ships at the repository's version. Porting note.

  18. 3.2.0 2026-09-26

    No change to web-knowledge: this release exists because the repository released connectors and m365 and every plugin here ships at the repository's version. Porting note.

  19. 3.1.0 2026-09-18

    The first release: web search for agents and chat on each organisation's own key (Tavily, Brave, Exa, Serper or Firecrawl), configured in Settings → Web search and offered only to tenants that turn it on. Porting note.

From the README

Synced from the plugin's README — the plugin's own documentation, kept in step with its repository.

An admin picks a search provider, saves the organisation’s key, tests it and turns it on. From then on that organisation’s chat turns and agent runs carry two more tools, web_search and fetch_page. No other organisation gets them, and the key never leaves the server.

What it adds

AreaWhat you get
UISettings → Web search: choose a provider, save and test a key, turn search on or off. Members see it read-only
Agent toolsweb_search (query → ranked results) and fetch_page (a URL → readable text, windowed to the run’s document budget), offered only while the organisation’s settings are enabled and hold a key
ProvidersTavily, Brave, Exa, Serper and Firecrawl
APIGET/PUT /api/web-knowledge/settings, POST /api/web-knowledge/settings/test
Dataweb_search_settings — one row per organisation, the key sealed with the kit’s encryption, row-level security
CLIrocketflare web-knowledge status [--json] (read-only — keys don’t belong in shell history)

Requirements

  • Rocketflare kit 0.51.0 or later (the kit judges fetch_page’s source rule, and refuses the trifecta).
  • OAUTH_ENCRYPTION_KEY set in the app (the kit’s key for sealing credentials). Without it, saving a key answers 503 encryption_key_missing.
  • An API key from one of the supported providers, per organisation. No other plugin, binding or secret.

Install

pnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@web-knowledge-v3.16.0 --subdir plugins/web-knowledge
pnpm plugin add https://github.com/rocketflare-dev/rocketflare-plugins.git@web-knowledge-v3.16.0 --subdir plugins/web-knowledge --apply
pnpm db:generate --name plugin-web-knowledge-3.4.0 && pnpm db:migrate

The first command prints the plan and stops; --apply installs.

First run

  1. Sign in as an owner or admin and open Settings → Web search.
  2. Choose a provider and paste the organisation’s key. The first key saved turns search on.
  3. Press Test — it always answers with a verdict (key_rejected, rate_limited, timeout…) rather than an error page.
  4. Ask the chat something that needs the web; the reply cites what web_search found.
  5. rocketflare web-knowledge status shows the provider, whether a key is stored and whether search is on.

Using it with your coding agent

There is no dedicated skill; the kit’s rf-plugin skill installs, upgrades and audits it. To add a provider, ask your agent — the plugin’s CLAUDE.md lists the three steps it takes.

Permissions and data

  • Owners and admins manage the settings; members and support read them.
  • Routes only ever answer hasCredential, never the key; the activity log records that a key was set, kept or cleared, never its value.
  • The key is decrypted only at the moment of the outbound call, inside the tool or the test route.
  • fetch_page carries a source rule the kit judges on every call: a URL the person wrote or web_search returned in the same run or chat runs; any other asks a person in an agent run and is refused in chat and through a connected (MCP) app. A link inside a page it read never counts, and a URL carrying a credential or a long opaque value is always refused.
  • web_search records why its egress is acceptable: the query goes to the provider the organisation configured, under its own key. The agent inventory shows the reason.
  • fetch_page refuses non-http(s) URLs, non-default ports, IP literals and local or private host names, re-checks every redirect, caps pages at 2 MB, and marks page text as untrusted for the model.

Known gaps

  • The URL guard checks names, not addresses: a public hostname that resolves to a private address gets through (a Worker has no DNS API). Deployed on Cloudflare a Worker cannot reach private space anyway; under wrangler dev it can.
  • No platform-wide fallback key, no quotas and no usage ledger — the provider bills the organisation’s key.
  • Without provider-side extraction (Brave, Serper), fetch_page cannot read pages rendered by JavaScript.

More