Derisk AI innovation by seperating code from configuration.
Nyno is a global open protocol to derisk AI innovation.
Before Nyno:
python3 big-python-script-or-project.py
# 1000+ lines
# of code
# + custom output shape
After Nyno:
nyno10 your-workflow.yml
# 3 specific YAML workflow steps
# + clean output shape
Clean Output Shape
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: {}
}
}
Deciding the next node
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
Practical Examples & Implementations
- Open-Source Nyno Engine for JS, Python and Rust/WASM: https://github.com/flowagi-eu/nyno
- Employee Workspace to Chat & Build Visual Workflows: https://euaiworkspace.eu