Skip to main content

Open-source Python port of Claude Code - an AI-powered CLI coding assistant

Project description

IllusionCode

AI-Powered Command-Line Programming Assistant

The best of many worlds, unified into one intelligent coding tool

中文版 | English


📖 Introduction

IllusionCode is an open-source AI-powered command-line programming assistant that brings together the best ideas from many projects and adds its own innovations. It inherits Claude Code's complete prompt system and tool architecture, draws inspiration from OpenHarness's Python architecture design, uses the same Cron task scheduling architecture as OpenClaw, and implements flexible proxy routing through cc-switch. On this foundation, IllusionCode provides deep Windows optimization, full bilingual (Chinese/English) interface support, more comprehensive Markdown terminal rendering than comparable projects, and a browser-based Web UI for a modern chat experience.

Core Features

  • 🌐 Web UI Interface - Browser-based chat interface with illusion web
  • 🪟 Deep Windows Optimization - Auto-detect Git, PowerShell support
  • 🖥️ Zero Terminal Flicker - Stable rendering based on Ink Static component
  • 🌍 Bilingual Interface - Chinese/English auto-switch via ui_language setting
  • 📝 Comprehensive Markdown Rendering - Tables, code blocks, rich text
  • 🤖 Multi AI Provider Support - Anthropic, OpenAI, Copilot, Codex, and any compatible endpoint
  • 🛠️ Rich Toolset - 34 built-in tools + MCP dynamic tool extension
  • ⌨️ 47 Slash Commands - Session, config, project, scheduling
  • 🧠 Multi-Agent Collaboration - 7 built-in specialized Agents
  • 🔌 Flexible Extension System - Plugins, hooks, skills, MCP servers
  • 🔐 Comprehensive Permission Control - Three modes + fine-grained rules
  • 🎯 Reasoning Effort Control - low/medium/high/xhigh/max levels

Interface Preview

Welcome screen & rich text rendering

IllusionCode welcome screen IllusionCode rich text rendering

🚀 Quick Start

Requirements

  • Python >= 3.10
  • Supports Windows, macOS, Linux
  • Node.js 18+(仅源码安装需要,pip install illusion-code 无需 Node.js)

Installation

# Recommended: pip install from PyPI(无需 Node.js)
pip install illusion-code

# Alternative: from source(需要 Node.js 18+)
git clone https://github.com/YunTaiHua/illusion-code.git
cd illusion-code
pip install .

Basic Usage

# First-time: configure authentication
illusion auth login

# Start interactive session (recommended)
illusion

# Launch Web UI in browser
illusion web

# Non-interactive print mode
illusion -p "Analyze the structure of this project"

# Specify model
illusion -m env_1.model_2

📚 Detailed Documentation

Topic English 中文
Introduction docs/en/introduction.md docs/zh-CN/introduction.md
Getting Started docs/en/getting-started.md docs/zh-CN/getting-started.md
Commands docs/en/commands.md docs/zh-CN/commands.md
Settings & Credentials docs/en/settings.md docs/zh-CN/settings.md
Project Files & Memory docs/en/project-files.md docs/zh-CN/project-files.md
Extensions (MCP, Plugins, Skills, Hooks) docs/en/extensions.md docs/zh-CN/extensions.md
Architecture docs/en/architecture.md docs/zh-CN/architecture.md
Messaging Channels docs/en/channels.md docs/zh-CN/channels.md

📄 License

This project is open-sourced under the MIT license.


🤝 Contributing

Welcome to submit Issues and Pull Requests!


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

illusion_code-0.2.14.tar.gz (11.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

illusion_code-0.2.14-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file illusion_code-0.2.14.tar.gz.

File metadata

  • Download URL: illusion_code-0.2.14.tar.gz
  • Upload date:
  • Size: 11.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for illusion_code-0.2.14.tar.gz
Algorithm Hash digest
SHA256 1b5e29d34c51947788be154a7f218f214b8e97da9b3502d707a0f66e784106b0
MD5 a2987a00fc7878b8ef7eb7a57b60d2e9
BLAKE2b-256 831bb7bee3d5e60570fe78eeba361938f6151750581a38e8b5f4f4b5ab8f8567

See more details on using hashes here.

Provenance

The following attestation bundles were made for illusion_code-0.2.14.tar.gz:

Publisher: publish.yml on YunTaiHua/illusion-code

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file illusion_code-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: illusion_code-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for illusion_code-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 73c7756a1bba38b62a6dd6c46c93ad7b0df7c417fd3a5c9da3dfc941886114b3
MD5 71bd801b571bef0fa03adb4f5060612e
BLAKE2b-256 03c4ff3fef4f94d72340b55624a4020e3764c272486746f837ae7e4fa63c9330

See more details on using hashes here.

Provenance

The following attestation bundles were made for illusion_code-0.2.14-py3-none-any.whl:

Publisher: publish.yml on YunTaiHua/illusion-code

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page