Skip to main content

多模型 AI 助手,具备 Agent 能力、可扩展技能系统与 MCP 工具集成

Project description

GugaClaw

多模型 AI 助手,具备 Agent 能力、可扩展技能系统与 MCP 工具集成。

主界面


安装

PyPI 安装(推荐)

pip install gugaclaw
gugaclaw start

从 GitHub 安装

pip install git+https://github.com/IceSniperring/gugaclaw.git
gugaclaw start

从源码运行

macOS / Linux:

git clone https://github.com/IceSniperring/gugaclaw.git
cd gugaclaw
pip install -e .
gugaclaw start

Windows (PowerShell):

git clone https://github.com/IceSniperring/gugaclaw.git
cd gugaclaw
pip install -e .
gugaclaw start

前置要求

  • Python 3.11+
  • Node.js 18+(前端运行需要)

Windows 用户注意

如果 PowerShell 执行脚本报错,请先运行:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

命令行用法

gugaclaw start        # 后台启动服务
gugaclaw stop         # 停止服务
gugaclaw restart      # 重启服务
gugaclaw status       # 查看状态
gugaclaw logs -f      # 实时日志
gugaclaw dev          # 前台开发模式
gugaclaw config       # 管理配置
gugaclaw tools        # 列出工具
gugaclaw --help       # 查看帮助

功能一览

功能 说明
多提供商支持 OpenAI、Anthropic、MiMo、DeepSeek、Moonshot 等
三种输入模式 Chat · Agent · 命令
Agent 模式 文件操作、终端、搜索等 14 个内置工具
Skill 系统 AI 可创建/编辑/热重载技能
MCP 集成 支持 stdio / SSE / Streamable HTTP
危险命令审批 危险命令拦截,支持三级永久允许
智能上下文 基于 Token 管理,优先级保留,摘要压缩

配置

配置目录: ~/.gugaclaw/

文件 说明
providers.json API 提供商配置
db_config.json 数据库配置(可选)
allowed_commands.json 永久允许的命令
skills/ 用户技能目录

项目结构

gugaclaw/
├── gugaclaw/         # CLI 入口
├── server/           # FastAPI 后端
├── client/           # Next.js 前端
├── pyproject.toml    # PyPI 配置
└── README.md

技术栈

后端: Python 3.11 · FastAPI · LangChain · SQLAlchemy · Redis

前端: Next.js · React · TypeScript · Tailwind CSS


License

MIT

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

gugaclaw-1.0.3.tar.gz (332.6 kB view details)

Uploaded Source

Built Distribution

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

gugaclaw-1.0.3-py3-none-any.whl (962.4 kB view details)

Uploaded Python 3

File details

Details for the file gugaclaw-1.0.3.tar.gz.

File metadata

  • Download URL: gugaclaw-1.0.3.tar.gz
  • Upload date:
  • Size: 332.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for gugaclaw-1.0.3.tar.gz
Algorithm Hash digest
SHA256 22b7f2c4028ce02117ace88bbb991fb3877d45caf2fa79492b19c30d900a50f8
MD5 02c96244bfb8f4453ee040e1dc4f3fcd
BLAKE2b-256 cb9077909864be1d06a1f2f2c4321a39136e339df862293f591cc0e8368a625e

See more details on using hashes here.

File details

Details for the file gugaclaw-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: gugaclaw-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 962.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for gugaclaw-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c94654d1c2d2496e5d2886a47d74df12a6866c158c48c5ed245faea4cf60b8c
MD5 6229db480221c68fc314e21f5d5a1627
BLAKE2b-256 531f521fced0c01fb34c39bf28479a5c7fee7f31f8788b500c43fd9b6cf4f413

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