Skip to main content

衍智体 is a **personal assistant** that runs in your own environment. It talks to you over multiple channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.) and runs scheduled tasks according to your configuration. **What it can do is driven by Skills — the possibilities are open-ended.** Built-in skills include cron, PDF/Office handling, news digest, file reading, and more; you can add custom skills. All data and tasks run on your machine; no third-party hosting.

Project description

衍智体

GitHub Repo PyPI Documentation Python Version Last Commit License Code Style GitHub Stars GitHub Forks DeepWiki Discord X DingTalk

[Documentation] [中文] [日本語] [Русский]

衍智体 Logo

Works for you, grows with you.

Your personal AI assistant — easy to install, deploy locally or in the cloud, connect across channels, extend with ease.

Core capabilities:

Under your control — Memory and personalization fully under your control. Deploy locally (data stays on your machine) or in the cloud (your chosen server). No third-party hosting, no data upload.

Skills extension — Built-in scheduling, PDF/Office processing, news digest, and more; custom skills auto-loaded, no lock-in. Skills determine what 衍智体 can do.

Multi-agent collaboration — Create multiple independent agents, each with their own role; enable collaboration skills for inter-agent communication to tackle complex tasks together.

Multi-layer security — Tool guard, file access control, skill security scanning to ensure safe operation.

Every channel — DingTalk, Feishu, WeChat, Discord, Telegram, and more. One 衍智体, connect as needed.

Memory-evolving & proactive — Agent learns from interactions, reflects on experience, and proactively serves you. Gets smarter the more you use it.

What you can do with 衍智体
  • Social media: Daily hot post digests (Xiaohongshu, Zhihu, Reddit), Bilibili/YouTube video summaries.
  • Productivity: Email & newsletter highlights pushed to DingTalk/Feishu/QQ; email & calendar contact organization.
  • Creative & building: Describe your goal before sleep, auto-execute, wake up to a prototype; full workflow from topic selection to final video.
  • Research & learning: Track tech & AI news, personal knowledge base search and reuse.
  • Desktop & files: Organize and search local files, read & summarize documents, request files in chat.
  • Explore more: Combine Skills with scheduled tasks into your own agentic app.

News

  • [2026-06-01] v1.1.10 — Spawn Subagent & More Channels | Agents can now spawn sub-agents; Tencent Yuanbao joins the channel family.

    Highlight What's new
    Spawn Subagent New spawn_subagent tool for ephemeral in-workspace sub-agent execution.
    Open Directory Coding mode gains an "Open Directory" tab to reference local projects without copying.
    Feishu Thread Reply Agents can now reply within Feishu message threads.
    Tencent Yuanbao Channel New channel integration for Tencent Yuanbao bot.
    Dynamic Upload Limit Upload size limit is now configurable across console and channels.

    Also: OpenRouter attribution headers, bundled desktop CLI, skill update stability fixes. v1.1.10 Release Notes →

  • [2026-05-27] v1.1.9 — Coding Mode (three-panel Web IDE), Tauri desktop app, unified access control. v1.1.9 Release Notes →

  • [2026-05-19] v1.1.8 — Official plugin distribution, 衍智体 Pet, streaming cards for DingTalk / Feishu / Telegram. v1.1.8 Release Notes →

  • [2026-05-14] v1.1.7 — Browser batch actions, OAuth 2.1 MCP, Cron calendar view, multiple file attachments. v1.1.7 Release Notes →

  • [2026-05-09] v1.1.6 — Whisper voice input, GPT Image 2 plugin, Volcano Engine provider, Mermaid diagrams. v1.1.6 Release Notes →

  • [2026-04-12] Yanzhiti rebrands to 衍智体 — deeper Qwen ecosystem integration, same open-source mission. v1.0.0 Release Notes →


Table of Contents

Recommended reading:


Quick Start

Option 1: pip install

If you prefer managing Python yourself:

pip install yanzhiti
yanzhiti init --defaults
yanzhiti app

Then open the Console in your browser at http://127.0.0.1:8088/ to configure your model. To chat in DingTalk, Feishu, WeChat, etc., see the Channel setup documentation.

Console


Option 2: Script install

