resnyn GitHub

MCP research harness · zero model calls

Research your agent can prove.

resnyn runs next to Claude Code, Codex or any MCP agent. Your agent does the thinking. resnyn makes every claim carry a verbatim quote, checks that quote against the stored source, and records the whole run so anyone can replay it.

  • No API keys
  • Quote-verified claims
  • Replayable runs
add_claim · run 20261124-trust-radius
d1 · NIST SP 800-207, Zero Trust Architecture

The “implicit trust zone” represents an area where all the entities are trusted to at least the level of the last PDP/PEP gateway. For example, consider the passenger screening model in an airport. All passengers pass through the airport security checkpoint (PDP/PEP) to access the boarding gates.

Quote submitted by the agent

waiting for quote
arXivOpenAlexCrossrefSemantic ScholarPDFsWeb pagesLocal filesStack Exchange APIYour agent's web search

The 20-second version

Paraphrase in, rejection out.
Exact words in, claim stored.

Animated demo: an agent's paraphrased quote is rejected and the exact quote from NIST SP 800-207 is verified. One real run: 15 sources, 28 claims, quote validity 1.0, zero model calls. Every run replays: 76 of 76 calls, ledger matches.

The problem

Research agents write fluently.
Proving it is the hard part.

3–13%

of cited URLs are invented

Deep research agents cite links that were never retrieved. resnyn only accepts evidence from documents it actually stored.

arXiv 2604.03173
<55%

judge accuracy on evidence

The best LLM judges miss most injected failures in research traces. So resnyn re-checks quotes itself, deterministically, and keeps that apart from the agent's own verdicts.

REFLECT, arXiv 2605.19196
Early

stopping is the default

Agents stop when the answer sounds done, not when the evidence is. resnyn gates writing on per-section sufficiency.

“Don't Stop Early”, arXiv 2604.24978

How it works

Your agent reasons.
resnyn keeps the evidence.

The host agent plans, reads, judges and writes on its own model. resnyn stores what it read, checks every quote, gates the write-up and renders the report. Nothing ever calls back to a model.

  1. 01

    Plan

    The question becomes an outline of sub-questions, with the user's hard constraints recorded alongside it.

    start_runset_outline
  2. 02

    Gather

    Keyless scholarly search and fetch. Full text is stored, never truncated. A blocked page names who blocked it and the legitimate next route, never a disguised request.

    search_papersfetchadd_sourcesearch_past_runs
  3. 03

    Ground

    BM25 finds exact passages. A claim is stored only if each quote really occurs in the source: exact, or after folding case, typography and whitespace. Never paraphrase.

    find_passagesadd_claim
  4. 04

    Judge

    The agent rules each claim supported, partial or unsupported, with a reason. Gaps become open questions instead of guesses.

    record_verdictadd_open_question
  5. 05

    Gate

    Writing waits until every section has enough supported claims from independent sources, then each section is written from its own evidence.

    check_sufficiencyget_section_evidence
  6. 06

    Report

    A dry run flags uncited sentences first. The final report quotes its evidence in every footnote and states its own quality line.

    finish_runresnyn render

Case study

One real run, end to end.

Claude Code researched “What is Trust Radius for AI and agentic systems?” through resnyn: zero-trust standards, the MCP security spec, prompt-injection and multi-agent attack papers. Every number below comes from the run's own ledger.

report.html

Trust Radius in AI and Agentic Systems

Limits enforced outside the model — scoped permissions, separate authorization, control-flow isolation — contain trust spread far better than prompt-level guardrails or detection.[1][2]

[1]

supported · “even a fully compromised agent cannot invoke tools outside its infrastructure-enforced role scope” — Beyond Single-Model Injection, arXiv 2609.22949

Read the full report
28

claims, each with a checked quote

23 supported · 5 partial · 0 unsupported
1.0

quote validity, re-checked by resnyn eval

independent of the agent's own verdicts
15

primary sources across 5 domains

NIST · OWASP · MCP spec · arXiv · practitioner
terminal
$ resnyn replay 20261124-194459-trust-radius
Replayed 76 of 76 recorded calls offline.
The rebuilt ledger matches the run.

$ resnyn eval 20261124-194459-trust-radius
quote validity   1.0
supported        0.821
partial          0.179
unsupported      0
open questions · 4

“No standard, paper or spec in this run defines it; the definition in this report is a synthesis.”

The report says what it couldn't establish instead of filling gaps from memory.

What's inside

A harness, not another agent.

Zero model calls

No sampling, no model keys. Reasoning stays on your agent's own plan; resnyn adds nothing to the bill.

Deterministic quote check

Quotes map back to exact character offsets in the stored text. Paraphrases are rejected.

Safe by default

SSRF checks on every redirect hop. Third-party text is fenced as untrusted before your agent sees it.

Honest access

Blocked by Cloudflare or a CAPTCHA? resnyn says so and points to an official API, an open-access copy or your own browser.

Replay & eval

Every call is traced. Replay offline from the fetch cache; score runs, compare playbooks or hosts side by side.

Memory that cites

Reuse verified claims and sources from past runs, re-fetched into the new run, never copied as summaries.

Five playbooks

iterative, survey, fact_check, literature_review and compare, served as MCP prompts.

Reports anywhere

Markdown, JSON, HTML, PDF, Word and Notion, all built from the same claim-linked structure.

Research-informed

Every feature cites its paper.

resnyn is built from what the evaluation literature says research agents get wrong. Each roadmap item names the system or paper that motivated it.

  • Sufficiency gateDon't Stop Early · arXiv 2604.24978
  • Section-by-section writingWebWeaver · arXiv 2509.13312
  • Verifiable claimsVeriScore
  • Stance & one-sidednessDeepTRACE
  • ContradictionsPaperQA2
  • Support rateSAFE · F1@K
  • Partial-rate metricDeepWeb-Bench · arXiv 2605.21482
  • Checked vs. self-reportedREFLECT · arXiv 2605.19196

Get started

Two commands. No keys.

Install resnyn, register it with your agent, then ask your agent to research something with the iterative playbook.

$ pip install "resnyn[pdf,extract] @ git+https://github.com/akankshyam07/resnyn"
$ claude mcp add resnyn -- resnyn-mcp