dshbase

插件目录 / AI Models / illusion-agent

illusion-agent

已验证 · 实测可装 YunTaiHua

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

70Stars
8Forks
2未关闭 issue
Python语言
2026-09-14最近推送
跨平台平台

功能简介

Illusion-Agent:幻想与功能结合,终端、浏览器、任意模型/OS的AI平台。

✅
我们的评价
可用 — 实测通过,社区增长中

Illusion-Agent:幻想与功能结合,终端、浏览器、任意模型/OS的AI平台。 实测能干净安装、正常启动。社区在增长,是个稳妥选择。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

🚀 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:

Platform Download
Windows IllusionAgent-Setup-<version>.exe (NSIS installer)
macOS IllusionAgent-<version>-arm64.dmg
Linux IllusionAgent-<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

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
Goal (Auto-Continuation) docs/en/goal.md docs/zh-CN/goal.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
Web UI Security docs/en/security.md docs/zh-CN/security.md
Token Metering & Compaction docs/en/token-metering.md docs/zh-CN/token-metering.md
Messaging Channels docs/en/channels.md docs/zh-CN/channels.md
@ Mentions (Skills / Sessions / Files) docs/en/mentions.md docs/zh-CN/mentions.md
Desktop Edition docs/en/desktop.md docs/zh-CN/desktop.md

📄 License

This project is open-sourced under the MIT license.


🤝 Contributing

Welcome to submit Issues and Pull Requests!


安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 illusion-agent」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:YunTaiHua/illusion-agent

Headless(CLI)profile:

dsh plugin --profile headless add github:YunTaiHua/illusion-agent

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

把一个新模型、provider 或路由策略接入循环,让 dsh 能为任务选对脑子。

适合谁

同时用多个模型或 provider、想让成本/质量/延迟自动平衡的人。

二次开发建议

provider 适配器和路由启发式是缝——加后端、调回退链,或加按任务的模型选择。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

AI Models 里更多

colleague-skill

✅ 已验证 · ★23819

iPolloWork

✅ 已验证 · ★6862

Vibe-Skills

✅ 已验证 · ★3490

deepseek-design

✅ 已验证 · ★1678

DeepSeek-V4-J-Space-Capability-Realization-Report

✅ 已验证 · ★1031

wesight

✅ 已验证 · ★931

浏览全部 7797 个插件 →