차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
tech:openclaw [2026/02/16 20:06] – [명령어] 192.168.0.1tech:openclaw [2026/03/11 03:51] (현재) – [models] 115.93.88.195
줄 2: 줄 2:
 ====== Openclaw====== ====== Openclaw======
  
-  
 OpenClaw는 LLM(거대 언어 모델)을 기반으로, 개인 서버와 일상을 자동화하고 관리하도록 설계된 오픈소스 AI 에이전트 게이트웨이임. OpenClaw는 LLM(거대 언어 모델)을 기반으로, 개인 서버와 일상을 자동화하고 관리하도록 설계된 오픈소스 AI 에이전트 게이트웨이임.
  
줄 9: 줄 8:
   * https://docs.openclaw.ai/   * https://docs.openclaw.ai/
  
 +[[qwen3.5]]
 +
 +  llama.cpp 옵션에 -ngl 99 --n-cpu-moe 24 -> 24는 16gb vram 기준이니 8gb는 적당히 조절하면서 최적값 찾아봐. MoE 모델이라 활성화 파라미터만 vram에 올리면 충분히 실사용 가능한 속도 나옴.
 +
 +
 +  .\llama-cli.exe   -m Qwen3.5-35B-A3B-UD-MXFP4_MOE.gguf   -ngl 28   --flash-attn   --color -p "
 =====주요 특징 및 능력===== =====주요 특징 및 능력=====
  
줄 36: 줄 41:
 [[https://twofootdog.tistory.com/555|오픈클로(OpenClaw) 설치부터 제미나이(Gemini) 무료 연동까지 완벽 가이드(feat. 구 클로드봇(Clawdbot) 설치 가이드)]] [[https://twofootdog.tistory.com/555|오픈클로(OpenClaw) 설치부터 제미나이(Gemini) 무료 연동까지 완벽 가이드(feat. 구 클로드봇(Clawdbot) 설치 가이드)]]
  
 +====삭제====
 +
 +  openclaw uninstall --all --yes --non-interactive
 =====대화창===== =====대화창=====
  
줄 78: 줄 86:
 | 🌐 웹 검색 및 브라우징| Brave / Tavily | Brave는 일반 검색에 적합하고, Tavily는 연락처 정보 추출 등 특정 용도. | | | 🌐 웹 검색 및 브라우징| Brave / Tavily | Brave는 일반 검색에 적합하고, Tavily는 연락처 정보 추출 등 특정 용도. | |
 | 이메일 | Nylas 이 서비스는 무료 ||  | 이메일 | Nylas 이 서비스는 무료 || 
 +
 +
 +  * Groq – Fastest, 1K req/day on Llama 3.3 70B, great for bots
 +  * • Mistral – 1 billion tokens/month free, but 1 req/sec limit
 +  * • OpenRouter – 50 req/day (used to be 200), good for testing multiple models
 +  * • Gemini Flash – Best for long documents (1M context window)
 +
 +
  
 ====memory.md 예==== ====memory.md 예====
줄 110: 줄 126:
  
 </file> </file>
 +====qmd====
  
-=====Heartbeat.md 예제=====+https://github.com/tobi/qmd 
 +를 사용해서 장기 기억을 인덱싱하고 검색함. 
 + 
 +  openclaw memory status 
 +====cron/jobs.json==== 
 + 
 +작동하는 cron 예제. 
 +<file json jobs.json> 
 +
 +  "version": 1, 
 +  "jobs":
 +    { 
 +      "id": "d6206e6c-8544-4324-9062-435ba835864e", 
 +      "name": "아침 날씨 알림", 
 +      "enabled": true, 
 +      "createdAtMs": 1771753627753, 
 +      "updatedAtMs": 1771974387969, 
 +      "schedule":
 +        "expr": "1 8 * * *", 
 +        "kind": "cron", 
 +        "tz": "Asia/Seoul" 
 +      }, 
 +      "sessionTarget": "isolated", 
 +      "wakeMode": "now", 
 +      "payload":
 +        "kind": "agentTurn", 
 +        "text": "Generate today's briefing: today's weather comparing yesterday's, use weather skill" 
 +      }, 
 +      "delivery":
 +        "mode": "announce", 
 +        "channel": "heartbeat", 
 +        "to": "6913272833" 
 +      }, 
 +      "state":
 +        "nextRunAtMs": 1772060460000, 
 +        "lastRunAtMs": 1771974300009, 
 +        "lastStatus": "ok", 
 +        "lastDurationMs": 87960, 
 +        "consecutiveErrors": 0, 
 +        "lastRunStatus": "ok", 
 +        "lastDeliveryStatus": "delivered", 
 +        "lastDelivered": true 
 +      } 
 +    } 
 +  ] 
 +
 + 
 + 
 + 
 +</file> 
 + 
 +====Heartbeat.md 예제====
  
 <file> <file>
