Recipaie란 무엇입니까?
Recipaie = recipe + AI + pie. AI 어시스턴트를 위한 한 조각(또는 전체) 레시피입니다. 파이처럼, 단순한 재료를 사려 깊게 조합한 것입니다. 기계적인 자동화가 아니라 맥락 있는 안내입니다.
도구, 프로세스, 또는 둘 다를 거쳐 AI를 안내하는 JSON 형식입니다. 실행을 위해서든 이해를 위해서든, 혹은 둘 다를 위해서든 쓸 수 있습니다. 소프트웨어를 배포하는 데 쓰거나, AI가 무언가의 작동 방식을 이해하도록 돕는 맥락으로 쓰십시오. 각 단계에는 다음이 담깁니다:
- what - 수행할 작업
- why - 판단에 필요한 맥락
- when - 실행 조건
- skip_if - 언제 건너뛸지 (멱등성)
- how - 명령 또는 지시
- verify - 성공 여부 확인
예시
{
"name": "my-service",
"version": "1.0.0",
"steps": [{
"order": 1,
"what": "Create config directory",
"why": "Service needs config storage",
"when": "Before starting service",
"skip_if": "/opt/my-service exists",
"how": "mkdir -p /opt/my-service",
"verify": "ls -la /opt/my-service"
}],
"step_count": 1
}
두 가지 형식
- Recipaie
- 레시피 템플릿 - 무언가를 어떻게 배포하는지.
- Prodaie
- 실행 기록 - 배포했을 때 무슨 일이 있었는지.
JSON 검증하기
웹 검증기를 사용하거나 API로 검증하십시오:
curl -X POST https://recipaie.com/api/validate \
-H "Content-Type: application/json" \
-d '{"schema_type":"recipaie","content":{...your JSON...}}'
또는 횟수 제한 없이 검증하려면 CLI 도구를 사용하십시오:
# Node.js
npx ajv validate -s https://recipaie.com/schemas/recipaie.schema.json -d your-file.json
# Python
pip install jsonschema
jsonschema -i your-file.json https://recipaie.com/schemas/recipaie.schema.json
Questions about Recipaie
What people use it for
I need Redis on a new box. Can my AI do it from my notes?
Yes. Hand it the recipe at /example/redis and it follows six ordered steps, each with the command and its own verify check, so it confirms Redis answers before moving on. A variant that is already installed is covered by skip_if instead of being reinstalled. You end up with a running Redis and a prodaie record of what was done.
- Ask your AI
Deploy Redis here using the recipe on recipaie.com.
- What it does
- GET /example/redis → run 1-6 → verify → write prodaie
- What you get
- A verified install and its record.
I have install notes for my service. Can an AI follow them?
Write a recipaie: name, version, steps and step_count, where every step has order, what, why, when, how and verify. The why and when fields are what stop an assistant from improvising. POST it to /api/validate, or paste it into /validate, until it returns valid true; missing fields, a gap in order and a step_count that disagrees with the steps are all refused.
- Ask your AI
Turn these install notes into a validated recipe.
- What it does
- read /specification → draft JSON → POST /api/validate
- What you get
- A recipe your assistant can follow.
It keeps reinstalling packages already on the machine. Can I stop that?
Give the step a skip_if: a checkable condition such as a directory existing or a version already reporting itself. The assistant evaluates it before acting, and a skipped step is recorded in the prodaie as success true. verify still runs afterwards, so a skip is a claim the state is already correct rather than a shrug.
- Ask your AI
Don't reinstall what is already on this machine.
- What it does
- read skip_if → test it → skip or run → verify
- What you get
- Existing installs left untouched.
The same app is on three servers. What happened on each?
Record a prodaie: name plus locations, one per machine, each with path, status (complete, partial or failed), steps and step_count. Every step result adds success and details, so a failure says which step failed and what it printed instead of 'deployment failed'. The examples page pairs each recipe with such a record, including the same app deployed two different ways.
- Ask your AI
Record what happened on each of the three servers.
- What it does
- run per machine → add success and details → set status
- What you get
- One file showing each machine's result.
I want my AI to understand our stack before changing it.
A recipe works as context too: the why and when fields explain the reasoning behind each action, so an assistant can answer questions about the system or troubleshoot without running a command. The site states the format serves tools, processes or both, for execution, understanding or both. Point your assistant at the file and ask what a step does and why it exists.
- Ask your AI
Explain what step 3 does before you change anything.
- What it does
- read the JSON → answer from why and when
- What you get
- Answers grounded in your own steps.
Our runbook is a wiki page. Can it check itself?
Yes: turn each procedure into steps with a verify command, so the check is part of the document rather than a paragraph someone skips. Keep the human-facing page and put the recipe beside it; the schema is public, so a change either validates or does not. The field list is on /specification and four worked recipes are on /examples.
- Ask your AI
Convert this runbook into a recipe with a real check.
- What it does
- split into steps → add verify → validate
- What you get
- A runbook that checks itself.