No Python setup required, one command installs everything. The script will automatically download uv (Python package manager), create a virtual environment, and install 衍智体 with all dependencies (including Node.js and frontend assets). Note: May not work in restricted network environments or corporate firewalls.

macOS / Linux:

curl -fsSL https://yanzhiti.agentscope.io/install.sh | bash

Windows (CMD):

curl -fsSL https://yanzhiti.agentscope.io/install.bat -o install.bat && install.bat

Windows (PowerShell):

irm https://yanzhiti.agentscope.io/install.ps1 | iex

Note: The installer will automatically check the status of uv. If it is not installed, it will attempt to download and configure it automatically. If the automatic installation fails, please follow the on-screen prompts or execute python -m pip install -U uv, then rerun the installer.

⚠️ Special Notice for Windows Enterprise LTSC Users

If you are using Windows LTSC or an enterprise environment governed by strict security policies, PowerShell may run in Constrained Language Mode, potentially causing the following issue:

  1. If using CMD (.bat): Script executes successfully but fails to write to Path

    The script completes file installation. Due to Constrained Language Mode, it cannot automatically update environment variables. Manually configure as follows:

    • Locate the installation directory:
      • Check if uv is available: Enter uv --version in CMD. If a version number appears, only configure the 衍智体 path. If you receive the prompt 'uv' is not recognized as an internal or external command, operable program or batch file, configure both paths.
      • uv path (choose one based on installation location; use if uv fails): Typically %USERPROFILE%\.local\bin, %USERPROFILE%\AppData\Local\uv, or the Scripts folder within your Python installation directory
      • 衍智体 path: Typically located at %USERPROFILE%\.yanzhiti\bin.
    • Manually add to the system's Path environment variable:
      • Press Win + R, type sysdm.cpl and press Enter to open System Properties.
      • Click “Advanced” -> “Environment Variables”.
      • Under “System variables”, locate and select Path, then click “Edit”.
      • Click “New”, enter both directory paths sequentially, then click OK to save.
  2. If using PowerShell (.ps1): Script execution interrupted

Due to Constrained Language Mode, the script may fail to automatically download uv.

  • Manually install uv: Refer to the GitHub Release to download uv.exe and place it in %USERPROFILE%\.local\bin or %USERPROFILE%\AppData\Local\uv; or ensure Python is installed and run python -m pip install -U uv.
  • Configure uv environment variables: Add the uv directory and %USERPROFILE%\.yanzhiti\bin to your system's Path variable.
  • Re-run the installation: Open a new terminal and execute the installation script again to complete the 衍智体 installation.
  • Configure the 衍智体 environment variable: Add %USERPROFILE%\.yanzhiti\bin to your system's Path variable.

Once installed, open a new terminal and run:

yanzhiti init --defaults   # or: yanzhiti init (interactive)
yanzhiti app
Install options

macOS / Linux:

# Install a specific version
curl -fsSL ... | bash -s -- --version 1.1.0

# Install from source (dev/testing)
curl -fsSL ... | bash -s -- --from-source

# Upgrade — just re-run the installer
curl -fsSL ... | bash

# Uninstall
yanzhiti uninstall          # keeps config and data
yanzhiti uninstall --purge  # removes everything

Windows (PowerShell):

# Install a specific version
irm ... | iex; .\install.ps1 -Version 0.0.2

# Install from source (dev/testing)
.\install.ps1 -FromSource

# Upgrade — just re-run the installer
irm ... | iex

# Uninstall
yanzhiti uninstall          # keeps config and data
yanzhiti uninstall --purge  # removes everything

Option 3: Docker

Images are on Docker Hub (agentscope/yanzhiti). Image tags: latest (stable); pre (PyPI pre-release).

docker pull agentscope/yanzhiti:latest
docker run -p 127.0.0.1:8088:8088 \
  -v yanzhiti-data:/app/working \
  -v yanzhiti-secrets:/app/working.secret \
  -v yanzhiti-backups:/app/working.backups \
  agentscope/yanzhiti:latest

Also available on Alibaba Cloud Container Registry (ACR) for users in China: agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/yanzhiti (same tags).

