AI Agent 가이드Guide

2026 한/영 입문 가이드 · 완전 무료로 시작2026 KO/EN beginner guide · start free

터미널 속 AI 코딩 에이전트,
가장 쉽게.
Terminal AI coding agents,
made easy.

설치부터 무료 모델 연결, 명령어와 단축키, 에이전트까지. 그리고 Claude Code·Codex·Antigravity 가격 비교와 Hermes Agent까지 — 한 페이지에. From install to free models, commands, and agents — plus a Claude Code · Codex · Antigravity price comparison and Hermes Agent, all on one page.

  • 75+지원 모델 / 제공사models / providers
  • $0무료로 시작 가능free to start
  • KO·EN한국어 · 영어bilingual
OpenCode build
@src/app.js 에 다크 모드 토글을 추가해줘Add a dark-mode toggle to @src/app.js

좋아요. 계획은 이렇습니다 Sure. Here's the plan

  • + ThemeToggle 컴포넌트 추가component
  • + localStorage에 테마 저장persist theme in localStorage
  • ~ app.js 헤더에 버튼 연결wire button into app.js header
3개 파일 수정 완료3 files changed
무료 모델 연결됨free model connected
Plan ↔ Build · Tab

01 · 소개Intro

OpenCode 가 뭔가요?What is OpenCode?

OpenCode는 터미널 안에서 동작하는 오픈소스 AI 코딩 에이전트예요. “이 기능 추가해줘”처럼 말하면 코드베이스를 읽고 직접 파일을 고쳐줍니다. 특정 회사 모델에 묶이지 않아 무료·로컬·유료 모델을 자유롭게 바꿔 쓰는 게 매력이에요. OpenCode is an open-source AI coding agent that runs in your terminal. Tell it “add this feature” and it reads your codebase and edits files for you. It isn't tied to one vendor, so you can freely swap between free, local, and paid models.

터미널에서 동작Lives in the terminal

무거운 IDE 없이 명령창 하나로 끝. 가볍고 빠르며 어떤 OS에서도 잘 돌아갑니다.No heavy IDE — just one terminal. Light, fast, runs anywhere.

벤더 종속 없음No vendor lock-in

Claude, GPT, Gemini, 로컬 Ollama까지. 한 곳에 갇히지 않고 모델을 갈아끼워요.Claude, GPT, Gemini, even local Ollama — swap models anytime.

무료로 시작Free to start

OpenCode Zen 무료 모델, OpenRouter 무료 모델, 또는 로컬 모델로 $0부터.Start at $0 with OpenCode Zen free models, OpenRouter free models, or local models.

똑똑한 에이전트Smart agents

분석만 하는 Plan과 실제로 고치는 BuildTab 하나로 전환.Switch between read-only Plan and hands-on Build with one Tab.

정보Info

OpenCode는 SST 팀의 오픈소스 프로젝트예요. 이 가이드는 비공식 입문서이며, 최신 정보는 공식 문서도 함께 확인하세요.OpenCode is an open-source project by the SST team. This is an unofficial guide — always cross-check the official docs.

02 · 설치Install

설치하기Install

운영체제에 맞는 방법 하나만 고르세요. 윈도우는 Scoop 또는 npm을 추천해요.Pick one method for your OS. On Windows, Scoop or npm is easiest.

Windows

Scoop이 가장 깔끔해요(없으면 npm).Scoop is cleanest (or npm).

# Scoop 으로 설치 (권장)# Install via Scoop (recommended)
scoop install opencode

# 또는 Chocolatey 로# or Chocolatey
choco install opencode

# 또는 Node.js(npm)가 있다면# or, if you have Node.js (npm)
npm install -g opencode-ai

macOS · Linux · WSL

한 줄 설치 스크립트가 가장 간단합니다.The one-line installer is simplest.

# 공식 설치 스크립트 (가장 쉬움)# Official installer (easiest)
curl -fsSL https://opencode.ai/install | bash

# 또는 Homebrew# or Homebrew
brew install anomalyco/tap/opencode

# 또는 npm# or npm
npm install -g opencode-ai

설치 확인 & 업데이트Verify & update

# 버전이 출력되면 성공!# If a version prints, you're set!
opencode --version

# 나중에 업데이트# update later
opencode upgrade
Tip

