AI Automation / 2026

Scientific Research Assistant

A research workflow system built around explicit project state. The command-line core routes requests to specialist capabilities and gates consequential decisions; the web edition brings the workflow into an account-gated browser workspace.

The problem

Research is a chain of dependent decisions. A topic becomes a question, the question implies a design, the design fixes the variables and the analysis, and the analysis has to be defensible for that method.

Generative tools tend to jump to prose, producing a polished document resting on a method nobody agreed to. Traceability is the second failure: a reference that cannot be verified is indistinguishable from a real one, and an assumption made during drafting starts to look like an established fact.

System objective

Model the research lifecycle as application state rather than as a prompt, so quality follows from structure instead of from how a request was phrased, and so a researcher can see, approve and reverse every consequential decision.

  • Never fabricate. Where a value cannot be determined, the system records a placeholder or marks it unavailable rather than inventing a plausible one.
  • Consequential fields change only through an approved decision, enforced in code rather than by instruction.
  • Every state change is a committed version with a timestamp, an actor and a reason.
  • Degrade honestly. An unavailable evidence source or reasoning model is labelled as such, never silently substituted.

Who it is for

Built for people carrying a structured research obligation, from independent researchers to small research teams, who need the method, evidence and writing to stay consistent.

  • Framing a researchable question from a broad topic using an appropriate question framework.
  • Selecting and justifying a study design, population, sampling approach and sample size.
  • Building an evidence base from verified references rather than plausible-looking ones.
  • Keeping consequential decisions visible, approved and reversible.
  • Drafting and exporting the resulting document once the quality gate passes.

System architecture

The command-line core is pure Python 3.10+ using the standard library, with optional extras for richer document output. A project is a plain folder that can be opened, copied or backed up. There is no database and no server.

An explicit router sends a plain-language request to one of eleven specialist capabilities covering research framing, evidence, statistics, writing, citation, review, validation and document generation. Each capability declares which fields it may write, and reasoning, evidence and document rendering sit behind swappable provider interfaces.

The web edition is a Next.js App Router application with Tailwind CSS and a versioned route-handler API. The workspace is organised as a guided research chat, a structured project record and a toolkit of individual instruments, behind an account gate and an admin console.

  • Approval gate. Consequential fields such as the research question, aim, objectives, study design, primary outcome and sample size are proposed and explained, then applied only when a decision is approved. Rejecting leaves the previous value intact.
  • Versioned project state. Every change is committed as an immutable version snapshot, with an append-only audit trail recording timestamp, actor and reason, and any two versions can be compared.
  • Evidence with verification. Literature search returns candidates, and an identifier is verified against its source before a reference may be treated as authoritative.
  • Deterministic statistics. Sample-size and power calculations are computed rather than estimated and stored as declared assumptions.
  • Quality gate. Documents are only written when no critical review finding is open and the project is coherent. Producing them anyway is possible but recorded as forced.

Key features

  • Study as versioned stateThe project holds an explicit record of the question, design, population, variables, outcomes, sampling, analysis plan, evidence, assumptions and limitations, with immutable snapshots and an append-only audit trail.
  • Approval gate on consequential fieldsStudy design, aim, objectives, primary outcome, sample size and variables are proposed and explained, then applied only through an approved decision. The gate is enforced in the state layer.
  • Anti-fabrication as a design ruleUnverifiable citations are marked unverified, and the system states not available rather than producing a plausible reference.
  • Verified evidence retrievalEvidence search returns candidates, and identifiers are verified against their source before a reference is treated as authoritative.
  • Deterministic statisticsSample-size and power calculations are computed rather than estimated and stored as declared assumptions, so the basis of a number in the document is inspectable.
  • Quality gate before documentsDocuments are only written when no critical review finding is open and the project is coherent. Producing them anyway is possible but is recorded on the document as forced.
  • Account-gated web workspaceThe browser edition brings the workflow into a guided workspace, with the structured project record, toolkit and admin console behind authentication.

How a study progresses

  1. 01 / Create the projectLevel, mode, discipline, context
  2. 02 / Open a sessionInteractive or one-shot request
  3. 03 / Route the requestLongest-match capability trigger
  4. 04 / Propose a decisionExplanation, never a silent write
  5. 05 / Approve the decisionRecorded against the project state
  6. 06 / Commit a versionTimestamp, actor and reason
  7. 07 / Retrieve evidenceSearch, verify, mark unverified
  8. 08 / Compute the analysis planSample size and power
  9. 09 / Pass the quality gateNo open critical findings
  10. 10 / Export the documentMarkdown, Word or PDF

How it was built

The central decision was to make integrity a property of the software rather than advice in a prompt, because a prompt-level instruction is exactly what fails when the user is in a hurry.

  • Standard library first. The command-line core runs on Python's standard library alone, so it has no install-time dependency and cannot break because a transitive package moved.
  • Authority declared in code. Each capability states the fields it may write, and the state layer independently refuses a consequential write that has no approved decision behind it.
  • Routing order is explicit and tested: meta commands, then capture, then longest keyword match, so behaviour does not change when a new trigger phrase is added.
  • Providers behind interfaces. Reasoning, evidence, documents and statistics are swappable, and each degrades to a labelled, honest fallback instead of a guessed answer.
  • Hermetic tests. The suite covers state, decisions, capture, routing, review, statistics, validation and safety, and runs offline so a network failure cannot mask a logic failure.
  • Account-gated by design. The public entry point is the account gate, so research data is not exposed to anonymous visitors.

Challenges and decisions

The hardest problem was making integrity enforceable in software rather than advisory in a prompt.

  • No database and no server for the command-line core. A project is a folder of files, which means it can be opened, copied, compared and backed up.
  • Documents are gated, not merely warned about. The export path refuses to run while critical findings are open, so an indefensible document cannot be produced by ignoring a message.
  • Offline is a supported mode. The system is usable without a reasoning model or an evidence feed, degrading to placeholders rather than inventing content.
  • The web edition keeps the same rule: consequential decisions are visible, approved and reversible, and the workspace is not exposed without an account.

Current status

The command-line system is working and covered by a test suite that runs offline. All eleven capabilities are implemented behind the router, with the approval gate, versioning, audit trail, evidence verification, deterministic statistics and document export in place.

The web edition is deployed behind an account gate, with email and password access, an admin console and the structured workspace. No user counts, adoption figures or research outcomes are claimed.

The screenshots and admin map reflect the shipped surfaces. No user or research data is shown.

Delivery status

  • CompleteCommand-line project folder, manifest and state model
  • CompleteCapability router with ordered triggers
  • CompleteEleven specialist capabilities
  • CompleteApproval gate on consequential fields
  • CompleteImmutable versions and audit trail
  • CompleteEvidence retrieval and reference verification
  • CompleteDeterministic sample-size and power engine
  • CompleteCritical review and quality gate
  • CompleteDocument export to Markdown, Word and PDF
  • CompleteOffline hermetic test suite
  • CompleteNext.js web edition and account gate
  • CompleteEmail/password auth and account access
  • CompleteAdmin console for users, access and operations
  • CompleteStructured web workspace and toolkit

Operations surface

Admin console

An account and access console for operating the web edition, with the workspace itself kept behind authentication.

Modules
Users / Invitations and access / Subscriptions / Revenue / Security / System health / Support / AI operations / Feature analytics / Settings
  • Account-gated workspace
  • Role-aware access controls
  • Operational views for users and system health

Reconstructed from verified admin-console routes. No user or research data is shown.