Skip to main content

XINGZIER AI

🤖 智能 AI 助手平台 - 支持多种 AI 模型、本地部署、飞书/Discord 等频道集成


🚀 快速上手指南(新手必读)

📖 完整安装教程:docs/QUICKSTART.md

3 步快速开始

# 1. 安装
pip install xingzierai

# 2. 初始化
xingzierai init

# 3. 启动
xingzierai run

然后打开浏览器访问 http://localhost:8555


✨ 功能特性

  • 🌐 多模型支持 - OpenAI GPT-4、Anthropic Claude、Google Gemini、OpenRouter 等
  • 💻 本地模型 - 支持 llama.cpp、Ollama、Apple MLX (M1/M2/M3)
  • 📱 多频道集成 - 飞书、Discord、Telegram、微信企业版等
  • 🖥️ Web 控制台 - 友好的 Web 界面管理配置
  • 🔄 实时对话 - 支持流式输出、上下文记忆
  • 🛡️ 安全可靠 - 本地部署,数据完全自主控制

📦 安装

基本安装

pip install xingzierai

Apple Silicon Mac (M1/M2/M3)

pip install xingzierai[mlx]

完整安装(包含所有功能)

pip install xingzierai[full]

🆘 疑难解答

问题 解决方案
安装报错 点击查看常见问题
启动失败 点击查看解决方案
API 配置 点击查看配置指南

📚 完整文档


🖥️ 系统要求

项目 最低 推荐
Python 3.10 3.11/3.12
内存 4GB 8GB+
系统 Win10+, macOS 10.14+, Ubuntu 18.04+ Win11, macOS 13+, Ubuntu 22.04+

⚙️ 配置

环境变量

# API 密钥
export XINGZIERAI_API_KEY=sk-or-v1-xxxxx

# CORS 配置(允许的前端域名)
export XINGZIERAI_CORS_ORIGINS=http://localhost:8555

# LLM 超时时间(秒)
export XINGZIERAI_LLM_TIMEOUT=300

🚀 启动

# 基本启动
xingzierai run

# 指定端口
xingzierai run --port 9000

# 后台运行
nohup xingzierai run > app.log 2>&1 &

访问 http://localhost:8555 打开 Web 控制台。


🛠️ 开发

# 克隆仓库
git clone https://github.com/your-repo/xingzierai.git
cd xingzierai

# 开发模式安装
pip install -e .

# 构建发布包
python -m build

📄 许可证

MIT License


🙏 致谢


Made with ❤️ by XINGZIER AI Team

Metadata

Release files for xzeai 0.128.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xzeai 0.128.0
File Size Uploaded Provenance Actions
xzeai-0.128.0.tar.gz 10.3 MB Without provenance Details for xzeai-0.128.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xzeai 0.128.0
File Interpreter ABI Platform Actions
xzeai-0.128.0-py3-none-any.whl Python 3 none any Details for xzeai-0.128.0-py3-none-any.whl

Total release size: 21.6 MB

Release files / xzeai-0.128.0.tar.gz

Download URL xzeai-0.128.0.tar.gz
Size 10.3 MB
Tags Source
SHA-256 checksum
How to use checksums
21d51a059ec3434c6111113970d8447ac3f857b9d6deb4e242376db030889924
BLAKE2b-256 checksum
How to use checksums
0b4ed2abab8da3f43de7bfc04f3c840eac977743a88c42e94986e2419b39895f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / xzeai-0.128.0-py3-none-any.whl

Download URL xzeai-0.128.0-py3-none-any.whl
Size 11.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
41974c89be7c610138eeebbc4f34886f24705c90b8719f67b2ff7b74e08d3032
BLAKE2b-256 checksum
How to use checksums
c103bc77b3ee5b286d864979aaf7f7e334adf8b81101bee37aa5650e3e0a05b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for xzeai 0.128.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page