npm 방식은 먼저 Node.js가 필요해요. node -v 가 버전을 출력하면 준비 완료.The npm route needs Node.js first. If node -v prints a version, you're ready.

· 안드로이드 (Termux)Android (Termux)

안드로이드 기기에서 설치 (Termux)Install on Android (Termux)

안드로이드 기기에서도 쓸 수 있어요. 다만 그냥은 안 됩니다. OpenCode 실행 파일이 Termux 환경에 안 맞거든요. 그래서 proot-distro로 기기 안에 진짜 리눅스(우분투)를 깔고 그 안에서 설치합니다. 루팅은 필요 없어요. It works on Android devices — but not out of the box. OpenCode's binary doesn't match the Termux environment. So we use proot-distro to install a real Linux (Ubuntu) on the device and install there. No root needed.

왜 안 되나요?Why not?

Termux는 안드로이드 전용 환경이라 OpenCode의 리눅스용 바이너리가 인터프리터·PIE·glibc가 맞지 않아 그대로는 실행되지 않아요. proot-distro가 기기 안에 완전한 리눅스를 만들어 이 문제를 해결합니다.Termux is an Android-only environment, so OpenCode's Linux binary fails (wrong interpreter, non-PIE, glibc mismatch). proot-distro spins up a full Linux filesystem on the device to fix that.

  1. 1

    Termux 준비Prep Termux

    Termux는 F-Droid나 GitHub 버전을 설치하세요(플레이스토어 버전은 오래됨). 그다음 갱신:Install Termux from F-Droid or GitHub (the Play Store build is outdated). Then update:

    pkg update && pkg upgrade -y
  2. 2

    proot-distro 설치Install proot-distro

    기기 안에 리눅스 배포판을 설치·실행하게 해주는 도구예요.The tool that installs and runs a Linux distro on the device.

    pkg install proot-distro -y
  3. 3

    우분투 설치 & 로그인Install & enter Ubuntu

    우분투(약 200MB)를 받아 설치하고 그 안으로 들어갑니다.Download Ubuntu (~200MB), install it, and log in.

    # 우분투 설치 (처음 한 번만)# install Ubuntu (once)
    proot-distro install ubuntu
    
    # 우분투 안으로 로그인# log into Ubuntu
    proot-distro login ubuntu

    로그인하면 프롬프트가 바뀌어요. 여기서부터는 우분투 안에서 입력합니다.The prompt changes after login — from here you type inside Ubuntu.

  4. 4

    Node.js 설치Install Node.js

    OpenCode는 npm으로 설치하니 Node.js가 필요해요. 우분투 안에서 LTS를 깝니다.OpenCode installs via npm, so you need Node.js. Install the LTS inside Ubuntu.

    # 기본 도구# basics
    apt update && apt upgrade -y
    apt install -y curl git
    
    # Node.js LTS 설치# install Node.js LTS
    curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
    apt install -y nodejs
  5. 5

    OpenCode 설치 & 실행Install & run OpenCode

    이제 평소처럼 설치·실행하면 끝! 이후는 03 · 첫 실행부터 그대로.Now install and run as usual! From here, follow 03 · First run.

    npm install -g opencode-ai
    opencode
다음부터는Next time

한 번 설치했으면 다음엔 Termux에서 proot-distro login ubuntu 한 줄로 들어가 opencode 실행.Once installed, just run proot-distro login ubuntu in Termux and then opencode.

안 풀릴 때If it freezes

기기에 따라 화면(TUI)이 멈추는 보고가 있어요. ① opencode upgrade ② 우분투 대신 proot-distro install debian ③ 화면이 좁으면 가로 모드 ④ 급하면 opencode run "..." 비대화형 실행.Some devices report a frozen TUI. Try ① opencode upgrade ② Debian instead: proot-distro install debian ③ landscape mode if the screen is narrow ④ non-interactive opencode run "...".

03 · 첫 실행First run

첫 실행 & 로그인First run & login

