Live data from Hacker News

DeepClaude – Claude Code agent loop with DeepSeek V4 Pro

github.com

291–300 of 322 posts

Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro

#292
post #91

Is claude code the best coding harness? Anyone running evals on that?

I always wonder why everybody is so hyped about the cli harnesses. I am quite happy with Cursor (even though I used to do coding with tmux+vim in the old days). One of the features I like very much is that I can switch between different models without having to have an account with every model provider.

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
Get comfortable with Deepseek's privacy policy for using this for anything serious.

"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

#294
post #42

Earlier 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...

cool! I've been mostly building for what coding from an iphone can look like. the cloud agent sandbox portion is definitely not polished yet but working well so far. i looked at daytona, e2b, modal ect. but decided to roll my own with fly.io. ttl on agent create. mouse uses per-thread sandboxes (not shared-container multi-workspace) and then post-gres for agent history ect.

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
post #21

#!/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 $@

I'm using this

    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
post #96
post #21

#!/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…

ANTHROPIC_SUBAGENT_MODEL is not a valid setting, should be CLAUDE_CODE_SUBAGENT_MODEL.

Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro

#297
post #252

How is this different than using ollama to launch Claude with ollama launch claude --model deepseek-v4-pro:cloud

That should work, but you need an Ollama Cloud account and for much usage you need to pay the Ollama Cloud $20/mo or $100/mo subscription fee.

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

#299
post #96

Earlier 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.

This is correct. Sorry I was using my phone to post. Here's what my bash alias verbatim looks like (.bashrc / .zshrc). The DEEPSEEK_API_KEY var is setup separately (so claude doesn't see it):

----

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

#300
post #269

Earlier 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.

So, by default, they read our prompts. What else is hiding ?
Post reply on HN