Technical computing,
built for test engineering
and model-based design.
Signet (Signals Network) is a lightweight coordination language for building systems of programs written in any language. Together, Signet and Starfire enable a test evolution or prototype to be organized, visualized, and evaluated as a System of Signals.
pipx install signet-lang
reentry.sg: atmosphere, geometry and trajectory modules in C++, aerothermal in Julia. Every language starts by saying hello. Signet says it with a Signal! This example shows a Signet module with an output port, a C++ module to receive it, and three lines of wiring between them. Modules declare their ports in a comment.
hello.sg
# signet: out text::message let hello = 'Hello, world!' output(text::message, hello)
world.cpp
// signet: in text::input
#include <signet.hpp>
#include <iostream>
int main() {
auto m = signet::in<std::string>("input");
std::cout << m << '\n';
return 0;
}
messenger.sg
run(hello) connect(hello.message!, world.input) run(world)
run it
$ signet messenger.sg
→ Hello, world!
Signet compiles a source module the first time it runs, and again only when its source or Signet changes. signet --export-helpers include writes the helper for each language.
A Signal is written as JSON and identified in code with <!> When a module's run ends cleanly, each Signal is stamped with the hash of its inputs, where they came from, and the module file.
lineage(hello.message!) line 4: lineage of hello.message! hello.message! = "Hello, world!" text made by messenger:hello.message at 2026-11-29T17:10:34Z, stamp ok module hello.sg (unchanged) no inputs
lineage checks the hashes rather than printing them. stamp ok means the Signal still matches its hash, and (unchanged) means hello.sg still matches the hash recorded when it ran. Edit hello.sg afterwards and that line reads (changed since); edit the Signal file itself and lineage stops with no valid stamp.
In the REPL
Run signet with no file. An expression prints its value. Names, functions and connections carry from one entry to the next.
In a .sg file
Run signet file.sg. On Linux, #!/usr/bin/env signet as the first line makes the script executable.
Inside a test point
Code goes in each point's Signals box, where a point's Signal is written as 10:module.port!