Skip to content

v0.1.0

Choose a tag to compare

@ewen-poch ewen-poch released this 10 Jul 10:59
22d6208

Open Science v0.1.0

First public build. Open Science is now a real, runnable desktop app: create a project, hand a multi-step analysis to an agent, watch every tool call it makes, preview the artifacts it produces, and resume the whole session tomorrow — entirely self-hosted, on your own machine.

Open Science is an open-source, model-agnostic AI workbench for scientific discovery. It runs as a self-hosted desktop application that pairs a plan-and-execute agent with a persistent, sandboxed Python compute kernel and durable project/session storage — so a researcher gets back not just an answer, but the code, execution record, and artifacts that produced it.

This is an early Phase 1 build. It proves the core loop end-to-end; the model-agnostic gateway, provenance chain, and skills commons are still ahead on the Roadmap.

✨ Highlights

  • Plan → execute → review, in one window. An agent runtime built on the Agent Client Protocol plans steps, runs them, and reflects — with every tool call shown as a typed activity row (code diff, code block, web search, …) in the transcript.
  • A real compute kernel, not just chat. One persistent Python process per notebook session, bridged over stdin/stdout, with per-run history and write-locking so concurrent runs can't corrupt state.
  • Artifacts you can see without leaving the app. Native renderers for CSV, FASTA, HTML, image, JSON, Markdown, and plain text, plus a read-only notebook preview showing code and output side by side.
  • Projects and sessions that survive a restart. Prisma + SQLite for projects; per-project, per-file session storage on disk; a manifest restores your last-open project/session, and reopening restores full conversation and execution history.
  • Human-in-the-loop by construction. A permission broker intercepts higher-risk tool calls and pauses for explicit approval before anything runs.

🚀 New Features

  • Project layer — Prisma + SQLite Project model with full CRUD over IPC (projects:create/list/get/update/delete) and a home page listing all projects plus the five most recent sessions across them.
  • Per-project session storage — sessions at sessions/<projectId>/<sessionId>.json, migrated idempotently from the legacy single-file format on first run; a save bridge diffs the in-memory store against disk so only changed sessions are written.
  • Artifacts MCP server — an in-process open-science-artifacts server exposes a write_artifact_file tool the agent calls with inline content or a local path; artifacts are namespaced by project / session / message / run.
  • File attachments — uploads are threaded into the agent's prompt context.
  • Preview workbench — a dedicated pane hosting all file renderers and the notebook preview.

Build from source instead:

npm install
npm run build:mac   # or: npm run build:linux

See README → Building From Source.

🧭 What's in this release (maturity)

Aligned with the PRD and Roadmap:

  • ✅ Implemented: desktop shell (Electron + React + TS, shadcn/Radix); ACP single-agent runtime with typed tool-activity rows; permission broker; one persistent Python kernel with replayable run history; project + session persistence; artifacts MCP server; seven file renderers + notebook preview.
  • 🚧 Partial: the agent runtime is a single-backend implementation of the intended model-agnostic core.
  • 🗺️ Roadmap (not in this build): model-agnostic gateway, CLI/SDK entry point, file-based skill runtime (rest of Phase 1); artifact versioning + provenance chain, additional kernels (R), specialist sub-agents (Phase 2); connectors, remote compute, and the security stack (Phase 3–4).

🐢 Known Limitations

  • Single model backend. The model-agnostic gateway is open Phase 1 work — this build talks to one backend.
  • No provenance chain / artifact versioning yet. Reproducibility beyond the per-run notebook history lands in Phase 2.
  • Reproducibility is best-effort. Exact dependency/environment pinning is not captured automatically yet.
  • macOS & Linux only. Windows packaging is scaffolded but on hold until it's built and smoke-tested.
  • No multi-user / real-time collaboration. Sharing is via export/import.

🙏 Acknowledgements

Thanks to @ewen-poch and everyone in Discord, X, and Discussions helping shape the founding direction.


What's Changed

New Contributors

Full Changelog: https://github.com/aipoch/open-science/commits/v0.1.0