Nyno is a global open protocol to derisk AI innovation.
python3 big-python-script-or-project.py
nyno10 your-workflow.yml
Every Nyno workflow produces a clean input/output log in one uniform JSON shape:
{
"status": "ok",
"execution": [
{ step },
{ step }
{ step }
]
}
Each step is fully observable:
{
input: {
args: ["Hi"],
context: {
mistral_api_key: "your api key"
set: "prev"
}
},
output: {
r: 0,
c: {
last_step: "ai-mistral-text",
prev: "Hello, how can I help?",
prev_meta: {
usage: {}
}
}
}
}
Conventional keys like "prev" and "meta" are used to set the previous text value or to set detailed meta information. For custom variable names change the value of the "set" key.
{
"prev": "Hello, how can I help?",
"prev_meta": {
"usage": {}
}
}
The r value (normally 0) determines the next node. With 0, it simply goes to the first next step. With more sophistated workflows, we can jump to multiple next nodes:
workflow:
- id: 1
step: if
args:
- 1
- is
- 1
next: [2,3]
- id: 2
step: echo
args:
- Reached node 2
- id: 3
step: echo
args:
- Reached Node 3
git clone https://github.com/flowagi-eu/nyno
cd nyno && bash run-container-prod.sh podman # or docker
Create your first workflow.yml:
workflow:
- step: ai-mistral-text
args:
- hi
context:
mistral_api_key: "your-mistral-api-key"
Run it with the NodeJS CLI:
node nyno/cli/cli.js workflow.yml
alias nyno10='node $HOME/nyno/cli/cli.js'
So in the future you can use:
nyno10 workflow.yml
Nyno can be extended with Python, JavaScript and Rust/WASM (WASI P2) extensions, so you can add your own steps.
You can place custom extensions in the ./my-extensions folder.
See also ./my-extensions/README.md
We're also on Reddit! Join us at r/Nyno.