DeepSHPlugins
illusion-agent 项目预览
GITHUB / COMMUNITY PROJECT

illusion-agent

Agent 与自动化PythonMIT

Illusion-Agent:幻想与功能相遇——面向终端、浏览器、任意模型与任意操作系统的 AI Agent 平台。

55 StarsYunTaiHua 更新时间 2026-09-02
访问 GitHub 仓库
illusion-agent 项目预览
illusion-agent 界面截图illusion-agent 界面截图illusion-agent 界面截图

项目介绍

中文

Illusion-Agent:幻想与功能相遇——面向终端、浏览器、任意模型与任意操作系统的 AI Agent 平台。

English

Illusion-Agent: where fantasy meets function — an AI agent platform for terminal, browser, any model and any OS.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
YunTaiHua
仓库
YunTaiHua/illusion-agent
GitHub Stars
55
Forks
8
开发语言
Python
许可证
MIT
最近推送
2026-09-02
Manifest
未检测到 / 未记录

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

83/ 100
维护活跃
95
文档与实用信息
85
生态关注度
61
安装便捷信号
80
项目声明信号
100

近 9 天仍在更新;README 含完整安装与使用说明。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

git clone https://github.com/YunTaiHua/illusion-agent.git

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

IllusionAgent

PyPI Python Platform GitHub

*Where fantasy meets functionality. The best of many worlds, refined into one intelligent agent.*

中文版 | English


📖 Introduction

IllusionAgent is an open-source AI agent platform. It unifies a multi-provider LLM gateway, a bilingual (Chinese/English) CLI, a browser-based Web UI, and a flexible extension ecosystem into a single intelligent agent — at home on Windows, macOS, and Linux.

Whether you prefer the discipline of the terminal or the ease of the browser, IllusionAgent resonates with your workflow: a rich built-in toolset, specialized sub-agents, two compaction methods, MCP server support, hooks, plugins, and a cron scheduler for unattended automation — spanning Feishu, WeChat, and QQ.

Standing on the shoulders of giants — Claude Code prompts, OpenHarness
architecture, OpenClaw scheduling, kimi-cli infrastructure, hermes-agent
channels, cc-switch routing.

Core Features

  • 🤖 Multi AI Provider Support - Anthropic, OpenAI, Copilot, Codex, and any compatible endpoint
  • 🧠 Multi-Agent Collaboration - Built-in specialized agents (general-purpose, explore, verification)
  • 🛠️ Rich Toolset - Full base + channel toolset + MCP dynamic tool extension
  • 📦 Context Compaction - Microcompact (clear old tool results) + full compaction (LLM summary), auto-triggered as context fills
  • 🌐 Web UI Interface - Browser-based chat interface with illusion web, independently usable alongside the terminal
  • 🌍 Bilingual Interface - Chinese/English auto-switch via ui_language setting
  • 📝 Comprehensive Markdown Rendering - Tables, code blocks, rich text
  • 🔌 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
  • 🪟 Deep Windows Optimization - Auto-detect Git, PowerShell support
  • 🖥️ Zero Terminal Flicker - Stable rendering based on Ink Static component
  • 📦 Desktop Edition - Electron shell with bundled Python/Node.js, installers for Windows/macOS/Linux, zero environment setup, in-app auto-update

Interface Preview

Welcome screen & rich text rendering

IllusionAgent welcome screen

IllusionAgent rich text rendering

Demo video

Click to watch demo video

📺 Watch demo on YouTube


🚀 Quick Start

Requirements

  • Python >= 3.10
  • Supports Windows, macOS, Linux
  • Node.js 18+ (only for source install; pip install illusion-agent does not require Node.js)

Installation

# Recommended: pip install from PyPI (no Node.js required)
pip install illusion-agent

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

Desktop Edition

Prefer a desktop app without installing Python or Node.js? Download the installer for your platform — it bundles everything, zero environment setup:

PlatformDownload
WindowsIllusionAgent-Setup-<version>.exe (NSIS installer)
macOSIllusionAgent-<version>-arm64.dmg
LinuxIllusionAgent-<version>-amd64.deb or IllusionAgent-<version>-x86_64.AppImage

👉 Download from GitHub Release

The desktop edition bundles Python 3.12 and Node.js 24 runtimes internally. See Desktop Edition docs for details.

Basic Usage

# First-time: configure authentication and working directory
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"

# Set or update working directory
illusion set "E:\Projects\my-project"

Print Mode Notes

-p / --print runs a single non-interactive request and exits:

# Read-only analysis (safe, default permission mode)
illusion -p "Analyze the structure of this project"

# Allow file writes / command execution without interactive approval
illusion --permission-mode full_auto -p "Fix the failing tests"

# Resume after the process exits with code 2 (pending question/permission/plan)
illusion -c -p "Y"

# Specify model and effort for print mode
illusion -m env_1.model_2 -e high -p "Refactor this module"

Important details:

  • The prompt value must be the last argument because typer parses -p greedily.
  • In default permission mode, mutating tools exit with code 2 and persist a pending approval; answer it with illusion -c -p "Y", "F", or "N".
  • Exit codes: 0 success, 1 error, 2 waiting for cross-turn input.

Interface Notes

The terminal (illusion) and Web UI (illusion web) are two independent, first-class interfaces. They share the same backend runtime, settings, and session storage — use whichever fits your workflow.


📚 Detailed Documentation


📄 License

This project is open-sourced under the MIT license.


🤝 Contributing

Welcome to submit Issues and Pull Requests!


使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目