본문으로 건너뛰기
모든 클라이언트
Persistent CLI & ACP Agent1M Context · ZDR

Hermes

커맨드라인에서 모든 설정을 마칠 수 있는 개인용 에이전트.

기본 URL
https://api.bf16.ai/v1
프로토콜
openai-completions

대상 사용자
Hermes에서 1M 전체 컨텍스트 윈도우를 활용하려는 사용자.

아키텍처 및 bf16.ai 연동 구조

Hermes Agent (~/.hermes/config.yaml) connected to api.bf16.ai/v1 with 1,048,576 context length
Hermes Agent stores persistent memories and skills under ~/.hermes while sending full 1M-context OpenAI-compatible turns to api.bf16.ai/v1.

Hermes Agent (by Nous Research) combines persistent local skills, long-term memory, and Agent Client Protocol (ACP) integration so the same agent works in your terminal and inside desktop hosts like OpenBot.

By default, Hermes caps custom OpenAI-compatible endpoints at a conservative context window unless model.context_length is explicitly raised. Setting model.context_length to 1048576 unlocks the full 1M-token window across bf16.ai’s uncensored GLM, DeepSeek, and Kimi models.

명령어에는 $BF16_API_KEY가 표시됩니다. 로그인하면 내 실제 키가 자동으로 채워집니다.

원커맨드 빠른 설정

One-Command Hermes Agent Configuration

Installs Hermes if absent, writes BF16_API_KEY into ~/.hermes/.env (chmod 600), sets provider/base_url/model/1M context_length via hermes config set, and prints the active config.

export BF16_API_KEY="sk-bf16-v1-..."
command -v hermes >/dev/null 2>&1 || (curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash)
mkdir -p ~/.hermes && umask 077 && touch ~/.hermes/.env
grep -v '^OPENAI_API_KEY=' ~/.hermes/.env > ~/.hermes/.env.tmp && mv ~/.hermes/.env.tmp ~/.hermes/.env
printf 'OPENAI_API_KEY=%s\n' "$BF16_API_KEY" >> ~/.hermes/.env
hermes config set model.provider custom
hermes config set model.base_url https://api.bf16.ai/v1
hermes config set model.default zai-org/glm-5.3-uncensored
hermes config set model.context_length 1048576
hermes config show
  1. 1

    API 키 내보내기

    Hermes는 BF16_API_KEY 환경변수를 읽습니다.

    export BF16_API_KEY=sk-bf16-v1-...
  2. 2

    bf16 엔드포인트 지정

    hermes config set model.provider custom
    hermes config set model.base_url https://api.bf16.ai/v1
    hermes config set model.key_env BF16_API_KEY
    hermes config set model.default zai-org/glm-5.3-uncensored
    hermes config set model.context_length 1048576
Hermes Agent — ~/.hermes/config.yaml
설정 필드 인스펙터
~/.hermes/config.yaml + ~/.hermes/.env

핵심 설정값 대조표

model.provider
custom
model.base_url
https://api.bf16.ai/v1
model.default
zai-org/glm-5.3-uncensored
model.context_length
1048576

Required to prevent early truncation below 1M tokens.

Image attachments sent during a text-only glm-5.3-uncensored session automatically fall back on bf16.ai to deepseek-v4.1-flash-uncensored.

역할별 권장 모델 구성

복잡한 설계는 플래그십 모델로, 병렬 서브에이전트와 스크린샷은 Flash 모델로 분리하세요.

역할모델 ID권장 사유USD / 1M 토큰
Primary Reasoning & Engineering Agentzai-org/glm-5.3-uncensoredDeep tool execution and multi-file reasoning across 1M-token workspaces.$1.35 in / $0.25 cached / $4.20 out
Fast Multimodal & Sub-Tasksdeepseek/deepseek-v4.1-flash-uncensoredNative vision + high-speed tool loops for web research and screenshot tasks.$0.26 in / $0.045 cached / $1.00 out

제대로 작동하는지 확인하는 방법

  • hermes config show 실행 시 bf16 기본 URL이 출력됩니다.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

운영 가드레일 및 예산 격리

  • Restrict skills.trusted_project_dirs in ~/.hermes/config.yaml to repositories you own.
  • Keep ~/.hermes/.env mode 0600 so local keys stay readable only by your OS user.

자주 발생하는 오류

증상
1M 토큰에 도달하기 훨씬 전에 컨텍스트가 잘립니다.
원인
model.context_length가 기본값으로 남아 있습니다.
해결
위 명령어처럼 1048576으로 설정하세요.

아직 설치하지 않으셨나요?

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
공식 문서