Skip to content
프로젝트

소개

Nyno는 AI의 위험을 줄이기 위한 글로벌 오픈 프로토콜이자 상업적 사용에 친화적인 YAML 워크플로 엔진입니다. https://nyno.dev | 상업적 제한 없이 워크플로를 만들고 실행할 수 있습니다. 비동기. 멀티 프로세스. "nine" / "yaml" / "no-code" / "automation"의 약어입니다.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+3
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Nyno 10

Derisk AI innovation by separating 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

Install and Use

Run the Server

git clone https://github.com/flowagi-eu/nyno
cd nyno && bash run-container-prod.sh podman # or docker

Run Your First Workflow

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

Optionally add the nyno10 alias:

alias nyno10='node $HOME/nyno/cli/cli.js'

So in the future you can use:

nyno10 workflow.yml

Extensions

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


Need more help?

🌐 Community

We're also on Reddit! Join us at r/Nyno.

관련 프로젝트 살펴보기

불러오는 중…