설치가 끝났으면 작업할 폴더로 가서 opencode 만 입력하면 됩니다.Once installed, go to your project folder and just type opencode.

  1. 1

    프로젝트 폴더에서 실행Run inside your project

    코드가 있는 폴더 안에서 실행해야 코드를 읽을 수 있어요.Run it inside the folder with your code so it can read the codebase.

    cd my-project
    opencode
  2. 2

    제공사 연결 — /connectConnect a provider — /connect

    화면 안에서 /connect 를 입력하면 목록이 떠요. 처음이라면 OpenCode Zen의 무료 모델로 시작하길 추천(04장).Type /connect to see providers. New here? Start with OpenCode Zen free models (ch. 04).

    /connect

    터미널에서 바로 로그인하려면 opencode auth login 도 같은 역할.opencode auth login does the same from the shell.

  3. 3

    프로젝트 분석 — /initAnalyze the project — /init

    /init 는 프로젝트를 훑어 AGENTS.md(에이전트용 메모)를 만들어요. 깃에 커밋해두면 다음에도 똑똑하게 일합니다./init scans the project and writes AGENTS.md (a memo for the agent). Commit it so future runs stay smart.

    /init
  4. 4

    이제 그냥 말 걸기Now just talk to it

    원하는 걸 자연어로 입력! @ 로 특정 파일을 콕 집어 참조시킬 수 있어요.Type what you want in plain language. Use @ to point at a specific file.

    @src/app.js 에 다크 모드 토글 버튼을 추가해줘Add a dark-mode toggle button to @src/app.js
주의Note

처음엔 Plan 모드로 계획을 먼저 보고, 마음에 들면 Build로 바꿔 실제 수정하는 습관이 안전해요. Tab 키로 전환.Safer habit: review a plan in Plan mode first, then switch to Build to actually edit. Toggle with Tab.

04 · 무료 모델Free models

무료로 모델 쓰기Use models for free

OpenCode 자체는 공짜예요. 비용은 “어떤 모델을 쓰느냐”에서 갈립니다. 무료로 시작하는 길은 크게 세 가지.OpenCode itself is free. Cost depends on which model you use. There are three ways to start free.

A

OpenCode Zen 의 무료 모델OpenCode Zen free models

OpenCode 팀이 검증한 모델 모음이에요. 시기에 따라 한시 무료 모델이 있어요. /connectOpenCode Zen → 키 붙여넣기 → /models 로 선택.A curated set the OpenCode team tests. Some models are free for a limited time. /connectOpenCode Zen → paste key → pick via /models.

// 무료 모델을 기본값으로// set a free model as default
{
  "$schema": "https://opencode.ai/config.json",
  "model": "opencode/<free-model>"
}

무료 목록은 자주 바뀌어요. opencode models 또는 /models 로 그때그때 확인하세요.The free list changes often. Check opencode models or /models for what's live now.

B

OpenRouter 의 무료 모델OpenRouter free models

OpenRouter 키를 발급받으면 이름 끝에 :free 가 붙은 모델들을 쓸 수 있어요.Grab an OpenRouter key and use any model ending in :free.

# OpenRouter 로그인# log into OpenRouter
opencode auth login

# 연결된 모델 보기# list connected models
opencode models openrouter
C

Ollama 로컬 모델 — 100% 무료 · 오프라인Ollama local — 100% free, offline

인터넷도 API 키도 필요 없어요. 내 컴퓨터에서 Ollama로 돌리면 비용이 완전히 0원(성능 좋은 PC일수록 쾌적).No internet, no API key. Run models locally with Ollama for $0 (smoother on a beefier PC).

// 로컬 Ollama 연결// connect local Ollama
{
  "provider": {
    "ollama": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "http://localhost:11434/v1" },
      "models": { "qwen2.5-coder": { "name": "Qwen2.5 Coder" } }
    }
  }
}

모델 갈아끼우기Switching models

Ctrl+A제공사 목록 열기open provider list
Ctrl+XM모델 목록 열어서 선택open model list
F2최근 모델 빠르게 순환cycle recent models
/models화면 안에서 검색·선택search & pick in-app
Tip

“가벼운 질문은 무료 모델, 어려운 작업은 좋은 모델”처럼 F2로 바꿔 쓰면 비용을 크게 아껴요.Use F2 to switch — free model for light asks, a stronger model for hard work — and save a lot.

05 · 명령어Commands

명령어 & 단축키Commands & keys

터미널 명령어, 화면 안 슬래시 명령어, 키보드 단축키 세 종류로 조작해요.Three control surfaces: shell commands, in-app slash commands, and keyboard shortcuts.

