SciTeX Documentation
SciTeX is a modular Python toolkit for research automation. It provides a unified interface across the full scientific workflow: from data loading and statistical analysis, through publication-ready plotting and manuscript compilation, to AI-assisted literature review. Every module is installable independently, and the entire surface area is exposed to AI agents through an MCP (Model Context Protocol) server.
Key Features
Session decorator – wrap any experiment function with
@stx.sessionto get automatic directory management, reproducibility logging, and error-safe cleanup.Unified I/O –
stx.io.save/stx.io.loadhandle 40+ formats (CSV, HDF5, YAML, images, PDFs, …) through a single call.Statistics –
stx.statsprovides hypothesis testing, effect sizes, power analysis, and multiple-comparison correction with APA-formatted output.Plotting –
stx.pltproduces publication-ready figures via figrecipe, with millimetre-based layouts, journal style presets, and automatic CSV data export alongside every saved figure.Manuscript writing –
stx.writercompiles LaTeX manuscripts, manages BibTeX, and exports to Overleaf.Literature management –
stx.scholarsearches CrossRef, OpenAlex, and Google Scholar; downloads and parses PDFs; and maintains a local citation database.MCP for AI agents – every capability above is available as a tool call through the built-in MCP server, so LLM agents can run statistics, create figures, and compile papers programmatically.
Getting Started
Installation – install the core package and choose the extras you need.
Quickstart – a five-minute walkthrough of the session decorator, I/O, and plotting.
API Reference – full API reference generated from docstrings.
Getting Started
Guides
Interfaces
Reference
- API Reference
- Session Decorator (
@stx.session) - I/O Module (
stx.io) - Config Module (
stx.config) - Logging Module (
stx.logging) - Repro Module (
stx.repro) - Clew Module (
stx.clew) - Stats Module (
stx.stats) - scitex.plt
- DSP Module (
stx.dsp) - Diagram Module (
stx.diagram) - canvas Module (
stx.canvas) - Scholar Module (
stx.scholar) - Writer Module (
stx.writer) - notebook Module (
stx.notebook) - AI Module (
stx.ai) - NN Module (
stx.nn) - torch Module (
stx.torch) - cv Module (
stx.cv) - benchmark Module (
stx.benchmark) - PD Module (
stx.pd) - db Module (
stx.db) - Dataset Module (
stx.dataset) - schema Module (
stx.schema) - App Module (
stx.app) - Cloud Module (
stx.cloud) - container Module (
stx.container) - tunnel Module (
stx.tunnel) - cli Module (
stx.cli) - browser Module (
stx.browser) - Capture Module (
stx.capture) - Audio Module (
stx.audio) - Notification Module (
stx.notification) - social Module (
stx.social) - Dev Module (
stx.dev) - Template Module (
stx.template) - Linter Module (
stx.linter) - Introspect Module (
stx.introspect) - audit Module (
stx.audit) - Gen Module (
stx.gen) - Decorators Module (
stx.decorators) - str Module (
stx.str) - dict Module (
stx.dict) - path Module (
stx.path) - os Module (
stx.os) - sh Module (
stx.sh) - git Module (
stx.git) - parallel Module (
stx.parallel) - linalg Module (
stx.linalg) - datetime Module (
stx.datetime) - types Module (
stx.types) - rng Module (
stx.rng) - context Module (
stx.context) - resource Module (
stx.resource) - utils Module (
stx.utils) - etc Module (
stx.etc) - web Module (
stx.web) - msword Module (
stx.msword) - tex Module (
stx.tex) - bridge Module (
stx.bridge) - compat Module (
stx.compat) - module Module (
stx.module) - gists Module (
stx.gists) - media Module (
stx.media) - security Module (
stx.security) - ui Module (
stx.ui) - events Module (
stx.events) - project Module (
stx.project)
- Session Decorator (