猎豹爪 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
猎豹爪 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
猎豹爪 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install cheetahclaws
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install cheetahclaws
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/SafeRL-Lab/cheetahclaws
cd cheetahclaws
pip install -e .
# 验证安装
python -c "import cheetahclaws; print('安装成功')"
# 命令行使用
cheetahclaws --help
# 基本用法
cheetahclaws input_file -o output_file
# Python 代码中调用
import cheetahclaws
# 示例
result = cheetahclaws.process("input")
print(result)
# cheetahclaws 配置文件示例(config.yml) app: name: "cheetahclaws" debug: false log_level: "INFO" # 运行时指定配置文件 cheetahclaws --config config.yml # 或通过环境变量配置 export CHEETAHCLAWS_API_KEY="your-key" export CHEETAHCLAWS_OUTPUT_DIR="./output"
English | 中文 | 한국어 | 日本語 | Français | Deutsch | Español | Português
<br>
| Feature | Details |
|---|---|
| Multi-provider | Anthropic · OpenAI · Gemini · Kimi · Qwen · Zhipu · DeepSeek · MiniMax · Ollama · LM Studio · Custom endpoint |
| Agent loop | Streaming API + automatic tool-use loop; the whole loop is in agent.py |
| 27 built-in tools | Read · Write · Edit · Bash · Glob · Grep · WebFetch · WebSearch · NotebookEdit · GetDiagnostics · Memory* · Agent/SendMessage · Skill · AskUserQuestion · Task* · SleepTimer · EnterPlanMode/ExitPlanMode · *(MCP + plugin tools auto-added)* |
| MCP integration | Connect any MCP server (stdio/SSE/HTTP); tools auto-registered — see [extensions guide](docs/guides/extensions.md) |
| Plugin system | Install/enable/update plugins from git URLs or local paths; multi-scope; recommendation engine |
| Task management | TaskCreate/Update/Get/List, sequential IDs, dependency edges, persisted to .cheetahclaws/tasks.json |
| Context compression | Four cooperating layers — dynamic max_tokens cap, per-model context-window registry, two-layer snip + AI summarize at 70%, and auto-fanout for oversized tool outputs. [Details](docs/guides/reference.md) |
| Persistent memory | Dual-scope (user + project), 4 types, confidence/source metadata, conflict detection, recency-weighted search, /memory consolidate |
| Multi-agent | Spawn typed sub-agents (coder/reviewer/researcher/…), git-worktree isolation, background mode |
| Permission system | auto / accept-all / manual / plan modes |
| Checkpoints & plan mode | Auto-snapshot conversation + files each turn (/checkpoint, /rewind); /plan read-only analysis mode |
| Slash commands & themes | 50+ slash commands with Tab-complete; /theme offers 15 curated palettes |
| Brainstorm → Worker | /brainstorm runs an N-persona debate → todo_list.txt; /worker auto-implements the pending tasks |
| SSJ Developer Mode | /ssj — persistent power menu chaining Brainstorm, Worker, Review, Trading, Agent, Video/TTS, Monitor, etc. |
| Trading agent | /trading multi-agent analysis, backtesting, paper-trade calibration, MV portfolios. [Guide](docs/guides/trading.md) |
| Monitor | /monitor subscribes to AI-monitored topics on a schedule (arxiv / stock / crypto / news / custom), pushes reports to bridges/console |
| Research (multi-source) | /research fans out to **20 sources** with attention heat table, entity extraction, trend sparkline, comparison mode. [Guide](docs/guides/research.md) |
| Autonomous agents | /agent background loops from Markdown templates; iteration summaries pushed via bridge; stagnation-stop guard |
| Bridges + remote control | Telegram · WeChat · Slack · QQ — chat round-trip, slash passthrough, per-bridge job queue (!jobs/!retry/!cancel). [Guide](docs/guides/bridges.md) |
| Voice / Vision / Video / TTS | Offline Whisper /voice; /image clipboard vision (local + cloud); /video + /tts content factories. [Guide](docs/guides/voice-and-video.md) |
| Web UI | --web — multi-user browser chat + PTY terminal. [Guide](docs/guides/web-ui.md) |
| More | Tmux integration · !cmd shell escape · proactive monitoring · 3×Ctrl+C force-quit · session persistence · /cloudsave GitHub-Gist sync · cost tracking · --print non-interactive mode |
Full feature reference — every row above with complete detail (context-compression layers, auto-fanout, 15 themes, the full Trading/Research/Agents writeups, …): docs/guides/features.md.
---
curl -fsSL https://raw.githubusercontent.com/SafeRL-Lab/cheetahclaws/main/scripts/install.sh | bash
After installation:
```bash source ~/.zshrc # macOS
```bash curl -fsSL https://raw.githubusercontent.com/SafeRL-Lab/cheetahclaws/main/scripts/install.sh | bash
Every cloud provider follows the same pattern — export its API key (see the Supported Models table for the env-var name), then select a model:
export ANTHROPIC_API_KEY=sk-ant-... # or OPENAI_API_KEY / GEMINI_API_KEY / DEEPSEEK_API_KEY / …
cheetahclaws # default model
cheetahclaws --model gpt-4o # pick any model
cheetahclaws --model deepseek-chat --thinking --verbose
Provider get-key pages: Anthropic · OpenAI · Gemini · Kimi · Qwen · Zhipu · DeepSeek · MiniMax.
AWS Bedrock / Azure / Vertex use the litellm/<provider>/<model> form (pip install ".[litellm]") — full env-var recipes in recipes.md.
Full per-provider guide — every provider's get-key page + example model commands, plus Bedrock/Azure/Vertex env-var recipes: docs/guides/usage.md.
---
<br/>
<br/>
More animated demos (code review,/research,/brainstorm,/lab, Telegram/WeChat/Slack bridges) live indocs/media/.
---
| Provider | Example models | Context | API Key Env |
|---|---|---|---|
| **Anthropic** | claude-opus-4-6 · claude-sonnet-4-6 · claude-haiku-4-5-20251001 | 200k | ANTHROPIC_API_KEY |
| **OpenAI** | gpt-4o · gpt-4.1 · gpt-5 · o3 · o4-mini | 128–200k | OPENAI_API_KEY |
| **Google** | gemini-2.5-pro · gemini-2.0-flash · gemini-1.5-pro | 1–2M | GEMINI_API_KEY |
| **Moonshot (Kimi)** | moonshot-v1-8k / -32k / -128k | 8–128k | MOONSHOT_API_KEY |
| **Alibaba (Qwen)** | qwen-max · qwen-plus · qwen-turbo · qwq-32b | 32k–1M | DASHSCOPE_API_KEY |
| **Zhipu (GLM)** | glm-4-plus · glm-4 · glm-4-flash (free tier) | 128k | ZHIPU_API_KEY |
| **DeepSeek** | deepseek-chat · deepseek-reasoner | 64k | DEEPSEEK_API_KEY |
| **MiniMax** | MiniMax-Text-01 · MiniMax-VL-01 · abab6.5s-chat | 256k–1M | MINIMAX_API_KEY |
| **AWS Bedrock / Azure / Vertex** _(via litellm)_ | litellm/<provider>/<model> | varies | provider-specific |
litellm/adapter: routes to 100+ providers behind one SDK — mainly for upstreams with awkward auth (Bedrock SigV4, Azure deployment routing, Vertex service-account JWTs). For plain OpenAI-shaped endpoints, prefer the zero-dependencycustom/adapter. Install withpip install ".[litellm]". See recipes.md.
cheetahclaws [OPTIONS] [PROMPT]
-p, --print Non-interactive: run prompt and exit
-m, --model MODEL Override model (e.g. gpt-4o, ollama/llama3.3)
--accept-all Auto-approve all operations (no permission prompts)
--verbose Show thinking blocks and per-turn token counts
--show-tools Show each tool call instead of a per-turn summary
(alias: --no-quiet; compact summary is the default)
--thinking Enable Extended Thinking (Claude only)
--web Start web server (Chat UI + PTY terminal in browser)
--port / --host Web server port / host (default 8080 / 127.0.0.1)
--no-auth Disable web password (local use only)
--version / -h Print version / show help
cheetahclaws # interactive REPL, default model
cheetahclaws -m ollama/deepseek-r1:32b # pick a model
cheetahclaws -p "Write a Python fibonacci function" # non-interactive
cheetahclaws --accept-all -p "Init a pyproject.toml" # CI / automation
cheetahclaws --web --port 8008 --no-auth # browser chat + terminal
See the Reference Guide for all 50+ slash commands, tools, and config options.
---
OpenClaw is another popular open-source assistant (TypeScript/Node). The two have different primary goals — OpenClaw is a personal life-assistant across messaging channels; CheetahClaws is a developer/coding tool.
| Dimension | OpenClaw (TypeScript) | CheetahClaws (Python) |
|---|---|---|
| Lines of code | ~245K (~10,349 files) | ~90K core (~315 files) |
| Primary focus | Personal assistant across channels | AI coding assistant / dev tool |
| Architecture | Always-on Gateway daemon + apps | Zero-install terminal REPL |
| Messaging channels | 20+ (WhatsApp · Signal · iMessage · Discord · Matrix · …) | Terminal + Telegram · WeChat · Slack · QQ bridges |
| Local / offline models | Limited | Full — Ollama · vLLM · LM Studio · any OpenAI-compatible |
| Code editing tools | Browser control, Canvas | Read · Write · Edit · Bash · Glob · Grep · NotebookEdit · GetDiagnostics |
| Mobile / Live Canvas | Yes (menu bar + iOS/Android, A2UI) | — |
| MCP support | — | Yes (stdio/SSE/HTTP) |
| Hackability | 245K lines, harder to modify | ~90K lines — agent loop in one file |
| If you want… | Use |
|---|---|
| A personal assistant on WhatsApp/Signal/Discord, mobile-first, browser automation + Canvas | **OpenClaw** |
| An AI coding assistant in your terminal, full offline/local models, multi-provider switching, source you can read in an afternoon | **CheetahClaws** |
Full comparison — both sides' wins + key design differences (agent loop, tool registration, context compression, memory): docs/guides/comparison.md.
---
git clone https://github.com/SafeRL-Lab/cheetahclaws.git
cd cheetahclaws
pip install . # then: cheetahclaws
git pull && pip install --force-reinstall . # to update
pip install ".[voice]" # voice input (sounddevice + faster-whisper)
pip install ".[vision]" # clipboard image capture (Pillow)
pip install ".[autosuggest]"# typing-time slash autosuggest (prompt_toolkit)
pip install ".[browser]" # headless browser (playwright); then: playwright install chromium
pip install ".[files]" # PDF + Excel reading (pymupdf, openpyxl)
pip install ".[ocr]" # image OCR (pytesseract)
pip install ".[trading]" # trading agent (yfinance, rank-bm25)
pip install ".[qq]" # QQ bot bridge (qq-botpy)
pip install ".[litellm]" # AWS Bedrock / Azure / Vertex auth via litellm
pip install ".[all]" # everything above
git clone https://github.com/SafeRL-Lab/cheetahclaws.git && cd cheetahclaws
uv tool install ".[all]" # minimal: uv tool install .
uv tool install ".[all]" --reinstall # update · uv tool uninstall cheetahclaws
git clone https://github.com/SafeRL-Lab/cheetahclaws.git && cd cheetahclaws
pip install -r requirements.txt
python cheetahclaws.py # changes take effect immediately
---
A few common questions — the full FAQ is in docs/guides/faq.md.
Q: How do I add an MCP server?
/mcp add git uvx mcp-server-git # or create .mcp.json in your project, then /mcp reload
Q: Tool calls don't work with my local Ollama model (it just keeps describing what it would do instead of doing it). CheetahClaws now auto-recovers tool calls that local models emit as text (<tool_call>…</tool_call>, [TOOL_CALLS]…) instead of in Ollama's structured field, so most function-calling models execute tools out of the box. For best reliability use a tool-calling model — qwen2.5-coder, llama3.3, mistral, or phi4. Small models are also weaker at agentic tool use than cloud models, so expect them to need clearer, more concrete prompts.
Q: After installing on macOS, cheetahclaws: command not found and no ~/.zshrc was created. Reload your shell first: source ~/.zshrc (zsh) or source ~/.bash_profile (bash). The installer creates ~/.zshrc if missing, symlinks the binary into ~/.local/bin, and adds it to PATH. If you installed an older version, either re-run the installer or add this line yourself: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc.
Q: How do I connect to a remote GPU server running vLLM?
/config custom_base_url=http://your-server-ip:8000/v1
/config custom_api_key=your-token
/model custom/your-model-name
Q: How do I check my API cost? Run /cost (shows input/output tokens + estimated USD).
Q: Can I use multiple API keys in one session? Yes — set all keys upfront (env or /config), then switch models freely; each call uses the active provider's key.
Q: How do I set a default model across projects? Add keys to ~/.bashrc/~/.zshrc and set { "model": "claude-sonnet-4-6" } in ~/.cheetahclaws/config.json.
Q: Can I pipe input to cheetahclaws?
cat error.log | cheetahclaws -p "What is causing this error?"
Q: How do I set up voice input? pip install sounddevice faster-whisper numpy, then /voice in the REPL (downloads a ~150 MB Whisper model on first use). See the full FAQ for languages + keyterm tuning.
---
cheetahclaws 是一个功能强大的 AI Agent 框架,旨在为开发者提供灵活且高效的智能体交互体验。它支持多种主流大模型,能够通过自动化的工具调用循环(Agent loop)实现复杂的任务处理,是构建自动化工作流的理想选择。
本项目具备强大的多供应商支持能力,兼容 Anthropic、OpenAI、Gemini、DeepSeek、Ollama 及 LM Studio 等多种 API 或本地端点。核心设计包含一个完整的 Agent loop,通过 Streaming API 实现自动化的 tool-use 逻辑。此外,内置了包括 Bash、WebSearch、NotebookEdit 及 Memory 在内的 27 种工具,极大扩展了 Agent 的行动能力。
您可以通过官方提供的快速安装脚本进行部署。在终端执行 `curl -fsSL https://raw.githubusercontent.com/SafeRL-Lab/cheetahclaws/main/scripts/install.sh | bash` 即可完成自动化安装。安装完成后,请根据您的 Shell 环境(如 macOS 使用 zsh)执行 `source ~/.zshrc` 以使配置生效。
在使用闭源 API 模型时,您只需按照各供应商的标准格式导出对应的 API Key(例如 `export ANTHROPIC_API_KEY=...`),即可直接运行。若需指定特定模型,可以使用 `--model` 参数,例如 `cheetahclaws --model deepseek-chat`。对于本地运行的 Open-Source Models,系统同样提供了良好的兼容性支持。
项目支持通过环境变量进行配置,开发者需根据使用的 Provider 设置相应的 API Key。此外,系统支持通过 `/mcp` 命令动态管理 MCP server,您可以通过 `uvx` 快速添加工具,或通过修改项目中的 `.mcp.json` 文件并执行 `/mcp reload` 来完成自定义配置。
本项目支持广泛的闭源 API 供应��,包括 Anthropic(支持 Claude 系列模型)、OpenAI(支持 GPT 系列模型)以及 Google 等。每个 Provider 均有明确的 Context 窗口限制和对应的 API Key 环境变量要求,确保开发者能够安全、高效地调用不同能力的模型。
cheetahclaws 的核心工作流基于 `agent.py` 中的自动工具调用循环。通过集成多种内置工具与 MCP 协议,Agent 能够根据用户的 Prompt 自动判断并执行 Read、Write、Edit 或 WebFetch 等操作,实现从感知到执行的完整闭环。
针对开发者在使用过程中可能遇到的问题,我们提供了详细的 FAQ 指南。常见问题包括如何添加 MCP server(例如使用 `uvx mcp-server-git`)以及如何解决本地 Ollama 模型在 Tool calls 时的表现问题。更多深度问题请查阅 `docs/guides/faq.md`。
高质量的智能工作流项目
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,猎豹爪 在Agent工作流赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | cheetahclaws |
| 原始描述 | 开源AI工作流:CheetahClaws: A Fast and Easy-to-Use Agent Harness Infrastructure for Long-Horiz。⭐732 · Python |
| Topics | AI工作流智能代理 |
| GitHub | https://github.com/SafeRL-Lab/cheetahclaws |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-06-22 · 更新时间:2026-06-22 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端