터미널 명령어Shell commands

명령어Command설명What it does
opencode대화형 화면(TUI) 실행 — 가장 많이 씀launch the interactive TUI — most used
opencode run "..."화면 없이 프롬프트 한 방 (자동화용)one-shot prompt, no UI (automation)
opencode auth login제공사 로그인 / API 키 등록log in / add an API key
opencode models사용 가능한 모델 전부 보기list all available models
opencode agent create커스텀 에이전트 만들기create a custom agent
opencode session list지난 세션 목록list past sessions
opencode stats토큰 사용량·비용 통계token usage & cost stats
opencode upgrade최신 버전으로 업데이트update to latest

슬래시 명령어Slash commands 화면 안에서 /type / in-app

/init 분석analyze /connect 연결connect /models 모델models /undo 되돌리기undo /redo 다시redo /compact 압축compact /share 공유share /help 도움말help

키보드 단축키Keyboard shortcuts

기본 리더 키Ctrl+X. “리더 누른 뒤 → 단축키” (예: 새 세션 = Ctrl+XN).The leader key is Ctrl+X. Press leader, then the key (e.g. new session = Ctrl+XN).

Ctrl+XN새 세션new session
Ctrl+P명령 팔레트command palette
Ctrl+A제공사 목록provider list
F2최근 모델 순환cycle models
TabPlan↔Build 전환Plan↔Build
Ctrl+XU되돌리기undo

06 · 에이전트Agents

에이전트 활용: Build & PlanAgents: Build & Plan

성격이 다른 두 기본 에이전트가 있어요. Tab 하나로 전환.Two built-in agents with different personalities. Switch with one Tab.

읽기 전용read-only

Plan

코드를 분석·탐색·계획만 해요. 수정·실행은 먼저 허락을 구합니다. “일단 보고 싶다”면 이걸로.It only analyzes, explores, plans. It asks before editing or running. Great for “let me see first”.

  • 구조 파악, 버그 원인 찾기map structure, find bugs
  • 리팩터링 계획plan refactors
  • 실수로 파일이 바뀔 걱정 없음no accidental edits
전체 권한full access

Build

기본 모드. 파일을 실제로 수정하고 명령도 실행하는 “일하는” 에이전트. 계획이 좋으면 이걸로.The default. It actually edits files and runs commands — the “doer”. Switch to it once the plan looks good.

  • 기능 추가·버그 수정·테스트features, fixes, tests
  • 파일 생성/편집/삭제create / edit / delete files
  • 터미널 명령 실행run shell commands

서브에이전트 — @ 로 부르기Subagents — call with @

@general여러 단계 복합 작업 (전체 권한)multi-step work (full access)
@explore코드베이스 탐색·분석 (읽기 전용)explore the codebase (read-only)
@scout의존성·라이브러리 조사 (읽기 전용)research deps/libraries (read-only)

나만의 에이전트 만들기Make your own agent

# 대화형으로 생성# create interactively
opencode agent create
# ~/.config/opencode/agents/reviewer.md
---
description: 보안·유지보수 관점 코드 리뷰review code for security & maintainability
mode: subagent
permission:
  edit: deny
  bash: deny
---
당신은 코드 리뷰어입니다. 보안과 가독성에 집중하세요.You are a code reviewer. Focus on security and readability.

07 · 꿀팁Tips

실전 꿀팁Pro tips

01

@ 로 파일 콕 집기Point with @

막연한 요청보다 @src/Button.tsx처럼 파일 지정이 훨씬 정확.Naming a file like @src/Button.tsx beats a vague ask.

02

Plan → Build 순서Plan → Build

계획을 먼저 검토하고 Tab으로 Build. 사고 예방 최고의 습관.Review a plan, then Tab to Build. Best habit to avoid mistakes.

03

AGENTS.md 가꾸기Grow AGENTS.md

프로젝트 규칙을 적어두면 매번 설명 안 해도 일관되게 작업.Write project rules once and get consistent results.

04

되돌리기를 믿어라Trust undo

이상하면 /undo. 겁내지 말고 시도하세요.Off? /undo. Experiment freely.

05

길어지면 /compactLong? /compact

긴 세션은 토큰을 많이 먹어요. 압축하면 속도·비용 절약.Long sessions burn tokens. Compacting saves speed and cost.

