kolosal-cli

Из публичных источников

Сверхлёгкая альтернатива Ollama и Qwen Code для запуска Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, Mistral Small 3.1 и других больших языковых моделей.

Машинный перевод · Показать оригинал

Super lightweight Ollama + Qwen Code alternative to run Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, Mistral Small 3.1 and other large language models.

AI-инструментКатегория: AI-инструментыOpen sourceданные проверены 16 окт. 2026 г.

Обзор

  • agent
  • agents
  • cli
  • coding
  • deepseek
  • gemma
  • gemma3
  • gemma3n
  • llama
  • llama2
  • llama3
  • llava

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    kolosal.ai/ ↗
  • Файлы официального релизаИз публичных источниковиз последнего официального релиза
    github.com/KolosalAI/kolosal-cli/releases/tag/v0.1.3 ↗
  • Реестр пакетов языкаnodejsИз публичных источниковиз манифеста пакета — публикация в реестре не проверена
    npm install -g @kolosal-code/kolosal-code

    Не проверено: перед установкой убедитесь, что пакет в реестре принадлежит этому проекту.

    www.npmjs.com/package/@kolosal-code/kolosal-code ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/KolosalAI/kolosal-cli ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
WindowsСовместимо—официальная сборка в релизе v0.1.3: KolosalCode-0.1.3-Setup.exe0.60
Совместимоx86_64официальная сборка в релизе v0.1.3: KolosalCode-0.1.3-win-x64.zip0.70
macOSНеизвестно———
LinuxСовместимоx86_64официальная сборка в релизе v0.1.3: kolosal-code-0.1.3-1.x86_64.rpm0.70
Web browserНеизвестно———
Server / self-hostedНеизвестно———
Container (OCI)Неизвестно———
Node.jsСовместимо—манифест пакета: package.json name0.60

Релизы

проверено 30 окт. 2026 г.
v0.1.3Последний16 окт. 2025 г.Официальный источник ↗

Файлы версии 0.1.3

Маркетплейс не хранит эти файлы: загрузка идёт из официального источника. Мы их не сканировали.
ФайлПлатформаРазмерSHA-256Скачать из официального источника
KolosalCode-0.1.3-Setup.exewindows · exe182,7 MB434edaeda77d…Официальный источник ↗
KolosalCode-0.1.3-win-x64.zipwindows · x86_64 · zip105,6 MB332c04718233…Официальный источник ↗
kolosal-code-0.1.3-1.x86_64.rpmlinux · x86_64 · rpm77,8 MBedaadbd6bb80…Официальный источник ↗
kolosal-code-0.1.3-linux-x64.tar.gzlinux · x86_64 · tarball79,1 MB80b5f724b427…Официальный источник ↗
kolosal-code_0.1.3_amd64.deblinux · x86_64 · deb53,5 MBecb5d95a54cb…Официальный источник ↗

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 16 окт. 2026 г.
Оценка качества78
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 206
last activity 295 days ago
Документация · 1515
README 10038 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
5 release(s), latest 364 days ago
Точность категории · 105
classifier confidence 0.5
Популярность · 107
466 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX Apache-2.0
Сообщество · 55
issues enabled, 15 forks

Лицензия

Apache-2.0
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/KolosalAI/kolosal-cliОсновной★ 466 звёздактивность 24 дек. 2025 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

ollamaПохожий
Ollama — открытый AI-инструмент для запуска открытых моделей, таких как Gemma, DeepSeek, Qwen и gpt-oss, локально или в облаке, с CLI, REST API и библиотеками для Python и JavaScript.MIT · AI-инструменты
gptmeПохожий
Ваш агент в терминале, оснащённый локальными инструментами: пишет код, работает с терминалом, просматривает веб. Создайте на его основе собственного постоянно действующего автономного агента!MIT · AI-инструменты
clawcodexПохожий
Токеноэффективная полная перестройка Claude Code на Python. ИИ-агент для программирования на 310 тысяч строк кода Python.MIT · AI-инструменты
agenticaПохожий
Один человек, команда агентов. Многосессионный CLI, который работает в нескольких терминалах; /goal поддерживает выполнение длительных задач; шлюз WeChat/WeCom/Feishu позволяет вернуться к агентам, когда вы отошли. Асинхронный Python SDK, постоянная память, самосовершенствующиеся навыки.Apache-2.0 · AI-инструменты
momo-codeПохожий
MOMO CODE — ИИ-агент для программирования, который развивается вместе с вамиAI-инструменты
codeAgentПохожий
CodeAgent — это агент для программирования с открытым исходным кодом, который работает в вашем терминале. Он понимает ваш репозиторий, планирует многошаговые изменения, создаёт и редактирует файлы, запускает команды и тесты и продолжает работу, пока задача не будет выполнена — и всё это через прозрачный и расширяемый цикл инструментов.MIT · AI-инструменты

