# Rastok > Rastok is an open-source (Apache-2.0) integration platform written in Rust. An integration is written as a typed, declarative graph in a `.rkg` file: Operators transform data without side effects, Connectors talk to external systems under typed Contracts with declared outcomes, and the wiring, instances and bounded loops are checked by the compiler (`rastok check`). The same file holds the Lab: scenarios that script partner replies, faults and logical time, run deterministically on one machine without any external system (`rastok simulate`), and compared to sealed reference traces. The same program runs against real systems through Drivers (`rastok run`); every run leaves a causal journal that can be recorded and replayed without repeating its effects (`rastok replay`). Current public release: v0.2.0-alpha; the CLI installs from crates.io or the release archives (see Getting Started). Source revision: v0.2.0-alpha. ## Vocabulary - Graph: the application, a typed program of Nodes and explicit wiring, checked by the compiler before any run. - Operator: a Node that transforms and decides without touching the outside; Connector: the only Node that talks to an external system, under a typed Contract with declared outcomes. - Lab: the simulated world written in the same source file; scenarios inject inputs, script partner replies and faults, and advance logical time by instruction. - App: the same checked program run against real systems through Drivers, without a rewrite. - Journal: typed causal records of a run that link each output to the decision and input that caused it; a Lab scenario produces the same records on another machine, byte for byte. - Files: `.rkg` source, `.rkp` plan package, `.rkc` causal reference trace (golden), `.rkr` diagnostic recording replayed without Driver I/O. ## Pages - [Rastok · Orchestrate applications, anticipate the unexpected](https://www.rastok.com/index.md): Create, test and run applications that orchestrate flows between your systems. Proven in the Lab, the same application runs with your real systems. - [Rastok · Orchestrez vos applications, anticipez l’imprévu](https://www.rastok.com/fr.md): Créez, testez et exécutez des applications d’orchestration de flux entre vos systèmes. Éprouvées dans le Labo, exécutées telles quelles en production. ## Specification - [Grammar](https://raw.githubusercontent.com/rastok-io/rastok/v0.2.0-alpha/docs/spec/grammar.md): the normative `.rkg` grammar, raw Markdown at revision v0.2.0-alpha. - [Specification index](https://raw.githubusercontent.com/rastok-io/rastok/v0.2.0-alpha/docs/spec/README.md): every specification chapter: expressions, instances, Loop, Retry, effects, simulation semantics, diagnostics, raw Markdown at revision v0.2.0-alpha. - [White paper](https://raw.githubusercontent.com/rastok-io/rastok/v0.2.0-alpha/WHITEPAPER.md): the design and its rationale, with the executable scope of the current alpha, raw Markdown at revision v0.2.0-alpha.