줄 146: 줄 214:
 - If nothing above requires user attention → reply HEARTBEAT_OK - If nothing above requires user attention → reply HEARTBEAT_OK
 - Never send HEARTBEAT_OK before completing steps 1-4 - Never send HEARTBEAT_OK before completing steps 1-4
 +</file>
 +
 +====cron====
 +
 +<file>
 +# 매일 오전 7시 브리핑 (isolated 세션)
 +openclaw cron add \
 +  --name "Morning brief" \
 +  --cron "0 7 * * *" \
 +  --tz "Asia/Seoul" \
 +  --session isolated \
 +  --message "오늘 브리핑: 날씨, 캘린더, 이메일 요약" \
 +  --announce
 +
 +# 20분 후 one-shot 리마인더
 +openclaw cron add \
 +  --name "Meeting reminder" \
 +  --at "20m" \
 +  --session main \
 +  --system-event "회의 시작 10분 전입니다." \
 +  --wake now \
 +  --delete-after-run
 +
 +openclaw cron add \
 +  --name "Morning briefing" \
 +  --cron "0 7 * * *" \
 +  --tz "America/New_York" \
 +  --session isolated \
 +  --message "Generate today's briefing: weather, calendar, top emails, news summary." \
 +  --model opus \
 +  --announce \
 +  --channel whatsapp \
 +  --to "+15551234567"
 +
 +openclaw cron add \
 +  --name "Morning briefing" \
 +  --cron "0 8 * * *" \
 +  --tz "Asia/Seoul" \
 +  --session isolated \
 +  --message "Generate today's briefing: today's weather comparing yesterday's, web_fetch https://news.naver.com" \
 +  --model macmini \
 +  --announce \
 +  --channel telegram
 </file> </file>
 =====보안===== =====보안=====
줄 390: 줄 501:
 } }
 </file> </file>
 +=====models=====
 +
 +M4 실리콘의 경우
 +mlx 모델을 사용하는 것이 낫다고 함. [[ollama]]보다는 편의성이 떨어짐. 
 +모델이 플래시 어텐션을 켜고 작동하면 GGUF가 MLX보다 약간 더 빠르다는 주장도 있다.
 +
 +[[https://discuss.pytorch.kr/t/mlx-vlm-m5-apple-silicon-mlx-vlm/8963|mlx-vlm]],
 +[[https://github.com/waybarrios/vllm-mlx|vllm-mlx]] 참조.
 +
 +메인모델은 똑똑하고 빨라야 하기 때문에 구글 젬민, 쳇지피티, 오푸스 등을 사용하고
 +자주 작동하는 Heartbeat나 각종 긴 시간이 걸리는 작업을 처리하는 서브에이전트는 로컬 모델을 사용하는 것을 추천한다.
 +
 +
 +
 +
 +
 + "한반도의 지정학적 중요성 알려줘"
 + 
 + 
 + 
 +### 요약
 +결국 한반도는 **"안보적 위험 (핵 문제, 북대서양)"** 과 **"경제적 가치 (무역, 기술, 에너지 공급)"** 이 충돌하는 지점이기 때문입니다. 따라서 세계 각국은 여기
 +의 상황 변화가 지역적 전쟁이나 경제 파장을 초래할 수 있으므로 항상 감시하고 있는 지정학적 "불안 요소"이자 동시에 "전략적 교차로"라고 평가됩니다.
 +
 +
 +
 +## qwen3.5:4b
 +
 +
 +total duration:       2m9.078710125s
 +load duration:        1.027773417s
 +prompt eval count:    19 token(s)
 +prompt eval duration: 214.916625ms
 +prompt eval rate:     88.41 tokens/s
 +eval count:           2381 token(s)
 +eval duration:        2m5.437022108s
 +eval rate:            18.98 tokens/s
 +
 +
 +## qwen3.5:9b
 +
 +total duration:       2m16.405829917s
 +load duration:        3.300296709s
 +prompt eval count:    19 token(s)
 +prompt eval duration: 353.761042ms
 +prompt eval rate:     53.71 tokens/s
 +eval count:           1757 token(s)
 +eval duration:        2m10.881691527s
 +eval rate:            13.42 tokens/s
 +
 +
 +## gpt-oss:20b 
 +
 +total duration:       1m29.23167875s
 +load duration:        3.888069916s
 +prompt eval count:    77 token(s)
 +prompt eval duration: 500.265375ms
 +prompt eval rate:     153.92 tokens/s
 +eval count:           2197 token(s)
 +eval duration:        1m23.066894938s
 +eval rate:            26.45 tokens/s
 +
 +