한국어
문서
Console
하네스
Hermes

Hermes

Hermes Agent에서 OpenCode Console 모델을 사용하세요.

Hermes Agent (opens in a new tab)는 종량제(pay-as-you-go) Console 액세스를 위한 OpenCode 프로바이더를 기본 내장하고 있으며, 각 Console 모델에 맞는 올바른 API를 자동으로 선택합니다. 무료 티어 채팅 모델은 OpenCode가 필요하며 Hermes에서는 HTTP 403을 반환합니다.

참고: Console CLI를 사용하면 워크스페이스의 정책, MCP 서버, 스킬 및 지침을 포함해 명령어 하나로 Hermes를 설정할 수 있습니다. npx @opencode/console setup hermes를 실행하세요. 아래 단계는 수동 설정 방법입니다.

프로바이더요금제키 변수
opencode-zenPay-as-you-goOPENCODE_ZEN_API_KEY

설정

모델 설정을 실행하고 종량제의 경우 OpenCode Zen을, Go의 경우 OpenCode Console을 선택합니다.

hermes model

개인 API 키를 붙여넣은 다음 모델을 선택하세요. Hermes는 키를 ~/.hermes/.env에, 모델 선택 내용을 ~/.hermes/config.yaml에 저장합니다.

~/.hermes/config.yaml
model:
  provider: opencode-go
  default: kimi-k3

참고: Go는 모든 요청에 세션 ID가 필요합니다. Hermes v0.21.6 이상에서는 자동으로 전송됩니다.

모델

Console 표의 모델 ID를 접두사 없이 사용하세요. 세션 중 /model로 모델을 전환하거나 단일 실행에 대해 모델을 지정할 수 있습니다.

hermes chat --provider opencode-zen --model claude-sonnet-5-5

Console MCP

OAuth와 함께 Console MCP 서버를 추가한 다음 브라우저에서 로그인하세요.

hermes mcp add opencode-console --url https://opencode.ai/console/mcp --auth oauth
hermes mcp login opencode-console

또는 ~/.hermes/config.yaml에 추가한 뒤 세션에서 /reload-mcp를 실행할 수 있습니다.

~/.hermes/config.yaml
mcp_servers:
  opencode-console:
    url: https://opencode.ai/console/mcp
    auth: oauth