Live data from Hacker News

DeepClaude – Claude Code agent loop with DeepSeek V4 Pro

github.com

231–240 of 322 posts

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

#231
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 $@

This in essence is what allows one to use any model with CC -- including local.

I know. I'm struggling to understand how this is a github repo/HN article. I've been using claude-code with a llama.cpp server and a dummy API key, and all that is required is to define 2 environmental variables to point claude at the local endpoint. Am I missing something?

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

#232
post #149
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…

I wanted to try this. To bring back opus and sonnet do I just reset those env's?

yes, this is pretty much just rerouting Claude to call Deepseek's Anthropic-style-compatible endpoints instead of its own defaults Once removed, it'll work just like before

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

#233

Earlier 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

Ah, for aws bedrock, just use `aivo keys add` add baseurl and apikey, everything is ready, `aivo models` to see models

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

#234
post #222

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

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

Don't just focus on the 3 people who are being negative.

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

#235
post #234
post #222

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

Oh absolutely.

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

#236
post #226

Earlier 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 a project you actually care about and are actively working on it'll be just as good 3 months from now.

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

#237
post #180

Not 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 semi public, but I probably publish it soon once its less embarrassing.

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

#238

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

These aren't normal times though. Low quality submissions have suddenly seriously amplified with the use of LLMs. There has to be a response so project quality and maintainer sanity can be preserved.

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

#239

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

A project that obviously bought stars on GitHub probably bought upvotes on HN too

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

#240
post #30

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

for me its unbearably slow - especially with deepseek v4 pro. Is that just myself? I literally signed up and canceled again, because for one prompt I needed around 5 minutes to get 600 tokens back (via ollama launch claude --mode ...)
Post reply on HN