~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
const assert = require('node:assert/strict');
const { test: nodeTest } = require('node:test');
const { isProviderUsageLimitReport } = require('../research_failure');
const message = 'The LLM provider cannot process this request within its current billing or usage limits.';
nodeTest('recognizes authored provider-limit guidance on the results page', () => {
assert.equal(isProviderUsageLimitReport(`\n⚠️ Research Failed\nError Type: LLM Service Error\nWhat happened: ${message}`, message), true);
});
nodeTest('keeps unrelated failures and provider prose as failures', () => {
for (const report of [
'⚠️ Research Failed\nUnexpected Error',
'⚠️ Research Failed\nProvider error 402: payment required',
`Research Failedness\n${message}`,
'⚠️ Research Failed\nPlease review billing or usage limits.',
]) {
assert.equal(isProviderUsageLimitReport(report, message), false);
}
});
nodeTest('does not skip healthy output or missing results', () => {
for (const report of [message, `Synthetic report\n${message}`, '', null, undefined]) {
assert.equal(isProviderUsageLimitReport(report, message), false);
}
});
nodeTest('requires confirmation from the server error metadata', () => {
const report = `⚠️ Research Failed\nWhat happened: ${message}`;
for (const serverMessage of [null, undefined, '', 'Unrelated failure', `${message} Additional detail`]) {
assert.equal(isProviderUsageLimitReport(report, serverMessage), false);
}
});