README

Из KolosalAI/kolosal-cli · лицензия Apache-2.0 · загружено 30 окт. 2026 г.

Kolosal CLI

[npm version] [License] [Node.js Version]

AI-powered command-line workflow tool for developers

Installation • Quick Start • Features • Documentation • Contributing

Kolosal CLI is a powerful command-line AI workflow tool that enhances your development workflow with advanced code understanding, automated tasks, and intelligent assistance. Based on Qwen Code models, it provides seamless integration with your existing development environment.

Features

  • Code Understanding & Editing - Query and edit large codebases beyond traditional context window limits
  • Workflow Automation - Automate operational tasks like handling pull requests and complex rebases
  • Enhanced Parser - Optimized specifically for code-oriented models
  • Vision Model Support - Automatic detection and multimodal analysis of images in your input
  • Flexible Model Support - Works with OpenAI-compatible APIs and Hugging Face models

Installation

Quick Install (Recommended)

Install KolosalCode with a single command:

# macOS or Linux
curl -fsSL https://raw.githubusercontent.com/KolosalAI/kolosal-cli/main/install.sh | bash

# Linux (with sudo)
curl -fsSL https://raw.githubusercontent.com/KolosalAI/kolosal-cli/main/install.sh | sudo bash

The installer automatically detects your operating system and installs the appropriate package.

Alternative Installation Methods

Requires Node.js version 20 or higher.

npm install -g @kolosal-ai/kolosal-ai@latest
kolosal --version

macOS:

# Download and install the .pkg
curl -LO https://github.com/KolosalAI/kolosal-cli/releases/download/v0.1.0-pre/KolosalCode-macos-signed.pkg
sudo installer -pkg KolosalCode-macos-signed.pkg -target /

Linux (Debian/Ubuntu):

# Download and install the .deb
wget https://github.com/KolosalAI/kolosal-cli/releases/download/v0.1.0-pre/kolosal-code_0.1.2_amd64.deb
sudo dpkg -i kolosal-code_0.1.2_amd64.deb
sudo apt-get install -f  # Fix dependencies if needed
git clone https://github.com/KolosalAI/kolosal-cli.git
cd kolosal-cli
npm install
npm run build
npm link  # Optional: install globally

See CONTRIBUTING.md for detailed build instructions.

Verify Installation

kolosal --version
kolosal --help

For detailed installation instructions and troubleshooting, see docs/INSTALLATION.md.

Homebrew (Coming Soon)

brew install kolosal-ai

Quick Start

# Start Kolosal CLI
kolosal

# Example commands
> Explain this codebase structure
> Help me refactor this function
> Generate unit tests for this module

Authentication Options

1. OpenAI Compatible API

Set environment variables or create a .env file:

export OPENAI_API_KEY="your_api_key_here"
export OPENAI_BASE_URL="your_api_endpoint" 
export OPENAI_MODEL="your_model_choice"
2. Hugging Face LLM Models

Configure Hugging Face models for local or API-based inference:

export HF_TOKEN="your_huggingface_token"
export HF_MODEL="your_model_name"

Note: Kolosal CLI may issue multiple API calls per cycle, which can result in higher token usage. We're actively optimizing API efficiency.

Configuration

Session Management

Configure token limits in .kolosal/settings.json:

{
  "sessionTokenLimit": 32000
}
Vision Models

Kolosal CLI automatically detects images and switches to vision-capable models. Configure the behavior:

{
  "experimental": {
    "vlmSwitchMode": "once",  // "once", "session", "persist"
    "visionModelPreview": true
  }
}

Usage Examples

Code Analysis & Understanding

> Explain this codebase architecture
> What are the key dependencies and how do they interact?
> Find all API endpoints and their authentication methods
> Generate a dependency graph for this module

Code Development & Refactoring

> Refactor this function to improve readability and performance
> Convert this class to use dependency injection
> Generate unit tests for the authentication module
> Add error handling to all database operations

Workflow Automation

> Analyze git commits from the last 7 days, grouped by feature
> Create a changelog from recent commits
> Find and remove all console.log statements
> Check for potential SQL injection vulnerabilities

Commands & Shortcuts

Session Commands

  • /help - Display available commands
  • /clear - Clear conversation history
  • /compress - Compress history to save tokens
  • /stats - Show current session information
  • /exit or /quit - Exit Kolosal CLI

