An AI-powered terminal assistant for code understanding, task automation, and system management. Copilot Shell is a core component of ANOLISA, built on top of upstream Qwen Code v0.9.0.
- Natural Language Coding — Describe changes in plain language to modify code, implement features, or fix bugs.
- Code Analysis & Navigation — Understand entire project structures and answer code-related questions.
- Multi-Tool Orchestration — Integrates file, shell, search, web, LSP, and MCP tools in a single session.
- Interactive Shell —
/bashcommand to drop into an interactive shell; typeexitto return. - Skill System — Local + remote skill discovery with priority-based fallback (Project > User > Extension > Remote).
- Hooks System — PreToolUse events for intercepting tool calls before execution.
- Git Workflow Automation — Automate commits, branch creation, conflict resolution, and release notes.
- Multi-Provider Support — Qwen OAuth, Aliyun (BaiLian), Custom Provider (DashScope, DeepSeek, Kimi, GLM, MiniMax, or any OpenAI-compatible endpoint).
- PTY Mode — Full pseudo-terminal support including
sudocommands. - Extensible — Extend capabilities via MCP servers and custom skills.
sudo yum install copilot-shellcd src/copilot-shell
make buildmake start
# Interactive mode
cosh
# Or use alternative aliases
co
copilot# Qwen OAuth (free tier: 2,000 requests/day)
cosh # follow the on-screen prompts
# API Key
cosh --auth apikey
# BaiLian / Custom Provider (OpenAI Compatible)
cosh --auth openaiCopilot Shell uses a monorepo layout with npm workspaces:
| Package | Description |
|---|---|
packages/cli |
Terminal UI layer — input handling, command parsing, Ink/React rendering |
packages/core |
Backend core — AI model communication, prompt building, tool orchestration |
packages/test-utils |
Shared test utilities |
- Node.js >= 20.0.0
- npm (included with Node.js)
make install # Install dependencies
make build # Build all packages
make test # Run unit tests
make lint # Lint with ESLint
make format # Format with Prettiermake rpmCopilot Shell uses a layered configuration system (highest priority first):
- Command-line arguments
- Environment variables
- Project settings (
.copilot/settings.json) - User settings (
~/.copilot/settings.json) - System settings
- Defaults
Apache License 2.0 — see LICENSE for details.