Then open http://127.0.0.1:8088/ for the Console. Config, memory, and skills are stored in the yanzhiti-data volume; model provider settings and API keys are in the yanzhiti-secrets volume; backup archives are stored in the yanzhiti-backups volume. To pass API keys (e.g. DASHSCOPE_API_KEY), add -e VAR=value or --env-file .env to docker run.

Connecting to Ollama or other services on the host machine

Inside a Docker container, localhost refers to the container itself, not your host machine. If you run Ollama (or other model services) on the host and want 衍智体 in Docker to reach them, use one of these approaches:

Option A — Explicit host binding (all platforms):

docker run -p 127.0.0.1:8088:8088 \
  --add-host=host.docker.internal:host-gateway \
  -v yanzhiti-data:/app/working \
  -v yanzhiti-secrets:/app/working.secret \
  -v yanzhiti-backups:/app/working.backups \
  agentscope/yanzhiti:latest

Then in 衍智体 Settings → Models, change the Base URL to http://host.docker.internal:<port> — for example, http://host.docker.internal:11434 for Ollama, or http://host.docker.internal:1234/v1 for LM Studio.

Option B — Host networking (Linux only):

docker run --network=host \
  -v yanzhiti-data:/app/working \
  -v yanzhiti-secrets:/app/working.secret \
  -v yanzhiti-backups:/app/working.backups \
  agentscope/yanzhiti:latest

No port mapping (-p) is needed; the container shares the host network directly. Note that all container ports are exposed on the host, which may cause conflicts if the port is already in use.

The image is built from scratch. To build the image yourself, please refer to the Build Docker image section in scripts/README.md, and then push to your registry.


Option 4: Deploy on Alibaba Cloud ECS

To run 衍智体 on Alibaba Cloud (ECS), use the one-click deployment: open the 衍智体 on Alibaba Cloud (ECS) deployment link and follow the prompts. For step-by-step instructions, see Alibaba Cloud Developer: Deploy your AI assistant in 3 minutes.


Option 5: Using ModelScope

No local install? ModelScope Studio one-click cloud setup. Set your Studio to non-public so others cannot control your 衍智体.


Option 6: Desktop Application (Beta)

Beta Notice: The desktop application is currently in Beta testing phase with the following known limitations:

  • Incomplete compatibility testing: Not fully tested across all system versions and hardware configurations
  • Potential performance issues: Startup time, memory usage, and other performance aspects may need further optimization
  • Features under development: Some features may be unstable or missing

If you're not comfortable with command-line tools, you can download and use 衍智体's desktop application without manually configuring Python environments or running commands.

Download

Download the desktop app from GitHub Releases:

  • Windows: 衍智体-Setup-<version>.exe
  • macOS: 衍智体-<version>-macOS.zip (Apple Silicon recommended)

Features

  • Zero configuration: Download and double-click to run, no need to install Python or configure environment variables
  • Cross-platform: Supports Windows 10+ and macOS 14+
  • Visual interface: Automatically opens browser interface, no need to manually enter addresses
  • ⚠️ Beta stage: Features are continuously being improved, feedback welcome

First Launch

Important: The first launch may take 10-60 seconds (depending on your system configuration). The application needs to initialize the Python environment and load dependencies. Please wait patiently for the browser window to open automatically.

macOS: Bypass System Security Restrictions

When you download the 衍智体 macOS app from Releases, macOS may show: "Apple cannot verify that '衍智体' contains no malicious software". This happens because the app is not notarized. You can still open it as follows:

  • Right-click to open (recommended) Right-click (or Control+click) the 衍智体 app → Open → in the dialog click Open again. This tells Gatekeeper you trust the app; after that you can double-click to launch as usual.

  • Allow in System Settings If it is still blocked, go to System Settings → Privacy & Security, scroll to the message like "衍智体 was blocked because it is from an unidentified developer", and click Open Anyway or Allow.

  • Remove quarantine attribute (not recommended for most users) In Terminal run: xattr -cr /Applications/衍智体.app (or use the path to the .app after unzipping). This clears the "downloaded from the internet" quarantine flag so the warning usually does not appear, but is less safe and controllable than using Right-click → Open.

For detailed usage instructions, troubleshooting, and common issues, see the Desktop Application Guide.