Keyboard Shortcuts

  • Ctrl+C - Cancel current operation
  • Ctrl+D - Exit (on empty line)
  • Up/Down - Navigate command history

Development & Contributing

See CONTRIBUTING.md to learn how to contribute to the project.

Distribution

Windows Package

Build a single executable and installer:

npm run bundle               # builds bundle/gemini.js
npm run build:win:exe        # creates dist/win/kolosal.exe
iscc installer/kolosal.iss   # creates installer

macOS Package

Build a standalone .pkg installer with bundled Node.js:

npm run build:mac:pkg

Creates dist/mac/KolosalCode-macos-signed.pkg - a self-contained package that requires no Node.js installation.

Linux Packages

Build Linux packages (.deb, .rpm, and .tar.gz):

# Build all formats
npm run build:linux

# Build specific format
npm run build:linux:deb      # Debian/Ubuntu package
npm run build:linux:rpm      # Red Hat/Fedora package  
npm run build:linux:tar      # Universal tarball

# Or use the convenience script
bash scripts/clean-build-linux.sh [all|deb|rpm|tar]

Creates packages in dist/linux/ with bundled Node.js - no separate runtime installation needed.

See docs/LINUX-PACKAGING.md for detailed Linux packaging documentation.

Acknowledgments

Kolosal CLI is built upon and adapted from the Qwen Code project, which is licensed under the Apache License, Version 2.0. We acknowledge and appreciate the excellent work of the Qwen development team.

This project also incorporates concepts and approaches from Google Gemini CLI. We appreciate the foundational work that made this project possible.

License

Licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

This product includes software developed from the Qwen Code project, which is also licensed under the Apache License, Version 2.0.

CLI Embedded API (experimental)

The embedded API is enabled by default. It starts alongside the CLI and listens on 127.0.0.1:38080 unless configured otherwise.

Configure via settings.json or environment variables.

Start a local HTTP API alongside the CLI using environment variables:

  • KOLOSAL_CLI_API=true — enable the API server
  • KOLOSAL_CLI_API_PORT=38080 — port to listen on (default 38080)
  • KOLOSAL_CLI_API_HOST=127.0.0.1 — host binding (default 127.0.0.1)
  • KOLOSAL_CLI_API_TOKEN=secret — if set, requests must include Authorization: Bearer

Endpoints:

  • GET /healthz — health check
  • POST /v1/generate — generate content

Request (JSON):

{ "input": "Your prompt here", "stream": false, "prompt_id": "optional-id", "history": [] // optional: conversation history for multi-turn }

Response (JSON):

{ "output": "model response text", "prompt_id": "...", "messages": [...], // transcript of this turn "history": [...] // updated conversation history (pass this back for next turn) }

Streaming: Set stream=true to receive Server-Sent Events (SSE). Events are sent in real-time as they occur:

  • event: content — data: incremental text chunk
  • event: assistant — data: {"type":"assistant","content":"full assistant message"}
  • event: tool_call — data: {"type":"tool_call","name":"toolName","arguments":{...}}
  • event: tool_result — data: {"type":"tool_result","name":"toolName","ok":true,"responseText":"..."}
  • event: history — data: [...] (updated conversation history)
  • event: done — data: true
  • event: error — data: {"message":"..."}

Alternatively, configure via settings.json (used by the CLI):

{ "api": { "enabled": true, "host": "127.0.0.1", "port": 38080, "token": "your-token", "corsEnabled": true } }

Example requests

Plain JSON response:

curl -s \
  -H 'Content-Type: application/json' \
  -X POST http://127.0.0.1:38080/v1/generate \
  -d '{"input":"Summarize the project structure.","stream":false}'

Server-Sent Events (SSE) streaming response:

curl -N -s \
  -H 'Content-Type: application/json' \
  -X POST http://127.0.0.1:38080/v1/generate \
  -d '{"input":"Summarize the project structure","stream":true}'

Multi-turn conversation (maintaining context):

# First turn
RESPONSE=$(curl -s \
  -H 'Content-Type: application/json' \
  -X POST http://127.0.0.1:38080/v1/generate \
  -d '{"input":"What is 2+2?","stream":false}')

# Extract history from response
HISTORY=$(echo $RESPONSE | jq -c '.history')

# Second turn - pass history to maintain context
curl -s \
  -H 'Content-Type: application/json' \
  -X POST http://127.0.0.1:38080/v1/generate \
  -d "{\"input\":\"Now multiply that by 3\",\"stream\":false,\"history\":$HISTORY}" | jq
Открыть репозиторий ↗