Get it for macOS

Put web research in every agent's hands and keep what it found in a per-thread Research tab you can read, quote and cite. web_search, web_fetch, web_map, web_extract, web_crawl and web_diff run as bb's own tools for every provider, with routing profiles, domain and date filters, bounded limits and every partial failure in words. Replies carry citation cards that quote the exact kept lines a claim rests on, and Check in sources matches any message against the pages stored for that thread. A zero-turn CLI runs the same operations; private networks are blocked by default and keyless DuckDuckGo and Exa search need no account.


Overview

View source

Forage gives every BB agent six web-research tools, durable scoped evidence and a CLI that uses no model turns. Requires BB 0.47 or newer.

Research tools

  • web_search: up to eight queries, domain/date filters, provider profiles and fair host-diverse content reads.
  • web_fetch: up to ten URLs, readable or exact textual raw mode, independent direct/GitHub-smart resolution, passage search and outline/link/line/focus views.
  • web_map: bounded sitemap, robots, llms.txt and HTML discovery with provenance.
  • web_extract: deterministic metadata, headings, links, tables and JSON-LD. No hidden AI extraction.
  • web_crawl: persistent start/status/list/cancel/resume jobs with page, depth, byte, time and concurrency limits.
  • web_diff: immutable snapshot comparison or a fresh URL against stored evidence.

Content is captured before formatting. Continue with snapshotId, contentHash and UTF-16 offset for immutable paging. URL-only paging may download again after cache expiry. Every batch failure and partial limit is visible; output is capped at 32,000 characters.

Research in each thread

A Research tab in each thread shows what the agent and you looked up: searches with the results seen, pages read, crawls against their limits, and problems in words. Read kept text, compare versions, quote lines into your message, check a reply against kept pages, and search or crawl yourself with no model turn. Replies can carry citation cards. The thread menu sets web research per thread: Docs, Fresh, Private or Off. The Research page lists threads with research, plus health and storage.

The activity log keeps queries and results for 30 days; clear it per thread or turn it off. Source IDs stay in their thread unless shared with the project.

Default retention is 30 days for thread content, 180 days for project content and 128 MiB retained content. Active-job snapshots are protected. Storage refusal never produces a fictional source ID. Missed deletions are recovered by scope checks; archived threads are kept.

Privacy and providers

Keyless DuckDuckGo and Exa work without credentials. Optional Brave, Exa account, SearXNG and Tavily search, explicit Tavily/Firecrawl/Jina readers, and an explicit Firecrawl crawl backend respect configured ceilings. Keys do not automatically enable paid fallback.

Profiles: auto, fast, fresh, docs, private and deep. Private allows configured SearXNG search, direct readers and local crawl only; it makes no guarantee about SearXNG's upstream engines. Per-call arguments cannot widen setting-level privacy.

Private networks are blocked by default and each direct redirect is revalidated and DNS-pinned. Local private-network permission is not permission to forward URLs to a cloud reader. Remote URLs are screened before forwarding; vendor-side redirects cannot be DNS-pinned locally.

Restricted same-thread capture is OFF by default, cannot be project-promoted, and needs explicit thread selection for export. Disabling it revokes reads. Credentials/headers/cookies are never persisted. Sensitive URL checks are conservative heuristics, not a general secret detector. Scope isolation does not protect SQLite from a local user or shell-capable agent.

CLI and diagnostics

bb forage search|fetch|map|extract|diff and crawl start|status|list|cancel|resume take explicit --project/--thread IDs and strict --input JSON. Tools and CLI share one runtime, repository, job service and diagnostic ring.

Sources commands: list, show, export, delete and prune. Destructive commands require exact confirmation tokens; export returns a local-auth download route, not a server file path.

status and diagnostics show redacted in-memory records (maximum 200, 24 hours), never query/URL/content/credential values. clear clears process caches. doctor is offline unless --live explicitly enables bounded keyless probes. bench runs a bundled local corpus without network access.

See the README for every parameter and limit.

More from Kalindu De Costa

BurnSee what every agent thread costs in dollars while it runs, per prompt and across all your threads. A chip beside the context circle shows the thread's total and what the last prompt added; click it for where the money went, a chart of every model call and the total with child threads. The Burn tab in the side panel lists the cost of each prompt, and a Burn page in bb's navigation charts spend across threads by day, project, model and harness. Budgets notify you at 80% and 100% of a thread's budget, and stop a run only if you turn that on. Works with pi, OpenCode, Codex, Claude Code and any harness that reports usage to bb; where a harness records no cost, Burn estimates it from list prices and marks it with ~.304FlareLet an agent tell you what it found while it is still working, not only in the message that ends its turn. Agents get a `flare` tool and send a finding, a decision, a progress or status update, a blocker or a summary; the newest one shows in a banner above the message box, and the thread's Flares tab keeps them all, drawn the way bb draws a reply, so an agent can answer with a chart, a diagram, a table or a snippet instead of describing it. Blockers, and flares the agent marks urgent, send a push notification, so alerts reach you while the work carries on. A child thread's flares appear in its parent's tab, and a child's blocker reaches the parent's agent as a note without starting a turn. The tool returns at once, so the agent never waits, and `bb flare send` works from a terminal or another agent.NewLoomHand a goal to agents and keep the decisions. A planner turns it into a spec with tickets, acceptance criteria, checks and a merge plan, and a separate agent reviews the spec before you approve it. Workers then build each ticket in its own git worktree, Loom runs your checks, and reviewers on another model approve the work or send findings back. Approved work merges into an integration branch you land as one pull request, or opens as one pull request per ticket that Loom follows through CI. A full-screen Loom page shows what needs you, the board, every attempt and review, the changes before they land, insights on how the project went and a timeline you can rewind.NewSession LogCheck what an agent actually ran, changed and decided, in one live log beside the chat. Messages, thinking, commands with their output and exit codes, tool calls, file diffs and subagent steps appear in timeline order, with a timestamp on every row and a duration on every command. The log follows new output as it arrives, opens failed commands by default, and filters to messages, thinking, tools or errors. Search covers the whole session, and single keys jump between rows, replies and errors. Open it with Mod+Shift+L or from the thread header; it reads bb's timeline and keeps no copy of the thread.New

More in Thread Content 92

Change what people see or do inside an open thread.

View all
Generative UITurns agent replies into charts, diagrams, maps, plans and forms you can use, right in the chat. Agents choose from 86 components on their own, with no setup: sliders and filters recompute in the page, and buttons, choices and forms put your answers in your message, which reaches the agent when you send it. Test reports, logs, lint errors and coverage files render as their own components instead of pasted text, and a thread's changes, commits, pull request and workers are read live from BB. Adds about 6,400 tokens of instructions to sessions whose replies you read, and looks up photos, places and map tiles on Wikimedia Commons, Wikipedia, Photon and OpenStreetMap unless you turn web lookups off. Relies on BB internals, so a BB update can show the blocks as code until the plugin catches up.ComicBit916
Agent TracesSee where your agents' time goes, from every thread down to each command, tool call, and subagent of a turn. A turn opens as a timeline that splits the agent's time into waiting on you, tools, subagents, thinking, writing, and model time, and it grows live while the agent works. Select a call to see its exit code, output, and arguments, or jump to the reply that followed it in the chat. A Traces page in the sidebar compares your recent threads by active time, calls, and errors, and two turns can be compared phase by phase. Turns export as OpenTelemetry or an HTML snapshot, and the bb agent-traces command gives agents the same answers. Traces come from the thread history on your bb server; an OpenTelemetry collector is optional.Nicolas Charpentier295