06

작게, 자주Small & often

거대한 한 방보다 작은 단위가 품질·검토 모두 쉬워요.Small steps beat one giant request for quality and review.

PART II — AI 코딩 CLI 비교 · 가격AI coding CLIs · pricing

· CLI 비교Compare

주요 AI 코딩 CLI — 가격 & 모델Major AI coding CLIs — price & models

OpenCode 말고도 터미널 AI 코딩 CLI가 더 있어요. 모델·가격이 다르니 상황에 맞게 고르세요. (모델은 큰 ‘계열’만 적었어요.)Beyond OpenCode there are more terminal AI coding CLIs. Models and pricing differ — pick what fits. (Models shown as broad families only.)

S

손수영의 개인 추천Sooyoung Son's picks

직접 사용한 경험을 토대로 신중하게 선정하였습니다.Selected with care on the basis of direct, hands-on evaluation.

무료Free

OpenCode

비용 없이 도입할 수 있는 가장 합리적인 선택지입니다.The most cost-effective option for adoption at no charge.

가성비Value

Antigravity

상대적으로 비용 부담이 적은 선택지입니다.A comparatively economical option.

최고 성능Top tier

Claude Code

성능 면에서 가장 뛰어난 도구로 평가됩니다.Regarded as the most capable option in terms of performance.

탄탄함Solid

Codex

코드 품질이 매우 우수한 견고한 선택지입니다.A robust option distinguished by exceptional code quality.

도구Tool만든 곳Maker대표 모델 (계열)Models (family)시작 가격From
OpenCodeSST · 오픈소스open source아무 모델이나 (무료·로컬·유료)any model (free·local·paid)무료free
Claude CodeAnthropicOpus · Sonnet · Haiku$20/mo~
CodexOpenAIGPT‑5 codex · codex‑mini무료~free~ (ChatGPT)
Antigravity CLIGoogleGemini (Flash · Pro)무료(프리뷰)free (preview)

Claude Code Anthropic

모델Models · Opus · Sonnet · Haiku

  • Pro — $20/mo
  • Max 5x — $100/mo · Pro의 5배5× Pro usage
  • Max 20x — $200/mo · Pro의 20배20× Pro
  • Team — ~$100/시트(최소 5석)seat (5 min)
  • API토큰 종량제pay-per-token

Pro·Max 구독이면 웹·앱 + 터미널 Claude Code까지 하나로.Pro/Max bundles web, apps, and terminal Claude Code in one.

Codex OpenAI

모델Models · GPT‑5 codex · codex‑mini

  • ChatGPT 요금제 포함In ChatGPT plans — Free · Go · Plus($20) · Pro($200) · Business($30/user) · Enterprise
  • 과금Billing2026년부터 API 토큰 기준(크레딧)API token-based (credits) since 2026
  • 한도 초과Over limit크레딧 추가 구매buy more credits

ChatGPT 로그인(구독)으로 쓰면 별도 API 종량 청구 없이 구독 한도로 사용.Sign in with ChatGPT and it runs on your subscription — no separate API metering.

Antigravity CLI Google

모델Models · Gemini Flash · Pro (+ 일부 외부)(+ some external)

  • 개인Individual프리뷰 동안 무료free during preview
  • ProGoogle AI Pro 구독에 포함included in Google AI Pro
  • Ultra — $100/mo · 5배
  • Ultra Premium — $200/mo · 20배20×

기존 Gemini CLI의 후속(2026 전환). 멀티 에이전트를 백그라운드로 실행.The successor to Gemini CLI (2026). Runs multi-agent work in the background.

OpenCode SST · 오픈소스OSS

모델Models · 무엇이든 (무료 Zen·OpenRouter, 로컬 Ollama, 유료 API)anything (free Zen·OpenRouter, local Ollama, paid API)

  • 프로그램App완전 무료(오픈소스)fully free (OSS)
  • 비용Cost고른 모델에 따라(0원부터)depends on model (from $0)
  • 유연성Flexible위 도구들의 키·구독도 꽂아 쓰기plug in the others' keys/subs too

특정 도구에 종속되지 않는 환경을 원하신다면 OpenCode가 가장 적합합니다.For an environment free of vendor lock-in, OpenCode is the most appropriate choice.

가격 주의Pricing note

