XScientist

Turn one idea into a Git-like research history that is inspectable, reproducible, and reversible — evidence you can audit end to end.

Stars
★ 129
Last updated
1mo ago v0.1.5
FARS reviewed
Nov 08, 2026
License
Apache-2.0
Primary language
Python

At a glance

How it runs
CLILibrary / SDK
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
Python 3.10+GitDocker (for generated-code execution)Ollama (optional, local models)Shell / CLINetwork accessLocal filesystem
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.

  1. A researcher with no model or API key who wants to record an idea as a falsifiable, versioned research start (explore, zero cost)
  2. Users running end-to-end autonomous studies on a local Ollama model (e.g. gemma3) with no hosted API cost
  3. Researchers with a hosted API key running a publication-oriented workflow via --autopilot publication --max-cost-usd 10
  4. Educators or reviewers demonstrating a complete but deliberately contested evidence history with the $0.00 demo
  5. Teams needing a fully auditable literature-to-open-problem path — candidate pool, attempts, independent judgment, and resource allocation (opportunity funnel commands)
  6. 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_KEY RUN_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-study

Or 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-interactive

See the complete contested evidence history demo:

xscientist demo ./first-study --autopilot --open
xscientist status ./first-study

Use a local Ollama model:

ollama pull gemma3
ollama ls
xscientist provider list
xscientist start ./my-study --prepare-only
xscientist start ./my-study

Use a hosted model with a cost cap:

xscientist start ./hosted-study --prepare-only
xscientist start ./hosted-study --max-cost-usd 10

Prepare 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 --deep

Inspect 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 verify

Long-running background studies:

xscientist runs list --workspace ./ood-study
xscientist runs watch RUN_ID --workspace ./ood-study

If 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure
  • sensitive-data handling
  • rollback or recovery path

What are this agent's strengths and limitations?

Pros
  • 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
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Good
80/ 100 5-point scale 4.0 / 5
Trust 23/29
Reliability 9/14
Adaptability 15/18
Convention 14/18
Effectiveness 12/13
Verifiability 7/8
Why each dimension lost points
Trust23 / 29 · 4.0/5

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.

Reliability9 / 14 · 3.2/5

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.

Adaptability15 / 18 · 4.2/5

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.

Convention14 / 18 · 3.9/5

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.

Effectiveness12 / 13 · 4.6/5

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.

Verifiability7 / 8 · 4.4/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 11f320c3cc06
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/xscientist.svg)](https://followagents.com/en/agents/xscientist)
<a href="https://followagents.com/en/agents/xscientist"><img src="https://followagents.com/badge/xscientist.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 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 ↗
  2. v0.1.2
    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 ↗
  3. v0.1.1
    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?
The explore command records your idea, expected observation, disconfirming result, and first test via plain-language questions — zero cost, no network call — and versions the start as falsifiable. The demo is also $0.00.
How much will autonomous runs cost?
A local Ollama model has no hosted API cost but consumes your machine's compute; hosted models are billed by the provider, capped via --max-cost-usd with fail-closed on unknown pricing. Offline paths like explore, demo, and benchmark autoresearch cost $0.
Is generated experiment code safe to run?
Model-generated experiment code never runs silently in the host Python process; it must execute in a configured Docker-isolated executor. Note that the reproduction command's isolation is variables-only — the host filesystem and network remain visible, and the receipt records isolated=false and filesystem=host_visible.
Does it guarantee a publishable paper?
No. The publication autopilot organizes research, writeup, and review gates but explicitly promises no manuscript completion, scientific verification, venue submission, or acceptance. Only claims passing trace/replay/verify plus an independent signed verifier count as verified.
What is the difference between the stable release and main?
PyPI 0.1.4 covers the basic paths (explore/status/demo). Main also contains unreleased protocol work (research trajectory, belief, rollout, etc.) requiring a source install. Development builds identify as 0.1.5.dev0 so they cannot mistakenly reuse a 0.1.4 executor image; pin a specific commit for repeatable research.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts