# OmniScript

> OmniScript (OSF) is an open-source, MIT-licensed plain-text document format and a single Rust command-line tool, `osf`. One `.osf` file holds a document, slides, spreadsheets with live formulas, tables, charts, diagrams and typed knowledge blocks (findings, decisions, requirements, actions, hypotheses). It also typesets papers: LaTeX math, BibTeX citations in CSL styles, footnotes, cross-references, contents, index and glossary. `osf` renders it to PDF (including PDF/A and PDF/UA), DOCX, PPTX, XLSX, HTML, Markdown, EPUB, ODT and ODS, imports Markdown, Word and spreadsheets, writes redlines, checks spelling, searches across files, lets people edit live together, lints and formats it, queries it with CSS-like selectors, and serves it to AI agents over MCP and A2A. Current version: 2.0.0-alpha.6 (pre-release). Publisher: Mycel UG (haftungsbeschränkt), Berlin.

Install on Linux or macOS: `curl -fsSL https://osf.mycel.me/install.sh | sh`. On Windows (PowerShell): `irm https://osf.mycel.me/install.ps1 | iex`. Archives with SHA-256 sums: https://osf.mycel.me/#download (machine-readable: https://osf.mycel.me/download/latest). There is no npm or crates.io package.

## Docs

- [Getting started](https://osf.mycel.me/docs/getting-started): install osf, write a first file, export it
- [Block reference](https://osf.mycel.me/docs/blocks): every block type and its properties
- [Selectors](https://osf.mycel.me/docs/selectors): query documents with `osf query`
- [CLI reference](https://osf.mycel.me/docs/cli): every `osf` command and flag
- [AI agents](https://osf.mycel.me/docs/agents): MCP server, A2A, Agent Skill
- [HTTP API](https://osf.mycel.me/docs/api): render, lint, format and query over HTTP at https://osf.mycel.me/api
- [Releases](https://osf.mycel.me/docs/releases): what changed in each 2.0 pre-release

## Optional

- [Full reference in one file](https://osf.mycel.me/llms-full.txt): syntax, all blocks, selectors and CLI as Markdown
- [Playground](https://osf.mycel.me/playground): edit OSF in the browser and export it
- [Source code](https://github.com/MycelAI/OmniScript)
