DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
291–300 of 322 posts
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#292Is claude code the best coding harness? Anyone running evals on that?
The main thing I am missing is having it on all my devices (like using it via the smartphone). They have a solution for that too (the cloud version), but that is too expensive IMHO. The last time I checked out Claude Code, it was too expensive for my taste as well (burning through tokens like there was no tomorrow).
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#293"To improve and develop the Services and to train and improve our technology, such as our machine learning models and algorithms. Including by monitoring interactions and usage across your devices, analyzing how people are using it, and training and improving our technology."
https://cdn.deepseek.com/policies/en-US/deepseek-privacy-pol...
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#294Earlier quoted context omitted.
agreed. OpenCode is a strong base, and with a couple modifications it can become a very effective harness. my sideproject mouse.dev I’ve been combining parts from OpenCode, Claude Code, and Hermes to build a cloud agent architecture that works well from mobile.
Kudos! Cool idea, I'm on the same path you are, yet you're just one step ahead. For mouse.dev, what are you using for the cloud agent sandbox piece? I haven't moved my agents to the cloud yet (for on the go mobile enablement). Would Islo be a competitor to mouse? https://islo.dev/ https://www.incredibuild.com/blog/why-we-built-islo-ai-codin...
i'll have to look more at islo, I definitely think its a growing space with alot of opportunity for those that participate and solve problems.
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#295#!/bin/sh export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic export ANTHROPIC_AUTH_TOKEN=sk-secret export ANTHROPIC_MODEL=deepseek-v4-flash export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 exec claude $@
deepseek() {
unset ANTHROPIC_AUTH_TOKEN
local -x ANTHROPIC_BASE_URL="https://api.deepseek.com/anthropic"
local -x ANTHROPIC_AUTH_TOKEN="${DEEPSEEK_API_KEY}"
local -x ANTHROPIC_MODEL="deepseek-v4-pro"
local -x ANTHROPIC_SMALL_FAST_MODEL="deepseek-v4-flash"
local -x API_TIMEOUT_MS=600000
local -x CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
TMUX= command claude "$@"
}Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#296#!/bin/sh export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic export ANTHROPIC_AUTH_TOKEN=sk-secret export ANTHROPIC_MODEL=deepseek-v4-flash export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 exec claude $@
ANTHROPIC_MODEL=deepseek-v4-pro[1m] ANTHROPIC_SUBAGENT_MODEL=deepseek-v4-flash This is what I’ve been using for non-confidential projects for about a week now (soon after v4 came out). I honestly can’t tell the difference, but I’m not doing anything crazy with it either. Worth noting that I don’t think DeepSeek‘s API lets you opt out of training. Once this is up on other providers though… (OpenRouter is just proxying…
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#297How is this different than using ollama to launch Claude with ollama launch claude --model deepseek-v4-pro:cloud
Using the API from DeepSeek or OpenRouter also requires a fee, but it's a different, pay-as-you-go payment model.
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#298Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#299Earlier quoted context omitted.
ANTHROPIC_MODEL=deepseek-v4-pro[1m] ANTHROPIC_SUBAGENT_MODEL=deepseek-v4-flash This is what I’ve been using for non-confidential projects for about a week now (soon after v4 came out). I honestly can’t tell the difference, but I’m not doing anything crazy with it either. Worth noting that I don’t think DeepSeek‘s API lets you opt out of training. Once this is up on other providers though… (OpenRouter is just proxying…
ANTHROPIC_SUBAGENT_MODEL is not a valid setting, should be CLAUDE_CODE_SUBAGENT_MODEL.
----
alias clauded='ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic ANTHROPIC_AUTH_TOKEN=$DEEPSEEK_API_KEY ANTHROPIC_MODEL=deepseek-v4-pro[1m] ANTHROPIC_DEFAULT_OPUS_MODEL=deepseek-v4-pro[1m] ANTHROPIC_DEFAULT_SONNET_MODEL=deepseek-v4-pro[1m] ANTHROPIC_DEFAULT_HAIKU_MODEL=deepseek-v4-flash CLAUDE_CODE_SUBAGENT_MODEL=deepseek-v4-flash CLAUDE_CODE_EFFORT_LEVEL=max claude'
----
I doubt that the opus, sonnet, and haiku model args actually matter if you want to omit them.
I run this on a VPS that has no other credentials or project access so I can give it the skip permissions arg.
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#300Earlier quoted context omitted.
When you send your first message and opencode generates a title automatically, it uses the free opencode/gpt-5-nano model from the OpenCode Zen provider at https://opencode.ai/zen/v1 Ask AI to look at the code for you We don't have any proof they're not logging everything, by default we should assume they are
I did read the code. OpenCode uses your global `small_model` ( https://github.com/anomalyco/opencode/blob/dev/packages/open... ) or title agent ( https://github.com/anomalyco/opencode/blob/51e310c9/packages... ) OpenCode Zen is their own service provider; they see your prompt the same way OpenAI and Anthropic do. Somebody has to see your code, unless you host your models yourself.