最近claw-code爆火,因为Claude源码泄露促就而成

claw-code

image-20260413232046955

下载方法

首先前往rust官网下载rust

image-20260413232309514

下载完cmd确认

1
cargo --version

然后依此执行这些命令

1
2
3
4
5
6
7
8
9
10
11
12
13
# 1. Clone and build
git clone https://github.com/ultraworkers/claw-code
cd claw-code/rust
cargo build --workspace

# 2. Set your API key (Anthropic API key — not a Claude subscription)
export ANTHROPIC_API_KEY="sk-ant-..."

# 3. Verify everything is wired correctly
./target/debug/claw doctor

# 4. Run a prompt
./target/debug/claw prompt "say hello"

不过这个看看得了,我听说这个有BUG,而且是rust重构的版本,不能保证稳定性

CC-switch

然后就是又发现一个叫做CC-switch的软件

image-20260413232743001

这个软件就是可以查看自己和AI agent的聊天记录和文件修改记录

比如前两天我用codex改了一些文件,在这里就可以显示出来

image-20260413233342438

甚至可以快速安装一些skills给agent智能体

image-20260413233226199

Openrouter

所以诞生了第三方大模型平台Openrouter

image-20260413234057961

购买他们的API就行了,但是,也不是很贵,支持微信和支付宝,不过购买10美元还要多交0.8美元块左右的手续费

充值方式请看这篇文章

image-20260420112734350

我们可以在CC-swith中Claude模块接入Openrouter的API来检测API的用量

image-20260420131207631

OpenClaude

点击前往

image-20260420125929305

1
npm install -g @gitlawb/openclaude

强烈推荐!

众所周知,Claudecode只有Pro及其以上的用户才能使用,问一个问题差不多十几块,根本用不起,我们可以用Openclaude在里面配置其他AI的API,包括Openrouter的API,这里我使用的就是openrouter的claude模型

image-20260420130248519

Aider

点击前往

image-20260414141116078

1
2
3
4
5
6
7
8
9
10
11
12
13
14
python -m pip install aider-install
aider-install

# Change directory into your codebase
cd /to/your/project

# DeepSeek
aider --model deepseek --api-key deepseek=<key>

# Claude 3.7 Sonnet
aider --model sonnet --api-key anthropic=<key>

# o3-mini
aider --model o3-mini --api-key openai=<key>
image-20260414145724231

不过我觉得不好用,所以我卸载了,感觉这个适合那种命令行大佬使用

Opencode

这个非常好用,和codex一样,而且可以自己配置各种AI的模型,而且Openrouter的API同样也是支持的

image-20260414141333886

image-20260420130433925

点击前往官网

点击前往github

1
2
3
4
5
6
7
8
9
10
11
12
13
# YOLO
curl -fsSL https://opencode.ai/install | bash

# Package managers
npm i -g opencode-ai@latest # or bun/pnpm/yarn
scoop install opencode # Windows
choco install opencode # Windows
brew install anomalyco/tap/opencode # macOS and Linux (recommended, always up to date)
brew install opencode # macOS and Linux (official brew formula, updated less)
sudo pacman -S opencode # Arch Linux (Stable)
paru -S opencode-bin # Arch Linux (Latest from AUR)
mise use -g opencode # Any OS
nix run nixpkgs#opencode # or github:anomalyco/opencode for latest dev branch

image-20260414143930392

image-20260414144158071

最后

但是,真的不如自己写加AI辅助,除非能写出完整严谨的提示词,否则让AI做这些东西就像原神抽卡一样,一抽一个不吱声还浪费了大量token

总而言之,这东西主打两个方向———–要么你费脑子消耗一天三顿,要么你花钱费token把脑子交给AI

我看很多人都在焦虑这种东西,说实话,除了GeminiCLI 和codex以及claude code确实强大外,其他的都是一个壳子,还是离不开ai公司的api,而且要让ai理解你的需求需要消耗大量算力,就好像它可以三分钟做出一个蛋糕,但是人类却要花3小时来挑出里面的大量鸡蛋壳