앱
Cosvexa CLI
터미널 속 코딩 에이전트: 설치, 로그인, 명령, 승인 모드, Council 리뷰, CI 활용.
설치와 로그인
Node.js 20 이상이 필요해요.
bash
npm i -g https://cosvexa.ai/downloads/cosvexa-cli-0.1.0.tgz
cosvexa --version
cosvexa login --browser # device code, approve in your browser
cosvexa login # or paste an API key that starts with cvx_
cosvexa status설정은 Windows에서는 %APPDATA%\cosvexa\config.json에, macOS와 Linux에서는 ~/.config/cosvexa/config.json에 저장돼요. COSVEXA_API_KEY, COSVEXA_MODEL, COSVEXA_BASE_URL 환경 변수도 지원해요.
기본 사용법
bash
cd my-project
cosvexa "make the failing date test pass" # one task
cosvexa # interactive session
cosvexa -c "now add tests" # continue the last session
cosvexa sessions # list sessions
cosvexa init # draft COSVEXA.md project instructions
cosvexa models # models you can use모델과 노력 수준
-m claude-sonnet-5-5는 특정 모델을 고르며 항상 우선해요.--effort low|medium|high(또는/effort)는 선택한 모델이 답하기 전에 얼마나 깊이 생각할지 정해요. 모델 자체는 바꾸지 않아요. 생각 수준 설정이 없는 모델은 이 값을 무시해요.
안전
--mode ask|auto-edit|plan|full-auto로 승인 모드를 정해요(대화형 세션에서는Shift+Tab).full-auto에는--yolo도 필요해요.--read-only는 읽기, 목록, 검색 도구만 허용해요./undo는 에이전트가 마지막으로 바꾼 파일을 되돌려요. 위험한 명령은--yes를 써도 모든 모드에서 물어봐요.
코드 리뷰와 Council
bash
cosvexa review # review local changes
cosvexa review --base main # review the diff against main
cosvexa "add input validation" --council
cosvexa --team "refactor the payments module"Council과 팀 작업은 먼저 비용 상한 예상치를 보여주고 확인을 요청해요.
스크립트와 CI
bash
cosvexa -p "summarise the open TODOs"
cosvexa -p --yes "fix the lint errors" --json종료 코드: 0 완료, 1 오류, 2 잘못된 사용법, 3 단계 또는 출력 한도에서 중지.
대화형 명령
/model, /mode, /undo, /compact, /context, /init, /review, /team, /cost, /clear, /exit. 직접 만든 명령은 .cosvexa/commands/<name>.md 파일로 추가하세요. @path로 파일을 첨부해요. 컨텍스트가 80% 차면 자동으로 요약돼요.
MCP와 OpenCode
cosvexa mcp로 MCP 서버를 관리해요(--no-mcp로 끌 수 있어요). cosvexa opencode는 Cosvexa를 제공업체로 하여 OpenCode를 설정해요(먼저 npm i -g opencode-ai를 실행하세요).