#!/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 $@
This in essence is what allows one to use any model with CC -- including local.
DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
231–240 of 322 posts
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#232Earlier 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…
I wanted to try this. To bring back opus and sonnet do I just reset those env's?
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#233Earlier quoted context omitted.
So I created https://getaivo.dev , one can use model in the coding agent directly. Just `aivo claude -m deepseek-v4-pro`
does it support aws bedrock provider support,does i can use any model in this
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#234Earlier quoted context omitted.
I wonder why the question about data security and training comes often with DeepSeek, Kimi, Glm and never with Anthropic, OpenAI, and Google models. Why is that? IIRC, USA data protection protects data of US citizens only, foreigners data is not protected, and the companies are not even allowed to disclose when they collect those data.
> USA data protection protects data of US citizens only, foreigners data is not protected HN is an American site. If you look at the US government, it is going to fearmonger about anything China related, because they haven't had a genuine competitor for decades and they're scared and lashing out. Most US news just parrot the government line, sometimes more so than state TV would, and so it reflects here. I also feel…
This is true. There are also many of us who do care.
This brings to mind something I heard recently about the so-called "Rule of 10". There will always be 3 people who support you, 3 people who are against you, and 4 people who have no idea what's going on and don't care.
Don't just focus on the 3 people who are being negative.
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#235Earlier quoted context omitted.
> USA data protection protects data of US citizens only, foreigners data is not protected HN is an American site. If you look at the US government, it is going to fearmonger about anything China related, because they haven't had a genuine competitor for decades and they're scared and lashing out. Most US news just parrot the government line, sometimes more so than state TV would, and so it reflects here. I also feel…
> I also feel comfortable saying that many Americans don't care one bit what happens to foreigners, be it by action of their government or companies. This is true. There are also many of us who do care. This brings to mind something I heard recently about the so-called "Rule of 10". There will always be 3 people who support you, 3 people who are against you, and 4 people who have no idea what's going on and don't car…
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#236Earlier quoted context omitted.
Seriously. When I first looked this project had been pushed the first commit two hours prior. Projects should be at least 3 months old or automatically removed.
But then that would have the downside of falsely blocking projects that were developed in private and then just pushed to Github (or any public repo). Like I always use my own, self-hosted Forgejo for everything by default.
If it's something that'll be irrelevant in 3 months why should anyone care about it?
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#237Not sure you can replace Claude with DeepSeek V4 that easily and have same results. From what I see while building my own agentic system in Elixir, the problem is in training for your specific harness/contracts. Claude/GPT-style models seem to be trained around very specific contracts used by the harness like tool call formats, planning structure, patching, reading files, recovering from errors, and knowing when to s…
I love to learn more about the system you’re building out in Elixir and your learnings if any of it is public.
Its an Elixir agent runtime with a thin Go TUI (bubble-tea). Im building it mostly to explore agent orchestration: planner/workers/finalizer flows, local file/code-edit tools, MCP tools, permission gates, run context, compaction, and eventually larger swarms. Erlang/Elixir is interesting for this because the actor/supervision model maps pretty naturally to lots of isolated agents and long-running supervised tasks.
As i said, The main lesson so far is that everything around contracts is much more fragile than I expected unless you use a very strong model. Planners return Markdown instead of JSON, tools get called with subtly wrong args, subagents repeat broken tool calls, finalizers lie about success after workers failed. And various permissions may be interpreted by agents in unexpexted way
I also started with too many modes too early instead of making agentic path extremely solid. That made me understand better why these codebases become huge: there are endless corner cases if you want a harness to work across models, providers, tools...
Stronger models hide a lot of harness weakness and weaker models expose. Making weaker models good enough requires a surprising amount of contract hardening. But that hardening tends to make the system better for stronger models too.
Also elixir http stack was causing a lot of problems (needed to use gun eventually)
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#238Earlier quoted context omitted.
They have a pretty decent explanation. https://github.com/badlogic/pi-mono/blob/main/CONTRIBUTING.m...
"Decent" is doing some work. This is going beyond any norms I've encountered in OSS to close issues by default via a LLM or an "issue holiday".
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#239Earlier quoted context omitted.
There probably isn't a point. Someone didn't understand something, didn't research it, so they 1 shotted their first thought and sent it to the front page of HN and all of their socials. It's the future bruh
To be fair, HN sent it to the front page, not the user. The rest I agree.
Re: DeepClaude – Claude Code agent loop with DeepSeek V4 Pro
#240If you're looking for Claude Code alternatives, I would first suggest looking into pi.dev or opencode for your harness. And then for models, you can choose from OpenCode Go (IMO most cost effect at this moment), OpenRouter, or direct from DeepSeek. Better if you go the Kimi route IMO and just buy a subscription from kimi.com
Another very cost-effective option is Ollama Cloud. In a month of use, I only hit the 5-hour limit once, when I ran 8 agents simultaneously for 2 hours.