Communitygithub.com

cli-anything-novita

Novita AI를 위한 CLI 도구입니다. DeepSeek, GLM 등 다양한 AI 모델과 OpenAI 호환 API를 통해 상호작용합니다.

cli-anything-novita란 무엇인가요?

`cli-anything-novita`는 Novita AI 서비스를 위한 명령줄 인터페이스(CLI) 도구입니다. 이 도구는 DeepSeek, GLM, MiniMax 등 여러 제공업체의 AI 모델과 대화형 채팅, 스트리밍, 모델 목록 조회 등을 지원합니다. Python 3.10 이상 환경에서 `pip`으로 간단히 설치할 수 있으며, Novita API 키를 설정하면 바로 사용할 수 있습니다. 주요 기능으로는 대화형 REPL 모드, 비대화형 명령어 실행, 설정 관리, 세션 히스토리 관리, API 연결 테스트 등이 있습니다. 특히 `--json` 플래그를 지원하여 AI 에이전트가 파싱 가능한 구조화된 JSON 출력을 생성하므로, 자동화된 워크플로우에 통합하기에 적합합니다. 기본 모델은 `deepseek/deepseek-v3.2`이며, `config set`, 환경 변수 등을 통해 API 키를 설정할 수 있습니다. CLI는 `typer` 라이브러리로 구축되었으며, `httpx`를 통해 Novita API와 통신합니다.

지원 대상~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-novita

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

cli-anything-novita은(는) 무엇을 하나요?

Novita AI를 위한 CLI 도구입니다. DeepSeek, GLM 등 다양한 AI 모델을 제공하는 OpenAI 호환 API 서비스입니다.

설치

이 CLI는 cli-anything-novita 패키지의 일부로 설치됩니다:

pip install cli-anything-novita

사전 요구사항:

  • Python 3.10+
  • novita.ai에서 발급받은 Novita API 키

사용법

기본 명령어

# 도움말 보기
cli-anything-novita --help

# 대화형 REPL 모드 시작
cli-anything-novita

# 모델과 채팅
cli-anything-novita chat --prompt "AI란 무엇인가?" --model deepseek/deepseek-v3.2

# 스트리밍 채팅
cli-anything-novita stream --prompt "코드에 대한 시를 써줘"

# 사용 가능한 모델 목록
cli-anything-novita models

# JSON 출력 (에이전트 소비용)
cli-anything-novita --json chat --prompt "안녕하세요"

REPL 모드

하위 명령어 없이 호출하면 대화형 REPL 세션이 시작됩니다:

cli-anything-novita
# 탭 완성 및 히스토리 기능과 함께 대화형으로 명령어 입력

명령어 그룹

채팅

Novita API를 통해 AI 모델과 채팅합니다.

명령어설명
chatNovita API와 채팅
stream스트리밍 채팅 완성

세션

채팅 히스토리를 관리하는 세션 관리.

명령어설명
status세션 상태 표시
clear세션 히스토리 지우기
history명령어 히스토리 보기

설정

설정 관리.

명령어설명
set설정 값 설정
get설정 값 가져오기 (또는 전체 보기)
delete설정 값 삭제
path설정 파일 경로 표시

유틸리티

명령어설명
testAPI 연결 테스트
models사용 가능한 모델 목록

예제

API 키 설정

# 설정 파일을 통해 API 키 설정 (권장)
cli-anything-novita config set api_key "sk-xxx"

# 또는 환경 변수 사용
export NOVITA_API_KEY="sk-xxx"

DeepSeek와 채팅

# 간단한 채팅
cli-anything-novita chat --prompt "양자 컴퓨팅 설명해줘" --model deepseek/deepseek-v3.2

# 스트리밍 채팅
cli-anything-novita stream --prompt "팩토리얼을 계산하는 Python 함수 작성해줘"

연결 테스트

# API 키 및 연결 확인
cli-anything-novita test --model deepseek/deepseek-v3.2

# 사용 가능한 모든 모델 목록
cli-anything-novita models

기본 모델

Novita API는 여러 모델 제공업체를 지원합니다:

모델 ID제공업체설명
deepseek/deepseek-v3.2DeepSeekDeepSeek V3.2 모델 (기본값)
zai-org/glm-5Zhipu AIGLM-5 모델
minimax/minimax-m2.5MiniMaxMiniMax M2.5 모델

출력 형식

모든 명령어는 이중 출력 모드를 지원합니다:

  • 사람이 읽기 쉬운 (기본값): 표, 색상, 형식화된 텍스트
  • 기계가 읽기 쉬운 (--json 플래그): 에이전트 소비용 구조화된 JSON
# 사람용 출력
cli-anything-novita chat --prompt "안녕하세요"

# 에이전트용 JSON 출력
cli-anything-novita --json chat --prompt "안녕하세요"

AI 에이전트를 위한 안내

이 CLI를 프로그래밍 방식으로 사용할 때:

  1. 항상 --json 플래그를 사용하여 파싱 가능한 출력을 얻으세요.
  2. 반환 코드를 확인하세요 - 0은 성공, 0이 아니면 오류입니다.
  3. stderr를 파싱하여 오류 시 메시지를 확인하세요.
  4. 모든 파일 작업에 절대 경로를 사용하세요.
  5. 내보내기 작업 후 출력이 존재하는지 확인하세요.

추가 정보

  • 전체 문서: 패키지 내 README.md 참조
  • 테스트 커버리지: 패키지 내 TEST.md 참조
  • 방법론: cli-anything-plugin의 HARNESS.md 참조

버전

1.0.0

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

관련 스킬