Runtime and SDK for applications built from independent modules. Free, including for commercial use.
S1 · Runtime and SDK
Build applications from independent modules
S1 is a runtime and SDK for modular applications. Each module runs in its own process; S1 starts and supervises the modules, delivers their messages and restores a module’s saved state on request. If one module stops, the others carry on.
One manifest describes the application: which modules it contains, how each is configured and which modules may send to which. The modules hold your own logic – collecting machine data, linking ERP and MES or running a test station.
Platforms
WindowsLinuxmacOS
Architecture
x64ARM64
Languages
RustCC++C#PythonLabVIEW
Runtime, gateway and SDK – including commercial use
Free
per module, supervised by S1
1 process
Redelivery after an outage
Journal
Assistants with permission checks
MCP
Why switch
What can you leave to S1?
A monolithic application
TodayChanging export settings requires restarting the whole application, including components that are not affected.
With S1Replace only the export instance. S1 can wait until the replacement reports ready before switching the route.
Services with a message broker
TodayThe broker carries messages. You still need to coordinate startup, readiness, permissions and troubleshooting across the services.
With S1On one host, S1 combines process supervision and messaging in one runtime, with shared access controls and visibility into modules and deliveries.
In-process plug-ins
TodayPlug-ins share the host’s binary interface. A plug-in crash can bring down the host process.
With S1Modules run independently and exchange messages. One module can stop without S1 having to stop the others.
Scripts and scheduled jobs
TodayYou write your own timers, retries and status tracking. After an outage you still have to work out what ran.
With S1S1 stores schedules and journaled messages. Delivery status distinguishes acceptance from processing and reports when the outcome is unknown.
Hard-coded recipients
TodayThe sender calls specific recipients. Adding an archive means building and maintaining another export call.
With S1When an authorised operations client publishes by type and label, add a route to the archive without changing the existing recipient.
Features
What S1 handles for your modules
Manifest, startup and replacement
The manifest declares modules and allowed destinations. When configuration changes, S1 can start a new instance before switching over or stop the old one first if it owns a resource exclusively.
ExampleChange the export module’s configuration without restarting the data importer.
Separate processes
Each module runs in its own process and exchanges messages through S1. You can choose a language for each module without tying the whole application to that language.
ExampleA LabVIEW module can send readings to a Python module for analysis.
Direct messages with or without a journal
Modules send directly to permitted recipients. Choose at-most-once dispatch or journaled delivery with limits on capacity, attempts and expiry. The receiving module handles repeat deliveries.
ExampleSend a status update without retries, but journal the notification that an order is complete.
Named services and routing rules
Look up which modules are ready to provide a named service. Modules send directly. Authorised operations clients publish by type, version and labels; S1 reports each recipient’s outcome.
ExamplePublish machine status tagged “line A” to both the live view and the archive.
Scheduled delivery
Schedule a message for a UTC time or on a fixed interval. The schedule persists, and after downtime S1 takes up only the latest due slot.
ExampleRequest a status check every five minutes without building a timer into the receiver.
Save and restore module state
A module uses the Rust SDK to save versioned snapshots of its state. Choose a checkpoint and request restore into the current instance with matching configuration and state version.
ExampleSave the last imported record ID and select that checkpoint as the new instance’s starting point.
Workflows with compensation
S1 runs steps in order. On refusal before journalling, an unknown outcome or cancellation, it runs the defined compensations in reverse. A processed step counts as completed even if the module answers no.
ExampleRelease a reservation if S1 refuses delivery to the MES module before journalling.
Status and events
Inspect module and delivery status from the command line, query it from an operations client over REST, or follow events over WebSocket.
ExampleCompare export delivery attempts with records the receiver actually created.
Permission-checked MCP access
Through Model Context Protocol, a diagnostic assistant can discover tools permitted for its session. S1 rechecks permissions on every tool call.
ExampleLet an assistant read module status without granting permission to restart modules.
Narrated presentation / 20 chapters
When one module fails, what happens to the rest?
Follow a message between modules. See how process isolation, supervision and recovery fit together in the platform design.
English narration. Choose a chapter below or start from the beginning.
A live view shows machine status for line A. The production team also wants to retain machine state changes without rebuilding the live view.
Add an archive module to the manifest that reads the existing message type and version.
Enable a second route to the archive for the same type, version and “line A” label.
Publish the next status event from an authorised operations client over CLI, REST or WebSocket. Check each recipient’s outcome.
Outcome The live view continues as before. The same status event also goes to the archive, which can retain history independently of the display.
02 / Example · Systems integration
Link material reservations to production orders
Before an order can be registered in the production system (MES), the business system (ERP) must reserve its materials. If registration cannot start, the reservation must be released.
Start an S1 workflow in which the ERP module reserves materials against the order number.
Once the reservation is confirmed, S1 asks the MES module to register the same order.
If the MES step is refused before its message is journaled, S1 asks the ERP module to release the reservation.
Outcome S1 marks the workflow compensated only after release is confirmed. Your modules make the calls to ERP and MES and handle any repeats.
03 / Example · Operations monitoring
Find a stopped module without restarting it
A background service imports data on a fixed interval. Export to reporting has stopped. The operations team wants an AI assistant to check both modules without changing them.
Schedule imports on a fixed interval and have the Rust module checkpoint the last imported record ID.
Grant the local MCP client permission to read module status, but not to send messages or restart modules.
Ask the assistant to read module status. S1 reports the import module running and the export module stopped.
Have an operator inspect the export module and decide whether to start it again.
Outcome The team knows where to look. The assistant makes no changes, and import can continue while the team investigates export.
04 / Example · Test and measurement
One warning file after an outage
At a test station, an illustrative 80 °C reading falls between the warning threshold of 75 °C and the critical limit of 85 °C. The alarm module is stopped when the reading is journaled.
The sending module sends the reading as a journaled delivery, with the reading ID as its delivery ID.
S1 waits for the receiver and retries when the alarm module is ready, provided the delivery has not expired.
The alarm writes the warning under the reading ID. If the same message arrives again, it returns the stored result.
Outcome Even if the reply is lost after the write, there is only one warning file. The alarm module, not the journal, prevents duplicate files.
Specifications
S1 technical specifications
Platform
Operating systems
Windows, Linux, macOS
Architectures
x64, ARM64
Packages
Runtime, gateway and SDK
Licence
Free, including commercial use
Local storage
SQLite
Development
Languages
Rust, C, C++, C#, Python, LabVIEW
SDKs
Rust, C#
C ABI
C, C++
Manifest
JSON: modules, configuration, recipients
Message payload
Up to 64 KiB
Operations and delivery
Interfaces
s1-cli, REST, WebSocket, MCP
Without journal
At most once
With journal
Retries within your limits
Scheduling
UTC time or fixed interval
Your project
Bring one task and sketch it as modules
Choose a well-defined task in a new or existing application – a data import, a link between two systems or an alarm on a test station. A sketch of its parts and the messages between them is enough for a concrete conversation with us.
Split the task into parts that should start, stop and be replaced independently. Note the language each part is, or will be, written in.
For each message, note whether it may be lost in an outage, like a routine status update, or must get through, like a completed order – and what the receiver does if it arrives twice.
Describe what should happen when one part stops: what keeps running, who may restart it and what an assistant may read.
Review the sketch with us. Together we translate it into modules, a manifest and delivery choices for your application.