가격·플랜·모델은 2026년 기준이며 수시로 바뀝니다(특히 Codex·Antigravity는 2026년에 정책이 크게 바뀜). 결제 전 각 공식 가격 페이지를 꼭 확인하세요.Prices, plans, and models are as of 2026 and change often (Codex & Antigravity shifted a lot in 2026). Always confirm on each official pricing page before paying.

PART III — Hermes Agent

08 · Hermes

Hermes Agent — 나와 함께 자라는 자율 에이전트Hermes Agent — an autonomous agent that grows with you

먼저 분명히 — Hermes Agent는 ‘코딩 도구’가 아니에요. Nous Research오픈소스 자율 에이전트로, 내 서버에서 돌며 쓸수록 스스로 배우고 기억하는 ‘개인 AI 비서’예요. 텔레그램·디스코드·슬랙·시그널·이메일·CLI로 대화하고, 자연어로 예약 작업까지 자동 실행해요. First, to be clear — Hermes Agent is NOT a coding tool. It's an open-source autonomous agent by Nous Research that runs on your server and learns and remembers as you use it — a personal AI assistant. Talk to it via Telegram, Discord, Slack, Signal, email, or CLI, and schedule recurring tasks in plain language.

스스로 성장Self-improving

경험에서 스킬을 만들고, 취향을 영구 기억.Builds skills from experience and remembers you.

어디서나 대화Talk anywhere

텔레그램·디스코드·슬랙·시그널·이메일·CLI.Telegram, Discord, Slack, Signal, email, CLI.

자동화 · 예약Automate

자연어 크론으로 리포트·백업을 무인 실행.Natural-language cron runs reports/backups unattended.

셀프호스팅 · 프라이버시Self-hosted

내 서버에서 동작, 텔레메트리 없음 · 오픈소스 · 무료.Runs on your server. No telemetry · open source · free.

그럼 코딩은?And coding?

코딩은 Hermes의 여러 일 중 하나일 뿐. 필요하면 Codex·OpenCode를 ‘스킬’로 연결할 수 있고, Codex를 구독(OAuth)으로 붙이면 API 종량제 없이 써요. (10장)Coding is just one of many things Hermes can do. You can wire Codex/OpenCode as a “skill”, and connecting Codex via subscription OAuth avoids API metering. (ch. 10)

09 · 설치Install

Hermes 설치하기Install Hermes

한 줄 설치 스크립트가 운영체제를 자동 감지해요.A one-line installer auto-detects your OS.

macOS · Linux · WSL · Termux

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

Windows (PowerShell)

iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)

첫 세팅First setup

# 설치 확인# verify
hermes --version

# 초기 설정 마법사# setup wizard
hermes setup
정보Info

Hermes는 도구 호출이 많아 컨텍스트 64,000 토큰 이상 모델을 권장해요.Hermes does heavy tool-calling, so a model with 64k+ context is recommended.

10 · Codex OAuth

(선택) Codex를 구독(OAuth)으로 연결(Optional) Connect Codex via subscription OAuth

