혹시 이런 생각 해본 적 있으신가요? 나만의 AI 어시스턴트를 하나 만들어서 텔레그램으로 대화하고, 자료도 찾아주고, 코드도 작성해주는 그런 걸요. ChatGPT 웹 버전 말고, 내 서버에서 돌아가는 진짜 개인 어시스턴트를요.

이 OpenClaw 튜토리얼이 바로 그걸 해줍니다. OpenClaw는 오픈소스 AI 어시스턴트 프레임워크로, VPS나 라즈베리파이, 심지어 노트북에 배포해서 Telegram, WhatsApp, Discord 등을 통해 대화할 수 있습니다.

OpenClaw 튜토리얼 1단계: 설치 및 환경 준비

OpenClaw 튜토리얼: 시스템 요구사항

Node.js 22+ 설치:

curl -o- <https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh> | bash
source ~/.bashrc
nvm install 22

OpenClaw 튜토리얼: 원클릭 설치 스크립트

curl -fsSL <https://openclaw.ai/install.sh> | bash

설치 완료 후 초기 설정:

openclaw onboard

OpenClaw 튜토리얼: 첫 번째 AI 모델 설정

OpenClaw 튜토리얼: 설정 파일 이해하기

모든 설정은 ~/.openclaw/openclaw.json (JSON5 지원):

{
  agents: {
    defaults: {
      workspace: "~/.openclaw/workspace",
      model: {
        primary: "openai/gpt-4o",  // provider/model 형식
      },
    },
  },
}

OpenClaw 튜토리얼: Crazyrouter로 627+ 모델 한번에 연결

여러 API 키 관리가 귀찮다면 Crazyrouter를 추천합니다. 하나의 API 키로 627+ 모델에 접속 가능:

{
  agents: {
    defaults: {
      model: {
        primary: "openai/anthropic/claude-sonnet-4-20250514",
      },
      providers: {
        openai: {
          apiKey: "sk-your-crazyrouter-key",
          baseURL: "<https://crazyrouter.com/v1>",
        },
      },
    },
  },
}