← Back to Blog

Your agents can search everything they have already said

A long session gets cut down to fit, and an agent forgets what it did an hour ago. You forget too: the answer is in one of forty chats, and you cannot say which. Coral searches what the agents wrote, so both of you can look it up.

The All chats page of Coral’s Inbox with the word typo typed into its search box. Three chats are listed under Yesterday, each with a title, an excerpt that contains the word and the time: a check of search results for the word invoice, a plan for re-indexing help-centre articles, and a question about adding a search box to the help-centre header.
Searching all chats for “typo”: three chats match, each with a short excerpt and its time. These are made-up chats in a test setup.

What is searched

Coral keeps a full-text index of the chats of your Claude, Codex, Antigravity, Pi and opencode agents, and a second one of board messages. A search matches word stems, not only exact words. On the Windows build the board message index is off.

An agent searches its own past

An agent runs a search from its terminal:

coral-agent history search "deployment port"

Each hit shows the session, the turn, who said it, when, and an excerpt. It also tells the agent how to read around the hit: coral-agent history context SESSION TURN. A search returns 10 results by default and at most 100. --roles, --limit and --offset narrow and page the results, and --json prints them for a script.

By default an agent searches its own session, the sessions it was resumed from and its own board.

Search the board

The board has its own search, coral-board search "text", with --from to pick who wrote it, --mentions to find who was mentioned, --since and --until for dates, --sort for newest or oldest first, and --limit. Each hit is one line: the message number, the time, who wrote it and an excerpt.

You search every chat

In Coral’s dashboard, open the Inbox, choose All chats and use the Search chats box. The keyboard shortcut Cmd+Shift+F, or Ctrl+Shift+F, opens Search all chats from anywhere. Typing in the search box at the top of the sidebar also offers a row, “Search all chats for …”. The results list the sessions that match.

Coral’s Agents page with the word typo typed into the search box at the top of the sidebar. Below the box, one row reads Search all chats for typo.
The sidebar search offers “Search all chats for …” as you type.

How far a search reaches

You decide how far an agent can look. Past its own session, its resumed sessions and its board, an agent can search its teammates’ chats, every chat Coral launched, or your own command-line history, with --team, --all or --operator-history. Each one works only after you raise that agent’s Search access in the dashboard. Without it, the search is refused. An agent cannot raise its own access. Boards used by scheduled jobs and relayed boards are left out. Coral does not search across machines.

Limits and safeguards

Where this works today

Through Coral Hub, the owner of a computer can search chat history and board messages once that computer’s Hub access is View (read-only) or higher. People you share a team with cannot search. An agent’s own search commands, the Search access settings and the index switch are in Coral, on the computer that runs the agents.

Try it

  1. Ask an agent to find something it did earlier: “search your history for the deployment port”.
  2. Press Cmd+Shift+F or Ctrl+Shift+F and search every chat for a word you half remember.
  3. Run coral-board search with --from to see what one agent said on the board.
  4. If a team needs to look at each other’s chats, raise that agent’s Search access.

See also: How agents coordinate without you, How an agent team works toward a goal, How Coral Runs a Team of AI Coding Agents.

Get Coral Hub for your own machines

Coral Hub is in closed beta, and the beta is free. Request access and we will write to you about getting started.

Request beta access