Web app¶
ssift opens SourceSift as a page in your browser (ssift web is the same
command). It is the whole interface: saved conversations, answers with citations,
and artifacts you can keep and export.
$ ssift
SourceSift is running at http://127.0.0.1:51023/#…
Press Ctrl+C to stop.
The page opens in your default browser. The server stops with Ctrl+C.
| Option | Effect |
|---|---|
--port N |
Listen on a fixed port; by default a free one is chosen |
--no-browser |
Print the link without opening a browser |
--no-save |
Keep conversations in memory only; by default each is saved |
--continue, -c |
Open the most recently saved conversation first |
--model |
OpenRouter model ID, overriding SOURCESIFT_MODEL and the configuration |
--reasoning-effort |
Reasoning effort, where the model supports it |
--config |
A TOML configuration file |
The page¶
The page has three parts.
Conversations, on the left. Every saved conversation, newest first, with the number of artifacts it holds. Click one to reopen it. Hover a row to rename or delete it; deleting asks once more, then removes the conversation and its artifact files. New chat starts a conversation with every source enabled. On a narrow window the list hides behind the ☰ button.
The chat, in the middle.
- A new chat opens on the news page.
- Enter sends; Shift+Enter adds a line; the send button becomes Stop while a turn runs.
- While the agent works, the turn shows what it is doing, one step per lookup ("Searching research papers", "Checking NPR, BBC News"). Each step expands to show its parameters and what came back. When the answer arrives the list folds into one line, such as "3 steps · 10s".
- Each numbered citation chip opens a preview beside it: the source's title and link, its publisher, kind, dates, any limitations, and the opening of the text that was read (for a paper, of its abstract). Show in evidence opens the Evidence panel at that reference; Escape or a click elsewhere closes the preview. The line under an answer ("2 sources · 1 note") expands to the same references and the answer's notes.
- Copy puts the answer's Markdown on the clipboard. Keep as artifact turns the answer into an artifact.
- Sources lets you browse the catalog and choose which sources this chat may use. Evidence lists everything retrieved in this chat.
The side pane, on the right. It opens for an artifact, the evidence list, or the source list, and closes with Close.
The news page¶
A new chat shows recent science, health, and technology stories from 21 outlets, grouped when several outlets report the same story. Building the list calls no model.
- In several outlets lists the stories carried by more than one outlet, the most widely carried first. Latest lists everything, newest first.
- Each story shows the outlets reporting it; an outlet's name opens its report in a new tab.
- Compare coverage and research starts the chat on that story: the agent reads one report from each outlet (up to five), says what they agree on and where they differ, then searches the research literature and says how the story's claims relate to it. A story from one outlet offers Check against research instead. The chat is named after the story.
- The question that is sent holds only outlet names and links, never a headline, so an outlet's wording cannot pass as your instruction.
- Outlets that allow only their feed to be read (The New York Times, Science) are listed and linked but not read.
- You can also ask in the chat, for example "what are outlets saying about the asteroid images, and do they agree?". The agent scans the same list, reads the reports it needs, and compares them.
- Refresh reads the feeds again; otherwise the list is reused for ten minutes.
A run of this kind is longer than an ordinary question: one tested story with five outlets took about a minute and 27,000 input tokens.
Artifacts¶
An artifact is a document that lasts beyond one answer: a briefing, a report, a comparison. Ask for one ("write a report on…") and the model writes it; ask for a change ("make it shorter") and the model revises the same artifact, which gains a version number. Earlier versions are kept: the pane's version menu shows any of them, and the card in the chat opens the version that turn wrote. Copy works on the version shown; Download and Export use the latest. An artifact cites evidence as an answer does. A conversation holds up to 12.
The pane shows the artifact with its notes and the references it cites, and offers:
| Action | Result |
|---|---|
| Copy | The artifact's Markdown on the clipboard |
| Download | A zip with the artifact's Quarto file (.qmd), and its references with their citation style |
| Export as… | A web page, PDF, Word document, or slides |
Export as… appears only when Quarto is installed on your computer, because
Quarto does the conversion. SourceSift does not need it for anything else. The
.qmd file opens as Markdown in any editor, and you can render it yourself
later with quarto render. See artifact files for
what the folder contains and why rendering it runs no code.
Saved conversations¶
Each conversation is saved after every completed turn, in its own folder in the sessions directory. The folder also holds the conversation's artifacts as files, updated whenever one changes. A saved conversation contains your prompts, the answers, and retrieved text, so the folder is readable only by you.
Reloading the page keeps the open conversation. Start with --no-save to keep
conversations in memory only; they are gone when the server stops, and the list
on the left stays empty.
Access and privacy¶
The server is for one person on one computer.
- It listens on the loopback address
127.0.0.1only, so other devices on your network cannot reach it. - The printed link ends in a random token for this launch. The page sends it with every request, and requests without it are refused. Treat the link like a password while the server is running.
- Requests must name the server's own address and, when the browser reports where a request came from, that must be the page itself. This stops other websites open in your browser from using the server.
- The page loads nothing from other hosts: no scripts, styles, fonts, or images. Raw HTML in a model's answer is shown as text, and no images are shown.
- Prompts and retrieved text still go to the configured model through OpenRouter.
Not yet in the page¶
Model and reasoning choices are set when starting the server. Files cannot be attached.
When something fails¶
Set OPENROUTER_API_KEY in the environment and choose a model before starting.
A model failure is shown in the chat with the HTTP status and OpenRouter's own
short message, for example (HTTP 404: No endpoints found for …); provider
failures and rate limits are not retried. An invalid option, configuration
file, or busy port stops the command with a message and exit code 2. Do not put
API keys in prompts or committed configuration.