API Key

If you use a cloud LLM API (e.g., Qianwen, Gemini, OpenAI), you must configure an API key before chatting. 衍智体 will not work until a valid key is set. See the official docs for details.

How to configure:

  1. Console (recommended) — After running yanzhiti app, open http://127.0.0.1:8088/SettingsModels. Choose a provider, enter the API Key, and enable that provider and model.
  2. yanzhiti init — When you run yanzhiti init, it will guide you through configuring the LLM provider and API key. Follow the prompts to choose a provider and enter your key.
  3. Environment variable — For DashScope you can set DASHSCOPE_API_KEY in your shell or in a .env file in the working directory.

Tools that need extra keys (e.g. TAVILY_API_KEY for web search) can be set in Console Settings → Environment variables, see Config for details.

Using local models only? If you use Local Models (llama.cpp / Ollama / LM Studio), you do not need any API key.

Local Models

衍智体 can run LLMs entirely on your machine — no API keys or cloud services required. See the official docs for details.

Backend Best for Install
llama.cpp Cross-platform (macOS / Linux / Windows) No extra installation required; click "Download Llama.cpp" in the web UI.
Ollama Cross-platform (requires Ollama service) Install and start the Ollama app in advance.
LM Studio Cross-platform (requires LM Studio service) Install and start the LM Studio app in advance.

Documentation

Topic Description
Introduction What 衍智体 is and how to use it
Quick start Install and run (local or ModelScope Studio)
Console Web UI: chat and agent configuration
Models Configure cloud, local, and custom providers
Channels DingTalk, Feishu, QQ, Discord, iMessage, and more
Skills Extend and customize capabilities
Plugins Plugin system
MCP Manage MCP clients
Memory Long-term memory
Memory-Evolving & Proactive Agent memory evolution and proactive interaction
Context Context management mechanism
Magic commands Control conversation state without waiting for the AI
Heartbeat Scheduled check-in and digest
Multi-Agent Create multiple agents and enable collaboration
Config & working dir Working directory and config file
CLI Init, cron jobs, skills, clean
FAQ Common questions and troubleshooting

Full docs in this repo: website/public/docs/.


Security Features

衍智体 includes multi-layer security mechanisms to protect your data and system:

  • Tool guard — Automatically intercepts dangerous shell commands (e.g., rm -rf /, fork bombs, reverse shells, etc.)
  • File access guard — Restricts agent access to sensitive paths (e.g., ~/.ssh, key files, system directories, etc.)
  • Skill security scanning — Automatically scans before installing skills, detecting risks like prompt injection, command injection, hardcoded keys, data exfiltration, etc.
  • Local deployment — All data and memory stored locally, no third-party upload (when using cloud LLM APIs, conversation content is sent to the corresponding API provider)
  • Web Authentication — Optional login protection for the Console. Disabled by default; set YANZHITI_AUTH_ENABLED=true to enable. See Web Authentication for details.

See Security documentation for details.


FAQ

For common questions, troubleshooting tips, and known issues, please visit the FAQ page.


Staying ahead

Star 衍智体

Star 衍智体 on GitHub and be instantly notified of new releases.


Roadmap

Area Item Status
Horizontal Expansion More channels, models, skills, MCPs — community contributions welcome Seeking Contributors
Existing Feature Extension Display optimization, download hints, Windows path compatibility, etc. — community contributions welcome Seeking Contributors
Client Experience Install, update, and packaging improvements In Progress
Models Multi-model switching In Progress
OAuth Planned
Response API Planned
Workspace File access control with Sandbox integration In Progress
Subfolder layout (config, production files, etc.) Planned
Coding LSP, dedicated prompts, workspace versioning, runtime, and supporting infra In Progress
Lightweight native APIs Planned
Tool self-evolution Planned
Compatibility with existing agents (e.g. Claude Code) Planned
Multi-agent Group chat Planned
Subagent Visualization Planned
HiClaw enterprise capabilities Planned
Context Management Personal Knowledge Base In Progress
User-selectable compression (fine-grained control) Planned
衍智体 Application 衍智体 Creator In Progress
衍智体 Insight In Progress
Status: In Progress — actively being worked on; Planned — queued or under design, also welcome contributions; Seeking Contributors — we strongly encourage community contributions.

