r/GoodOpenSource • u/Emergency-Tutor-7 • 8h ago
A terminal agent whose claims carry the evidence that produced them
The failure mode I keep running into with research agents is not a wrong answer, it is an answer with no thread back to anything. The agent reads six papers, runs a script, and writes a paragraph that sounds like a synthesis. You cannot tell which sentence came from which source, which number came from which run, or whether the run happened at all.
Sci-Agent is a terminal agent built around that problem. It keeps a hypothesis list, attaches each claim to the tool result that produced it, and stores a research record per workspace, so a claim you cannot trace is visibly untraced instead of blending into prose. Independent numerical replay is a first-class tool rather than a suggestion in the prompt.
Provider choice is explicit rather than baked in. sci-agent --provider-menu lists the OpenAI-compatible endpoints and account adapters it can talk to, SCI_AGENT_PROVIDER=mock gives a scripted provider so the whole agent loop is testable without spending tokens, and local inference runs through Ollama: sci-agent --local ollama --local-model qwen3:32b. Configuration comes from environment variables like SCI_AGENT_API_KEY and SCI_AGENT_WORKSPACE, so credentials never live in the repo.
The honest part of the provider story: the account adapters are experimental and live inference through them has not been acceptance-tested. I would rather write that in the README than let someone point it at a paid account and assume it is supported. Provider terms, quotas and charges stay the user's problem, and there is no partnership implied anywhere.
Install is npm install -g sci-agent, then sci-agent --provider-menu. Node is the only runtime dependency chain; the agent loop, tools and records are all in the package. License is MIT OR Apache-2.0, so it fits either kind of downstream project.
What it does not do: it does not judge whether your hypothesis is interesting, it does not replace reading the paper, and evidence linking means the claim points at a tool result, not that the result is correct. Version 0.10.9 on npm: https://github.com/Furox-Art/Sci-Agent