XScientist
Turn one idea into a Git-like research history that is inspectable, reproducible, and reversible — evidence you can audit end to end.
- Source repo
- smileformylove/XScientist
- Stars
- ★ 129
- Last updated
- 1mo ago v0.1.5
- FARS reviewed
- Nov 08, 2026
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 80/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A researcher with no model or API key who wants to record an idea as a falsifiable, versioned research start (explore, zero cost)
- Not a fit if
- Teams needing instantly verified scientific claims: it is alpha software whose outputs must pass evidence and review gates
- Users unwilling to run a Docker-isolated executor: generated experiment code never runs on the host
- Maintenance
- Commits in the last 6 monthslast commit 2026-11-01latest release v0.1.5 (2026-10-24)
- Source review
- 80/100 · Good
What does this agent do, and when should you use it?
XScientist is a local-first autonomous research system and open scientific protocol delivered as a CLI (the xscientist command) plus a Python SDK. It externalizes question framing, hypotheses, decisions, experiment attempts, evidence, objections, and gates as typed objects with content hashes, and versions them through a Git-like Research VCS that supports commit, diff, branch, merge, and revert of scientific meaning. It works with no model or API key at all (the explore command), with local Ollama models, or with hosted OpenAI, Anthropic, Zhipu, Bedrock, Vertex, and other OpenAI-compatible endpoints. Generated experiment code never runs silently on the host — it must execute in a configured Docker-isolated executor, and autonomous runs can be capped with --max-cost-usd. A completed run is only presented as a verified scientific claim when the trace, replay, and verify audit gates actually pass; otherwise output is labeled exploratory or a draft. The released version is 0.1.4 on PyPI; the main branch additionally carries unreleased protocol work that requires a source install with a pinned commit for reproducibility.
Users record an idea, expected observation, disconfirming result, and first test through xscientist explore's plain-language questions; the system forms a falsifiable hypothesis and versions the state as idea saved, falsifiable, or planned. xscientist start runs an autonomous study: proposing rival and null hypotheses, ranking experiments by expected information value, executing bounded experiments in the Docker executor while retaining failed and negative results, scanning anomalies and contradictions, running independent review roles, and stopping at hard gates. xscientist record, research decide, and research experiment write results as immutable, content-hashed evidence objects in checkpoints; history list/diff/rollback and audit --level trace/replay/verify provide inspection and reproduction. provider list/test/explain manage models and credential sources; research bundle/export/fsck, benchmark autoresearch, the FAR-inspired research opportunity funnel, and the belief-context projection (research belief) expose deeper protocol surfaces.
- A researcher with no model or API key who wants to record an idea as a falsifiable, versioned research start (explore, zero cost)
- Users running end-to-end autonomous studies on a local Ollama model (e.g. gemma3) with no hosted API cost
- Researchers with a hosted API key running a publication-oriented workflow via --autopilot publication --max-cost-usd 10
- Educators or reviewers demonstrating a complete but deliberately contested evidence history with the $0.00 demo
- Teams needing a fully auditable literature-to-open-problem path — candidate pool, attempts, independent judgment, and resource allocation (opportunity funnel commands)
- CI/scripts that pass question, provider, model, and budget explicitly with --non-interactive
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
OPENAI_API_KEYRUN_ID- Runtime
- Python 3.10+
- Install notes cover
- Docker
How do you install or deploy this agent?
Released 0.1.4 needs Python 3.10+ and Git. Install from PyPI:
python -m pip install "xscientist==0.1.4"For the unreleased protocol work on main, install from source — pin a commit for repeatable research:
python -m pip install "xscientist @ git+https://github.com/smileformylove/XScientist.git@main"For model features, install a provider extra, e.g. local Ollama:
python -m pip install \
"xscientist[research,openai-compatible] @ git+https://github.com/smileformylove/XScientist.git@main"Or a hosted service (extras: openai, anthropic, zhipu, bedrock, vertex, openai-compatible):
python -m pip install \
"xscientist[research,openai] @ git+https://github.com/smileformylove/XScientist.git@main"
export OPENAI_API_KEY="..."Model-backed experiments additionally require Docker.
How do you use this agent?
Zero-cost start (no model, key, Docker, or network call):
xscientist explore ./my-study
xscientist status ./my-studyOr record an idea non-interactively:
xscientist explore ./my-study \
--idea "Does daily walking improve sleep quality?" \
--expect "Daily walking improves a preregistered sleep score." \
--disprove "The score is unchanged or worse." \
--test "Compare walking and usual-activity periods." \
--non-interactiveSee the complete contested evidence history demo:
xscientist demo ./first-study --autopilot --open
xscientist status ./first-studyUse a local Ollama model:
ollama pull gemma3
ollama ls
xscientist provider list
xscientist start ./my-study --prepare-only
xscientist start ./my-studyUse a hosted model with a cost cap:
xscientist start ./hosted-study --prepare-only
xscientist start ./hosted-study --max-cost-usd 10Prepare the isolated executor and check readiness before model-backed experiments:
xscientist executor prepare --workspace ./ood-study
xscientist provider check --workspace ./ood-study --max-cost-usd 10
xscientist doctor --workspace ./ood-study --deepInspect and reproduce:
xscientist history list ./first-study
xscientist history diff ./first-study
xscientist audit ./first-study --level trace
xscientist audit ./first-study --level replay
xscientist audit ./first-study --level verifyLong-running background studies:
xscientist runs list --workspace ./ood-study
xscientist runs watch RUN_ID --workspace ./ood-studyIf GLM-5.3 resolves as the execution model, a separate --judgment-model (e.g. openai/gpt-4.1) is required for scientific-judgment roles, or start fails closed with a recovery command.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- data-flow disclosure
- sensitive-data handling
- rollback or recovery path
What are this agent's strengths and limitations?
- Research VCS versions scientific meaning — hypotheses, evidence, objections — as typed, hash-checked objects with diff, branch, and revert, not an opaque chat transcript
- The one-way trace → replay → verify audit ladder separates traceable, reproducible, and independently verified claims; failed and negative results stay visible
- Model-agnostic: Ollama local models plus OpenAI, Anthropic, Zhipu, Bedrock, Vertex, and OpenAI-compatible endpoints, with credentials kept in a protected .env or process environment
- Generated code runs only in a configured Docker-isolated executor, with --max-cost-usd caps and fail-closed behavior on unknown model pricing
- Explicitly alpha research software, not an oracle; autonomous runs may incur paid model costs
- A version boundary exists between the PyPI release (0.1.4) and unreleased protocol work on main; repeatable research requires pinning a source commit
- Model-backed experiments require Docker and a version-matched executor image; atomic plot publication needs POSIX fcntl and fails with no fallback on unsupported platforms
- The publication autopilot explicitly promises no manuscript completion, scientific verification, venue submission, or acceptance; full autonomous use requires learning profiles (balanced/discovery/publication) and gate concepts
How does this agent compare with similar options?
The README's system-comparison matrix names full research agents such as ScientistOne, AI Scientist v2, DeepScientist, and AI-Researcher, plus references like FAR (Find–Attempt–Recommend), JevGPT, and AutoResearchEval. XScientist's stated differentiation is its Git-like inspectable evidence history and trace/replay/verify audit gates rather than matching those systems' benchmark scores. The repository ships xscientist benchmark systems to generate a source-audited local comparison matrix, hard-coding official_comparable: false and score_claim_allowed: false.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| XScientist This agent | 80 · Good | CLIFree + model costs | ★ 129 | 1mo ago | Python | OpenAI API · Claude API |
| Station Research Environment | 57 · Major gaps | CLIFree + model costs | ★ 222 | 1mo ago | Python | — |
| SciPIvot Research Judgment Benchmark | 51 · Major gaps | CLI | ★ 17 | 1mo ago | Python | — |
| Autonomous Agents Research Papers | 24 · Major gaps | Library / SDKFree | ★ 1.4k | 5mo ago | — | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The documentation describes local-first workspaces, no automatic remote Git push, credentials kept in the process environment or a restricted ignored .env file, and fixed-shape local metrics. Provider explanation omits secret and endpoint values; search receipts omit raw web bodies. Initialization rollback is limited to unchanged files created by that invocation and preserves concurrent content. These support strong data-flow, sensitive-data, and rollback scores. Permissions still depend on the runtime environment; web search, model calls, Docker execution, and possible charges are configuration-triggered, while the packet does not show a complete permission model, so least privilege, confirmation, and external-effects scores are reduced. Provenance includes hashes, object IDs, and source/time information, but the packet cannot substantiate every citation path.
The CLI, docs, and packaging configuration describe a release/development boundary, preparation checks, and explicit budgets. However, the README combines extensive unreleased protocol material with the published release, and the packet does not establish complete documentation-to-implementation consistency. Optional provider extras, FFmpeg/ffprobe, Docker, and POSIX fcntl requirements are documented, but availability still depends on the environment. A safe argument parser and structured blocked-preparation states show some failure handling; the supplied CLI excerpt cannot establish consistent, adequate messages across every entry point.
The packet covers model-free onboarding, hosted and local models, web and video evidence, and research or publication-oriented workflows, while stating that scientific verification and acceptance are not promised. Tasks, providers, budgets, executors, and specialist dependencies can be selected as needed. The CLI and audience scenarios are broad, but some protocols are development-only and the conditions that trigger autonomous behavior and the unified boundaries across the full product remain partly documentation-led, so those criteria are not full marks.
The README, bilingual getting-started guides, configuration reference, and topic guides are clearly organized; installation instructions distinguish PyPI 0.1.5 from development builds, and examples cover several main paths. Limitations such as alpha status, possible model charges, Docker isolation, FFmpeg, and POSIX requirements are explicit. An Apache-2.0 LICENSE is present, but pyproject declares Apache-2.0 AND MIT and release material mentions third-party licensing; the packet lacks the complete basis for reconciling those terms, so the license score is partial. The release boundary is clear, but no changelog content is included in the packet. The contributor field is generic, and no verified publisher identity, named maintainer, or support commitment is shown, reducing maintenance responsibility.
Status output, JSON contracts, prioritized next actions, reviewable checkpoints, hashed objects, timestamped video observations, and preserved contrary evidence can produce usable records for human review or automation. The offline starting path is inexpensive, and budgets or local models can constrain spending. Full research still requires compute, Docker, external providers, or optional media tools, and generated claims do not become scientifically verified automatically, so cost-benefit is not full marks.
The docs describe content hashes, object relations, checkpoint history, source receipts, and video frame timestamps and hashes; they explicitly label machine-generated claims unverified and distinguish protocol records from scientific conclusions. The README, getting-started guides, configuration reference, and CLI/pyproject excerpts partly corroborate installation, provider, and boundary claims. The packet is not a complete implementation or test review, and some capabilities appear only as documentation claims, which limits cross-source corroboration.
- The project identifies itself as alpha. The README presents PyPI 0.1.5 alongside unreleased main-branch protocols; pin a source commit when using development features.
- Web search, hosted models, and generated-code execution may involve external services, charges, and isolation requirements. Check provider settings and budgets first, and treat machine-generated results as unverified.
- The license metadata needs reconciliation: the repository LICENSE is Apache-2.0 while pyproject declares Apache-2.0 AND MIT. The supplied material does not establish the complete distribution licensing basis.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.1.5 XScientist v0.1.5
Release notes excerpt
[0.1.5] - 2026-10-24 Added - Added auditable web and video discovery through Brave, YouTube, Semantic Scholar, and optional self-hosted SearXNG providers. Search plans and receipts preserve canonical URLs, hashes, provider ranks, pagination, and failure state without storing raw web bodies or credentials. - Added a deliberately small first-research path: explore records the question, record saves one experiment plus its observed result and optional immutable artifact, and status returns one next action. The recorder keeps …View on GitHub ↗ -
Release notes excerpt
[0.1.2] - 2026-08-17 Added - A one-command, provider-free xscientist demo that creates a deterministic Research VCS history with a failed attempt, supporting and refuting evidence, an independent rejection, a contested claim, and an offline DAG for $0. - A compact, read-only xscientist status view for scientific progress, automated run state, budget use, results, the evidence DAG, and the next valid action. - xscientist provider check now reports credential presence, client availability, live-verification scope, and optional cost-enforcement …View on GitHub ↗ -
Release notes excerpt
[0.1.1] - 2026-08-08 Added - Unified xscientist setup, doctor, and capability commands with task-aware readiness checks and exact opt-in installation guidance. - Deterministic xscientist research decide policy for checkpoint, fork, merge, hold, and release transitions, including stable decision identifiers and explicit trace requirements. - Payload-free long-term research technology trees spanning every local research line, with topology, frontier, cycle, and missing-reference views. - Stable scientific merge-conflict identifiers, actionable resolution …View on GitHub ↗
FAQ
What can I do with no model and no API key?
How much will autonomous runs cost?
Is generated experiment code safe to run?
Does it guarantee a publishable paper?
What is the difference between the stable release and main?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.