Install from source

git clone https://github.com/agentscope-ai/衍智体.git
cd 衍智体

# Build console frontend first (required for web UI)
cd console && npm ci && npm run build
cd ..

# Copy console build output to package directory
mkdir -p src/yanzhiti/console
cp -R console/dist/. src/yanzhiti/console/

# Install Python package
pip install -e .
  • Dev (tests, formatting): pip install -e ".[dev,full]"
  • Then: Run yanzhiti init --defaults, then yanzhiti app.

Note for updates: When updating to a new major version after git pull, please also rebuild the frontend, reinstall the package (pip install -e .), restart yanzhiti app, and clear your browser cache with Ctrl+Shift+R (or Cmd+Shift+R on macOS).


Contributing

衍智体 evolves through open collaboration, and we welcome all forms of contribution! Check the Roadmap above (especially items marked Seeking Contributors) to find areas that interest you, and read CONTRIBUTING to get started. We particularly welcome:

  • Horizontal expansion — new channels, model providers, skills, MCPs.
  • Existing feature extension & refinement — display and interaction improvements, download hints, Windows path compatibility, etc.

Join GitHub Discussions to discuss ideas or pick up tasks.


Why 衍智体?

衍智体 (Yǎn Zhì Tǐ) means "Evolving Intelligence Body" — a self-evolving AI agent that grows with you. It represents the continuous derivation (衍) of intelligence (智) into a living system (体). We hope it is not a cold tool, but a continuously evolving intelligent partner always ready to help—the most intuitive companion in your digital life.


Built by

AgentScope team · AgentScope · AgentScope Runtime · ReMe


Contact us

Discord X (Twitter) DingTalk RedNote
Discord X DingTalk RedNote

Telemetry

衍智体 collects anonymous usage data during yanzhiti init to help us understand our user base and prioritize improvements. Data is sent once per version — when you upgrade 衍智体, telemetry is re-collected so we can track version adoption.

What we collect:

  • 衍智体 version (e.g., 0.0.7)
  • Install method (pip, Docker, or desktop app)
  • OS and version (e.g., macOS 14.0, Ubuntu 22.04)
  • Python version (e.g., 3.13)
  • CPU architecture (e.g., x86_64, arm64)
  • GPU availability (yes/no)

What we do NOT collect: No personal data, no files, no credentials, no IP addresses, no identifiable information.

When running yanzhiti init interactively, you will be asked whether to opt in. If you choose --defaults, telemetry is accepted automatically. The prompt appears once per version and never affects 衍智体's functionality.


License

衍智体 is released under the Apache License 2.0.


Contributors

All thanks to our contributors:

Contributors

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

yanzhiti-2.4.9.tar.gz (15.0 MB view details)

Uploaded Source

Built Distribution

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

yanzhiti-2.4.9-py3-none-any.whl (15.5 MB view details)

Uploaded Python 3

File details

Details for the file yanzhiti-2.4.9.tar.gz.

File metadata

  • Download URL: yanzhiti-2.4.9.tar.gz
  • Upload date:
  • Size: 15.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for yanzhiti-2.4.9.tar.gz
Algorithm Hash digest
SHA256 b7930d5d0a4128fb7d455272fdbf32aa8f1301e01f54a6d3fd6adea8b306e2ab
MD5 cefc625d59973a47cbd65dd2958aa296
BLAKE2b-256 87daeab14578dd743dc6eeebc8746bd763e6a4e7c34509778ca300ad00ea99e3

See more details on using hashes here.

File details

Details for the file yanzhiti-2.4.9-py3-none-any.whl.

File metadata

  • Download URL: yanzhiti-2.4.9-py3-none-any.whl
  • Upload date:
  • Size: 15.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for yanzhiti-2.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 959437cd3edad6233201bd84acae6aa58fc77028d1c224f517827bbd49e360c3
MD5 6b3745ba34d952b47e289dcc6697f378
BLAKE2b-256 17f1ab464057bbc8d333f31bcb2dca350cf5d971e1ddcdd4347aa4b037e45528

See more details on using hashes here.

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