이 챕터는 코딩까지 시키고 싶은 사람만 보면 돼요. API 키 대신 디바이스 코드 OAuth로 ChatGPT/Codex 구독 인증 → API 종량제 없이 사용. (코딩이 목적 아니면 건너뛰어도 OK)Only for those who also want coding. Instead of an API key, use device-code OAuth to auth with your ChatGPT/Codex subscription — no API metering. (Skip it if coding isn't your goal.)

  1. 1

    (선택) Codex CLI로 ChatGPT 로그인(Optional) Sign in via Codex CLI

    이미 Codex CLI를 쓰면 ~/.codex/auth.json 을 Hermes가 가져다 써요. 없어도 OK.If you already use Codex CLI, Hermes reuses ~/.codex/auth.json. Optional.

    npm install -g @openai/codex
    codex   # → 'Sign in with ChatGPT'# → choose 'Sign in with ChatGPT'
  2. 2

    Hermes에서 Codex 선택Pick Codex in Hermes

    hermes modelOpenAI Codex 선택 → OAuth 디바이스 코드 로그인(URL 열고 코드 입력).hermes model → choose OpenAI Codex → device-code OAuth (open the URL, enter the code).

    hermes model
    
    # (대안) 인증만 추가# (alt) just add auth
    hermes auth add openai-codex

    버전에 따라 이름이 다를 수 있어요 — hermes auth --help 로 확인.Names vary by version — check hermes auth --help.

  3. 3

    완료 — 구독으로 동작Done — runs on your sub

    API 키를 안 넣었으니 종량제 청구가 발생하지 않아요.No API key means no metered billing.

    hermes
꼭 확인Heads-up

구독 OAuth를 외부 도구에서 쓰는 건 OpenAI 약관·사용 한도의 적용을 받아요. 합리적인 범위에서 사용하세요.Using subscription OAuth in third-party tools is subject to OpenAI's terms & rate limits. Use it reasonably.

11 · 사용법Usage

Hermes 사용법 & 명령Hermes usage & commands

명령어Command설명What it does
hermes대화형 CLI 시작start the interactive CLI
hermes setup초기 설정 마법사setup wizard
hermes model모델/제공사 선택pick model/provider
hermes tools도구(웹검색 등) 켜고 끄기toggle tools (web search, etc.)
hermes gateway메신저 게이트웨이 시작start the messaging gateway
hermes update최신 버전으로 업데이트update to latest

(선택) Codex 스킬로 코딩 위임(Optional) Delegate coding to the Codex skill

코딩까지 시킬 때만. (※ git 저장소 안에서 실행)Only when you want coding. (※ run inside a git repo)

codex exec "설정 화면에 다크 모드 토글 추가add a dark-mode toggle to settings"
codex exec --full-auto "auth 모듈 리팩터링refactor the auth module"
정리Summary

Hermes는 ‘자동화·비서’ 자율 에이전트, OpenCode·Claude Code·Codex·Antigravity는 ‘코딩 전용’ CLI. 목적이 다르니 섞어 쓰면 좋아요.Hermes is an automation/assistant agent; OpenCode·Claude Code·Codex·Antigravity are coding CLIs. Different jobs — great together.

12 · FAQ

자주 묻는 질문FAQ

초보인데 코딩 몰라도 되나요?Can I use it without coding skills?

기본 터미널 사용만 익히면 시작 가능해요. 결과 검토엔 약간의 코드 이해가 도움이 됩니다.Basic terminal use is enough to start; a little code knowledge helps you review results.

정말 무료로 쓸 수 있나요?Is it really free?

네. OpenCode는 오픈소스라 무료고, Zen 무료 모델·OpenRouter :free·로컬 Ollama면 모델도 0원. 유료 CLI는 선택지예요.Yes. OpenCode is free (OSS); with Zen free models, OpenRouter :free, or local Ollama, models cost $0 too. Paid CLIs are optional.

OpenCode·Claude Code·Codex·Antigravity, 뭘 골라요?Which CLI should I pick?

무료·유연하면 OpenCode, Claude 모델이면 Claude Code, ChatGPT 구독이면 Codex, Gemini·구글이면 Antigravity. 자세한 건 ‘CLI 비교’.Free & flexible → OpenCode; Claude models → Claude Code; ChatGPT sub → Codex; Google/Gemini → Antigravity. See ‘Compare’.

Hermes Agent도 코딩 도구인가요?Is Hermes a coding tool?

아니에요. Hermes는 자율 비서 에이전트(기억·메신저·자연어 예약)예요. 코딩은 선택 스킬일 뿐입니다.No. Hermes is an autonomous assistant (memory, messengers, scheduled automation). Coding is just one optional skill.

구독으로 쓰면 API 종량 요금이 안 나오나요?Does a subscription avoid API metering?

API 키 대신 구독 OAuth면 사용량이 구독 한도로 처리돼 별도 종량 청구가 없어요. 단, 구독 한도·약관이 적용됩니다.With subscription OAuth (not an API key), usage runs against your plan with no separate metering. Plan limits and terms still apply.

가격이 위 표랑 달라요.Prices differ from the table.

가격·모델은 2026년 기준이고 자주 바뀌어요. 결제 전 공식 가격 페이지(푸터 링크)를 확인하세요.Prices/models are as of 2026 and change often. Check the official pricing pages (footer links) before paying.

실수로 파일이 망가지면요?What if a file gets messed up?

/undo 로 되돌리고, 평소 git으로 버전 관리하면 안전해요.Use /undo, and keep everything under git for safety.