The AI simulation scientist: a method CLI and MCP server that drives stochadex projects through the discovery-and-warrant loop.
pip install robert-ai==0.3.0 Copy PIP instructions
The AI scientific research developer powered by simulations.
robert is the method layer of an AI simulation scientist. It packages what a simulation scientist does as tools that any coding agent can call, and it leaves the simulation itself to stochadex. The agent does the implementation, and the experienced user supplies judgment where the work is new. Every point where the user had to step in is logged.
It is built to test one claim: how far can simulation science be automated? The design doc has the full argument.
The user asks questions; robert answers them. Each question is an experiment (experiments/E###.yaml): the question, robert's answer, every assumption the answer rests on (the user's, and robert's own build choices), the evidence behind every number, and follow-up questions robert suggests. A follow-up taken up becomes the next experiment, and the chain of experiments is the context robert builds on for deeper questions. Every answer also states the strongest case against itself, lists every analysis tried, and reports on the project's standing questions, which are the channel for surprises nobody thought to ask about. robert decides implementation choices itself, states its operationalisation choices where you can contest them, and asks what you believe about the world only when an answer depends on it.
The discovery-and-warrant loop below is how robert earns each answer.
flowchart LR pose --> conjecture --> confront --> test test -- fails --> discover --> confront test -- holds --> compress --> test compress --> warrant --> query --> revise --> pose Step Writes Gate before moving on init repo skeleton, domain.yaml Domain interview complete pose claim.yaml Question, claim, intended use and conditions named conjecture model/partitions.yaml, lineage root stochadex --check; twice-run harness; a role and hypothesis per partition; observables mapped; input licences confront ledger/beliefs.jsonl Posterior converged; weak identifiability flagged test tests.yaml verdicts Every structural partition passed; a backtest ran discover a variant in model/lineage.yaml Beats its parent on held-out prediction; ladder rule for learned partitions compress a smaller variant Claim metric unchanged within tolerance; generalisation warrant ledger/warrants.jsonl Current variant tested and passed; limits stated query queries/ .yaml The warrant reaches the mode's rung revise revise.yaml Monitors watch partitions and name their action The supporting commands are run, graph, plot, status, explain, intervene and doctor. Every command is also an MCP tool with the same arguments, so a project driven through chat leaves the same trail as one driven by hand.
curl -fsSL https://raw.githubusercontent.com/umbralcalc/robert/main/install.sh | sh The installer puts the robert-ai package in an isolated tool environment, using uv if you have it, then pipx, and otherwise it installs uv first. It then runs robert setup, which:
Run robert doctor at any time to check the toolchain. Re-running robert setup repairs or upgrades the install, and robert setup --accelerated swaps in the BLAS + DuckDB build of stochadex. Set ROBERT_VERSION=0.2.0 to install a specific release, or ROBERT_NO_AGENTS=1 to skip agent registration.
Until the first PyPI release is out, install from GitHub instead:
robert needs stochadex v0.24 or later: it renders the partition graph with stochadex graph, and checks its skills against stochadex catalogue, the JSON list of everything a build can run.
robert setup already registers Claude Code and Cursor. To do it by hand:
Every project that robert init creates also contains its own .mcp.json, .cursor/mcp.json, AGENTS.md and .devcontainer/, so any agent opened in it finds the tools.
The skills in skills/ are the single source of method content. After you edit one, run robert adapters to regenerate the Cursor rules, AGENTS.md and the plugin manifest. CI fails if they drift.
Versions follow SemVer, pre-1.0, so a minor bump may break the CLI, the tool schemas or the file contracts. CHANGELOG.md has the policy. robert/__init__.py holds the only version number; the package, the plugin manifests and every project's recorded skills version all read it.
To release, run the Prepare release PR workflow with the new version. It turns the [Unreleased] changelog section into the release and bumps the version. Review and merge that PR. tag-release.yml then tags the merge commit, and release.yml tests and publishes:
examples/logistic-growth/walkthrough.sh /tmp/logistic-demo This runs the whole loop against real stochadex runs:
pip install -e '.[dev]' robert setup --no-agents pytest The loop and recipe tests skip when no supported stochadex is installed.
All 2 files in this release have provenance metadata.
simulation stochadex scientific-method mcp agents
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




