Quick Start
This path has one goal: get you to a first inspectable ScienceDiscovery task as quickly as possible.
When you finish, you should be able to:
- open ScienceDiscovery;
- configure a working task model;
- make the Agent actually run a Python calculation;
- inspect the Markdown artifact it delivers in the workspace.
1. Start ScienceDiscovery on your system
Linux: use the prepackaged binary
For glibc-based Linux on x86_64 or aarch64, this is the shortest path. The release binary requires glibc 2.28+ and does not run directly on Alpine Linux or other musl-based distributions.
You need:
- an API key for a supported model provider;
- Bubblewrap for isolated code execution.
Install Bubblewrap first:
sudo apt-get install -y bubblewrap # Debian / Ubuntu
# Or: sudo dnf install -y bubblewrap # Fedora / RHEL / openEuler
Then download the ScienceDiscovery executable for your architecture from the Releases page and rename it to ScienceDiscovery.
From the directory containing the file, run:
chmod +x ./ScienceDiscovery
./ScienceDiscovery serve
macOS: use local source mode
Both macOS x64 and arm64 are supported on macOS 13+. There is no prepackaged single-file macOS binary, so this first-run path uses local source mode. The sandbox uses the built-in Seatbelt mechanism; Bubblewrap is not required. For the experimental Docker path on macOS, see the deployment guide.
Make sure the machine has:
- Node.js 22.19+;
- pnpm 11.1.2;
python33.9+;- uv 0.9+;
- Git;
- curl;
- an API key for a supported model provider.
Then run:
git clone https://github.com/openJiuwen-ai/sciencediscovery.git
cd sciencediscovery
scripts/jiuwenswarm.sh setup
./scripts/start-stack.sh --mode local
This starts JiuwenSwarm by default. See Agent backends for its behavior and the native option.
The first run installs and builds the required components, so it needs network access and takes longer than later starts.
After the project has already been built, later starts can use:
./scripts/start-stack.sh --mode local --no-build
Windows: use WSL 2 or Docker (experimental)
Agent behavior on all Windows installation paths has not been fully validated.
Run the Linux binary or local source mode inside a WSL 2 Linux distribution. Or follow the Docker deployment steps using Linux containers. Once the service starts, continue below.
After startup
On all three systems, a successful startup prints an Open to sign in URL
in the terminal or Docker logs. Open it in your browser to enter ScienceDiscovery.
For binary and local source mode, keep the startup terminal running. Closing it or pressing Ctrl-C stops the service. Docker runs in the background.
If no sign-in URL appears, the browser cannot connect, or startup reports an error, see binary and source troubleshooting or the Docker FAQ, as appropriate.
For Docker, air-gapped environments, Linux source builds, and complete deployment details, see the deployment guide.
2. Configure a model
Open System settings → Model registry:
- choose a preset provider or add one manually;
- enter the provider details and API key;
- select Save & connect;
- confirm the connection test passes and choose a Global default task model.
The key here is your model provider API key. If the connection test fails, first check the API key, provider URL, model ID, and network connection.
3. Run your first scientific task
Create a Project and Session, then paste the complete task below into the message box:
Complete a minimal data-analysis task and deliver the result as an inspectable scientific artifact.
Data:
temperature_c,yield_g
20,41
22,45
24,49
26,52
28,54
30,53
32,49
34,43
Requirements:
1. Save the data as temperature_yield.csv.
2. You must actually run Python for the calculations; do not estimate the numbers only in the reply.
3. Calculate the mean yield, the temperature with the highest yield, and the Pearson correlation between temperature_c and yield_g.
4. Briefly interpret the result and note that this small dataset alone cannot establish causality.
5. Write the complete analysis to first-analysis.md and declare it as an artifact.
6. In the final reply, explicitly name the artifact file.
If the first code execution asks for permission, review and approve the action, then let the task continue.
The goal is not a sophisticated scientific conclusion. It is to verify the smallest useful ScienceDiscovery loop: understand the task → run a tool → create files → deliver an artifact.
4. Confirm that it worked
Your first run is successful when all four are true:
- the task has finished and no longer appears as running;
- the timeline shows an actual code execution;
-
first-analysis.mdappears in the workspace; - opening the artifact shows values produced by the calculation and a short interpretation.
Different models may phrase the report differently. That is expected; what matters here is that the tool actually ran and the artifact was created.
5. Where to go next
- To understand what ScienceDiscovery can do, see Core capabilities.
- To follow complete real research examples, see Domain guides.
- For a concrete optimization walkthrough, see Use PUCT to optimize a text compression algorithm.
- To use Docker, build from source, or troubleshoot startup, see the deployment guide.