DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost

https://esengine.github.io/DeepSeek-Reasonix/
Related ongoing thread:

DeepSeek makes the V4 Pro price discount permanent - https://news.ycombinator.com/item?id=48237663 - May 2026 (384 comments)

Comments

embedding-shapeMay 24, 2026, 2:24 PM
I'm not sure you need a "DeepSeek native coding agent" to take advantage of DeepSeeks cache, yesterday as the Codex quota usage issue still wasn't solved for me, I wrote a tiny little bridge so I could use DeepSeek V4 Pro via Codex, and seems most of everything I did was basically cached as far as I can tell: https://i.imgur.com/7eKn6wN.png (2026-05-23 Input (Cache hit): 39,123,200 tokens, Input (Cache miss) 1,692,286), and the bridge is doing not special, just massage the DeepSeek API shape into what Codex expects, nothing particular about caching at all.

Besides being even better at the caching, I'm not sure what benefits you'd get compared to just firing up OpenCode with the DeepSeek API yourself, it'll similarly do caching for sure and also "talks directly to api.deepseek.com" if that matters, and you'll get a much more mature harness.

kipropingMay 24, 2026, 5:23 PM
This would be a better page to link to https://github.com/esengine/DeepSeek-Reasonix/blob/main/docs...

They explain some of the the reasons why they have a better solution and why they are very opinionated

>Automatic prefix caching activates only when the exact byte prefix of the previous request matches. Most agent loops reorder, rewrite, or inject fresh timestamps each turn — cache hit rate in practice: <20%.

So they optimize on this plus other techniques to improve cache hits, making it cheaper.

sparkleMingMay 25, 2026, 8:25 AM
The last time I heard about something like this, it was Claude Code intentionally injecting random strings to break caching when you're not using a Claude model. Aside from that kind of intentional sabotage, I don't think any coding agent would just ignore prefix caching.
ikureiMay 25, 2026, 5:15 PM
I haven't heard about this, could you please share more info, some reference on that Claude Code intentional bug?
sparkleMingMay 27, 2026, 2:42 AM
davesqueMay 25, 2026, 9:41 PM
I'm not sure what the mechanism is, but I've definitely had Claude refuse to work on sessions that were touched by other models. Some kind of integrity check failure. Resetting the session back to the point before I used the other model fixed the problem.
benjamincburnsMay 26, 2026, 12:05 AM
IIRC Anthropic's API produces cryptographic signatures for thinking blocks. If you try to submit a set of messages that include thinking blocks with missing/invalid signatures, it'll refuse.

They do this to mitigate jailbreak attempts that rely on fabricated message history (e.g. making it look like the model was compliant in previous messages, increasing the likelihood that it'll continue to be compliant in future messages).

krackersMay 25, 2026, 1:58 AM
>Most agent loops reorder, rewrite, or inject fresh timestamps each turn

That's really surprising, since it'd defeat the whole point of KV caching. I mean I buy it considering how sloppily coded the harnesses seem to be, but this like obvious low hanging fruit.

I've also often wondered why LLMs aren't trained with a format of having a dedicated contextual system-instruction role at the _end_, which you could use to put context like current time or other misc stuff.

benjamincburnsMay 26, 2026, 12:10 AM
I don't think it's factually correct.

There are context pruning strategies that will prune old messages that are no longer relevant, and context compaction from summaries, etc. But to say "most" do this on "every turn" is overstating things. I think it's more correct to say that "many" do this "occasionally."

I'm also not sure what they mean about injecting fresh timestamps. I could see why you'd prepend/append a timestamp to the user's messages to make the model aware of the current time, and the passage of time, but I can't think of any good reason to edit timestamps in prior messages. I'm sure someone can come up with one, but I'd be very surprised if this was a thing that most agent loops do, let along doing it on every turn.

jeremyjhMay 25, 2026, 2:50 PM
Its not surprising, that doc is full of AI slop.
embedding-shapeMay 25, 2026, 10:30 AM
> Most agent loops reorder, rewrite, or inject fresh timestamps each turn

I haven't seen that, it'd be crazy slow if they did this. What "agent loops" are they talking about here specifically? The vagueness makes it sound potentially made up.

vidarhMay 25, 2026, 7:43 AM
I've never seen an agent loop "reorder, rewrite, or inject fresh timestamps" each turn other than mostly towards the end of the messages. Messing with a large part of the context every turn would be a fairly crazy thing to do.
nawitusMay 25, 2026, 12:43 PM
Yeah. Those claims are just some random AI slop from claude..
vidarhMay 25, 2026, 1:47 PM
It's a really lazy one too - there are so many open source harnesses, including e.g. Codex and Kimi-CLI, and of course the leaked Claude Code source, so it's trivial to verify if someone even just bothered to ask an agent to check actual source code examples.
3ulerMay 24, 2026, 3:14 PM
Opencode has really bad cache stability issues that they seem uninterested in fixing at the moment.
datheryMay 24, 2026, 4:44 PM
The OpenCode devs talk about this on Twitter a lot, e.g. https://xcancel.com/thdxr/status/2048268697790300343

> tool call pruning breaks cache and people will tell you this is horrible and expensive

> except i looked at some anthropic data and real user behavior ends up with better cache hits and 30% less spend

> even this is needs to be analyzed further, it's just not simple

> for openai data it's inverted! cache hit ratio is actually better [sic: I think he meant worse based on the screenshot] with tool call pruning turned on

> but the net $ saved is only 5%

> kimi is a funny one - it has better cache hits with pruning on...but is also more expensive!

There was also another thread recently where he discussed that pruning improves user experience (models are smarter with less context) but I can't find it.

This can also be disabled in the config: https://opencode.ai/docs/config/#compaction

soerxpsoMay 24, 2026, 7:36 PM
My understanding of caching with most models/providers is that a prefix substring of the context has to be reused for a cache hit, but not necessarily the whole entire context window. So if you prune tool calls from the history, you're going to get one cache miss on the newly-pruned history, and then you're going to be getting cache hits on every subsequent turn, with a lower number of input tokens. If you prune subsequent tool calls after that, you would still get a cache hit for the already-pruned portion of the context, just not the full context.
__natty__May 24, 2026, 8:05 PM
So it makes sense to first send stable prompt, reasoning and files content, tool calls summary and actual tool calls at the very end?
leemooreMay 24, 2026, 11:26 PM
The way you do this (and the way opencode does it) is you do most of your pruning in more recent history. Last I looked at opencode, they start pruning tool call results after 2 full agentic turns. So you probably dont get quite as good hits on cache for the most recent 1-5% of your turns, but after that everything else caches fine and those tool calls that likely aren't relavent to your session anymore are gone.
awoimbeeMay 25, 2026, 7:43 AM
You didn't quote the interesting part:

> our implementation is it only prunes calls from > 3 user messages ago, if context is > 40K, and only if there's at least 20K tokens to be removed

Seems reasonable to me and explains why I can have long sessions (way longer than with zed agents) while still hitting cache. Opencode is just missing per-provider TTL.

arthurcolleMay 25, 2026, 9:03 AM
I found that keeping current context utilization at 18% of total context length was best for minimizing spend, across all models with 400k context length or more
hirako2000May 24, 2026, 7:10 PM
They are. Empirical evidence on my side. Because attention is sparse across the context. It's not truly treating a million token the way it treats a fraction of that count. For performance.
huqedatoMay 24, 2026, 4:25 PM
I can't confirm this. Having utilized Opencode for a large project over the past 10 months, with multiple models and agents, we've never run into such 'cache stability issues'."
embedding-shapeMay 24, 2026, 3:35 PM
That'd be really easy to spot and also fix, most likely. Any open issue you could point us to, must surely been reported already?
nolokMay 24, 2026, 4:17 PM
> That'd be really easy to spot and also fix, most likely

Ah, reminds me of good old "There are only 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors."

criemenMay 24, 2026, 4:27 PM
> Ah, reminds me of good old "There are only 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors."

You quip, but LLM KV caching (from the harness side) is quite easy: You get a cache hit on stable prompt prefixes, period. That means you want to keep the prefix stable, and only append at the end of the conversation. Made up example: Don't put the git branch name into the system prompt part (that comes first), as whenever the branch name changes, that'd trigger a cache invalidation of the entire prompt.

Getting this right requires some care to not by accident modify the prefix, basically, and some design on communicating the things that can change (user configuration, working dir, git information, ...).

franknord23May 24, 2026, 5:58 PM
That sounds like the experience of writing Containerfiles; since steps are cached you want to pull the thing you are iterating on as far down as possible.
gopher_spaceMay 24, 2026, 7:26 PM
All of this work has been done before in different contexts. Memory management with bigger blocks and weaker definitions that change whenever some grad student gets a bright idea.
vidarhMay 25, 2026, 7:49 AM
100%. Since you mention memory management: Generational GC is pretty much the same idea: Keep the stuff that's least likely to change an important property (liveness) together.

Conceptually the underlying general idea is to sort things based on stability if you can avoid recomputing properties of the stable part.

verdvermMay 25, 2026, 5:10 PM
It's even closer to prefix matching on super long strings by chunk
xcjsamMay 24, 2026, 4:30 PM
[dead]
krzykMay 24, 2026, 4:22 PM
Opencode (and other coding agents) have hundreds of open issues reported. It is quite discouraging when they are not being closed/fixed.
verdvermMay 25, 2026, 5:11 PM
These projects have also been the recipients of PR spam, lots of duplicates and unconfirmed in there for less technical people and clawd operators
jsjsjsuduiwkwMay 24, 2026, 4:40 PM
[dead]
polski-gMay 26, 2026, 9:12 AM
Yeah that's frustrating. Everytime they pop up on my Twitter timeline I shame them into addressing their issue backlog.

They're aware of the issues length and they're "looking into a solution".

estebarbMay 24, 2026, 11:25 PM
I'm not sure that is really the case, or relevant in practice. I have been using OpenCode with DeepSeek lately (regular coding). For instance, today I got 120 million input tokens hitting cache, vs just 2.59million missing cache.
ctxcMay 25, 2026, 3:19 AM
Reads like a LOT of tokens to me. What does your usage /workflow look like? I'm v curious because although I do use Claude code, my token counts aren't nearly as much

I want to know if I'm missing something cool!

mordaeMay 25, 2026, 8:23 AM
Not OP, but I routinely load 150k tokens into context. A full sub-package to work on, select other files in the monorepo, e.g. front-end visualization and back-end data loader. Then work some 150k tokens, then start again.

At the end, cache hit rate is like 99.5% if Novita is not having issues.

For official DeepSeek API, 99.9% or something.

Custom harness that never compacts or otherwise doctors the history.

ctxcMay 25, 2026, 12:18 PM
Those numbers make sense to me...120 million input tokens is like 120 sessions of hitting the full context limit, which seems like a lot to me though
metalspotMay 24, 2026, 6:40 PM
I am getting 98.6% cache hit ratio on deepseek-v4-flash with opencode
bobkbMay 24, 2026, 7:17 PM
That’s impressive!

On the sheer performance it’s comparable to Opus ?

stavrosMay 24, 2026, 10:41 PM
Here are my stats (from DeepSeek directly, with a script I wrote). The prices are what equivalent Sonnet usage would have cost, the actual amount I paid was $10. On performance, DeepSeek V4 Pro is comparable to Sonnet for me.

     ./cost.py amount-2026-5.csv 0.3 3.75 15
    input_cache_hit_tokens: 472,971,520 tokens -> $141.8915
    input_cache_miss_tokens: 13,299,013 tokens -> $49.8713
    output_tokens: 3,334,962 tokens -> $50.0244
    cache hit rate: 97.27% (472,971,520/486,270,533)
    cache miss rate: 2.73% (13,299,013/486,270,533)
    total: $241.7872
All of this usage was with an OpenCode subagent exclusively.
c0rruptbytesMay 25, 2026, 2:41 AM
[flagged]
upcoming-sesameMay 24, 2026, 7:44 PM
out of curiosity, how do you measure cache hit rate in opencode ?
malikNFMay 24, 2026, 8:40 PM
opencode stats
luguMay 24, 2026, 10:17 PM
So the calculation is:

Total input token = input + cache read + cache write Cache hit rate = cache read / total input token.

That is 71% in my very limited use of opencode.

hackernows_testMay 24, 2026, 10:53 PM
The first
magicalhippoMay 25, 2026, 5:41 AM
What I noticed when using OpenCode with llama.cpp, was that the default host RAM prompt cache size in llama.cpp was way too small for say 128k Qwen3.6 27B.

The default is just 8GB and a full 128k context for the dense model can take most of that. So then comes an agent and causes eviction and subsequent cache miss.

Bumped the cache size (--cram IIRC) up to 48GB and had much better results.

verdvermMay 25, 2026, 5:07 PM
There are some that are specific to certain models like qwen/gemma

I switched to vLLM and those went away. Need to look at my opencode config and adjust some others based on things I see here

BombthecatMay 24, 2026, 3:49 PM
[flagged]
tontintonMay 24, 2026, 6:10 PM
Yep exactly my thoughts, went and looked at the code for the deepseek provider in my coding agent. and basically all of what the author wrote there is implemented... http://github.com/tontinton/maki for the curios
bwfan123May 24, 2026, 2:29 PM
> I wrote a tiny little bridge so I could use DeepSeek V4 Pro via Codex

Can you share the bridge. DeepSeek v4 is awesome paired with claude-code or opencode. I found that claude code costs me less than opencode and I am presuming this is due to a better engineered harness.

embedding-shapeMay 24, 2026, 2:47 PM
Sure, keep in mind it's a steaming pile of hacked together hacks, probably won't work in every case, doesn't support every feature that should be supported (like parallel tool calling, both Codex + DeepSeek API support it), and it might make your computer catch on fire: https://gist.github.com/embedding-shapes/eab3e63e5a95d3d78a2...

I only used it for a few hours to play around with stuff before the quota issue was fixed and I could resume using GPT models, and the bridge was coded by DeepSeek-V4-Flash-IQ2XXS + DwarfStar4 locally, I take no responsibility for what might happen with your computer or you, during usage or just reading the code.

Edit: heh, like don't look at line 117 for example where seemingly it likes to handle misspellings in the .env file which totally wasn't my fault for typo'ing the API key in that file... I'm sure there are tons of sharp edges and dumb stuff in there.

spacedcowboyMay 25, 2026, 11:04 AM
I don't think DeepSeek v4 Flash is as good as Claude for relatively complex tasks. I ran with DeepSeek for a week, giving it the same sort of tasks that Claude normally does, and then ran Claude and asked it to continue. It found a whole bunch of things that had been "overlooked" by DeepSeek, and spent some time fixing them before wanting to move on.

DeepSeek is good, Claude is better, at least IMHO. Deepseek is a lot cheaper though :)

alexzhaoshengMay 25, 2026, 9:48 PM
[dead]
bayesianbotMay 24, 2026, 5:07 PM
LiteLLM can serve OpenAI API endpoint IIRC and proxy that to other providers like DeepSeek, should work with Codex
Den_VRMay 24, 2026, 3:22 PM
I’m feeling more a novice every day, but how isn’t this just handing over your code to team deepseek for whatever they might want
embedding-shapeMay 24, 2026, 3:34 PM
Not everyone is working with state secrets or user personal data (or even more closely guarded, company secrets) on a daily basis, most of what I hack on is either FOSS already, or will be, not much to keep secret here.

Obviously, if you do deal with any sort of secrets, then using local LLMs over OpenAI, Anthropic, DeepSeek or whoever is obviously preferred, and in the case of personal data of users, probably a requirement.

jack_ppMay 24, 2026, 4:58 PM
either this or you work on software that even if copied won't get you far since the business relies on network effects or pure networking.

Getting the source code of facebook or instagram doesn't mean you could compete with them.

I work for a company that has built relationship with event organizers over the past 10 years. The code I maintain could be written from scratch in maybe 2-3 months even though it was built over the past 10 years but besides that you have frontend / DB / hardware / logistics etc

DemiurgeMay 24, 2026, 6:54 PM
I actually agree with you, for the most part. The code I work with actually does contain some valuable algorithms, but Im pretty sure the effort of integrating them into a larger system is pointless without the data. It’s almost like stealing half-life 2 source code without any assets.

Still, “Getting the source code of facebook or instagram doesn't mean you could compete with them.” I think to giants like that, having access to their source code could open up some very interesting loop holes for manipulating the ranking algorithms, or even security vulnerabilities.

jack_ppMay 24, 2026, 6:59 PM
True, haven't thought of that. However very few actual projects / companies are in a situation where the chinese GOVT would be interested to spend resources to hack your platform. For the ones that are afraid of that there's always self hosting of course
Den_VRMay 25, 2026, 12:08 PM
I used to work with HVAC companies, and I noticed that many of their customers mistakenly believed they were purchasing air conditioners. They didn’t consider these devices, which they connected to the internet, as computers. Despite being systems that required user names, passwords, updates, monitoring, and other maintenance, the prevailing attitude among these customers was, “This is an appliance, and why would anyone care about my air conditioner?”

All this to say, not even subject matter experts necessarily appreciate the risk involved in their work

oldmanhortonMay 24, 2026, 3:55 PM
You’re not a novice, there are a lot of us who know exactly what we are doing and see this as a huge downside. We are just being told to go faster, faster, faster lest we miss out on… something?
jijjiMay 24, 2026, 4:35 PM
there's laws on the books in China that says that every company operating in China must aid and abet the Chinese government in espionage against the rest of the world. given those facts, I find it deeply troubling to be using anything coming out of China, especially a program that runs in the context of a Linux terminal on a machine that might have something important on it. I'd argue it's a back door waiting to happen, if not sooner than obviously later.
goobatroobaMay 24, 2026, 6:42 PM
As a European I have to admit I am these days more worried about the US than China. See yesterday's article about the US government forcing Microsoft to give them lists of Dutch government officials. Utter madness. At least the Chinese mainly care about the money and power levers, the US about strange worlds of revenge and manipulation, trying to change or influence your government. E.g. which of the two countries has put crippling personal sanctions on staff of the international criminal court?

Honestly I'd love to love the US again, but basically after Obama things have just gone down and down and no soul will trust the US again in the next generation or two.

jijjiMay 25, 2026, 1:17 AM
The situation you reference is related to a specific investigation by US congress requesting documents about potentially illegal censorship actions by EU officials from a specific company (microsoft). The difference is that the laws in china are broadly defined to include giving all intellectual property of anyone back to the government with no oversight, for the purposes of espionage.

The former relates to a specific investigation about potential criminal activity, the latter relates to broad illegal activity committed by the government itself unrelated to any specific case.

The US has no laws on the books forcing companies to wantonly give intellectual property and other espionage level material back to the government. If they did, no one would use cloud providers.

To avoid this, you can run your own hosted machine in a colocation facility, because in the US, people do have reduced rights when their data is controlled by a third party versus being controlled by themselves. Its the same as if the data was in your house, they would need a search warrant to obtain it, but when its at a Azure or AWS datacenter not controlled by you, your privacy rights are reduced by doing this.

MASNeoMay 25, 2026, 8:51 AM
> no one would use cloud providers

I think many are trying to move away from US providers actually. FISA section 702 and the current administrations liberties taken towards international law are not helping. The trust problem is real.

Not sure I’d trust China with anything onshore. But offshore, it does seem they play by the rules, because it pragmatically serves the stability of the people. China has not started wars in the past 50 years or so. By that logic one may assume they’d not abuse the arguably broad powers over Chinese firms abroad to risk one now.

In a world where rules are increasingly less important how states use power matters more to me than how they claim to be monitored.

watwutMay 25, 2026, 8:12 AM
> If they did, no one would use cloud providers.

EU has literal directive about location of data which has to be located in the EU and not in the USA, because the data are in danger otherwise.

miroljubMay 25, 2026, 8:52 AM
Yep, and then they let US companies handle that data. One more proof EU regime is run by ... no, I won't tell, don't wanna get arrested.
cickoMay 25, 2026, 6:06 AM
> The US has no laws on the books

Correct. They come up on Twitter daily. Pardon, this other truth bullshit.

c1sc0May 25, 2026, 3:55 AM
Besides the language barrier it’s actually also just simpler to do business with the Chinese. There are issues like censorship but they are known & can be routed around. It’s best to just ignore the US and move your business elsewhere.
OtomotOMay 24, 2026, 9:34 PM
Exactly this.

I don't care about the US more than about Russia or China these days.

They are definitely not our allies anymore.

dominotwMay 24, 2026, 10:52 PM
you dont need to be allies to do business. walmart is not my ally.
OtomotOMay 25, 2026, 6:19 AM
True, but then I expect them to betray me at any junction and I'll gladly do the same.
ajucMay 25, 2026, 12:58 PM
Not enough trust to do business.
schubidubidubaMay 25, 2026, 11:02 AM
The difference is that Walmart is a stable, reliable trade partner that honors contracts and is not trying to use propaganda to make you a fascist
monch1962May 25, 2026, 1:59 AM
As an Australian, I completely agree with every point in your response
dominotwMay 24, 2026, 10:51 PM
so govt forcing a private coroporation being a big deal that a its on the worldwide news is more scary to you than an implicit mandate that china forces on its companies?
gizajobMay 25, 2026, 7:05 AM
That particular rot actually turned cancerous with Bush and Cheney, not Obama, IMO.
tim-projectsMay 24, 2026, 7:06 PM
Is it not better to have a country far away spying on you than your own country?
azinman2May 24, 2026, 9:14 PM
Not if it’s industrial espionage.
DanoxMay 24, 2026, 9:32 PM
The four biggest (obvious) backdoor countries in the world in no particular order the United States, Israel, Russia, China. Honorable mentions, North Korea, Ukraine…
MuromecMay 26, 2026, 12:31 AM
Ukraine isn't backdoring any software, because nontechnical means work much better most of the time
subscribedMay 25, 2026, 10:21 AM
I forbidden from working on the company code with DS, but if I have a private something that looks pretty much like one of the thousands repositories put there, it doesn't matter that much.
_3u10May 24, 2026, 6:27 PM
FISA section 702 / Five eyes / Room 641A.
zaphirplaneMay 25, 2026, 11:52 AM
Like which country allows companies to not follow a legal directive. How weird
cickoMay 25, 2026, 6:03 AM
Yes, and the Russians are still coming!
dudisubektiMay 25, 2026, 3:00 AM
Yeah, but it's miles better than giving Anthropic and OpenAI your data. At least Deepseek is releasing open-weight models and a lot of open-source libraries.

If you're concerned about espionage then the only solution is host the models yourself, which again, only open-weight models like Deepseek enable you to do this.

spacedcowboyMay 25, 2026, 11:06 AM
Somehow I don't think DeepSeek will be that interested in a 6502 compiler [1]...

1: https://atari-xt.com/

NamlchakKhandroMay 24, 2026, 10:09 PM
Claude code and open code are streaming piles of shit
himata4113May 24, 2026, 2:29 PM
this appears to be native to the terminal, as in, there's no special application that runs or wraps an agent inside a tui. So basically instead of commands you type plain english?
embedding-shapeMay 24, 2026, 2:31 PM
> this appears to be native to the terminal, as in, there's no special application that runs or wraps an agent inside a tui

Same with codex? codex-rs at least, is a TUI as well, it does run a "app-server" in the background, that the TUI actually interacts with, but that's just an implementation detail. Also makes it easy to hook in your own programs to fire of codex "headless" sessions even without the TUI.

agrippanuxMay 24, 2026, 6:23 PM
This website seems to have been generated by Codex - I asked Codex to create an HTML overview of a feature for my team and it made an overly produced monstrosity - complete with the same large stat boxes that were for the most part devoid of meaningful information - using the same font, colors, layout, hero section, etc. It was also terrible on mobile just like this is.

In the end I had Claude produce a one-page html file that was 95% of the way there and it took minor editing to clearly explain the intent of the feature.

port11May 24, 2026, 8:08 PM
A lot of LLM-driven design now looks like this. I don’t understand how people don’t find ugly the pairings with an heavily italicised serif. You also can’t read much of the page on mobile, because the code example keeps shifting the content around.

Now, that is overly critical, I’m sure their heart is in the right place. But a simpler website would do :)

gizajobMay 25, 2026, 7:07 AM
Yeah such amazing tech used to produce a tediously unreadable website with great flair.
krm01May 24, 2026, 8:26 PM
It’s sad to see companies not spending a bit more on design. Sure, ai will help you get something decent out fast. But there’s a threshold where design becomes an indicator of trust. Especially for b2b software that tailor to large corps. Good design, character, adds directly to the bottom line.
schaeferMay 25, 2026, 12:22 PM
> It’s sad to see companies…

The article is about an open source agent harness, Reasonix, that is built to leverage the DeepSeek native api.

There’s no company here. No design budget. These people are graciously sharing a project they made in their free time.

darkmatriarchMay 25, 2026, 4:15 PM
You're right, but I find as a solo engineer it's still important to check the frontends I create on mobile
port11May 25, 2026, 9:06 PM
I agree. I didn’t mean to be too critical. But if they’d made something simpler, I think it would save them tokens and end up more likely to convince their target audience of developers.

(The series of ‘motherfucking websites’ comes to mind, they were all very readable and simple, even if satire.)

easygenesMay 25, 2026, 6:40 AM
Claude Opus 4.7 defaults to exactly this design language for a lot of "just make me a rich html presentation page" requests without further specification.
locknitpickerMay 24, 2026, 7:49 PM
> In the end I had Claude produce a one-page html file that was 95% of the way there and it took minor editing to clearly explain the intent of the feature.

That doesn't say much about any model though. For starters, any software engineer can tell you that leaving out features can drastically simplify any project.

ritonlajoieMay 25, 2026, 12:50 AM
strange, I got the same design with claude design, same fonts, same title designs with the strange character etc...
jbellisMay 24, 2026, 8:10 PM
As someone who has been writing harnesses for a year: the people at opencode etc aren't stupid, when they decide to break the prefix cache [usually partially] it's always because they've tested it and it gives better results overall.

If you think that dsv4 behaves differently enough from the aggregate of other models, submit a PR with a patch to special case that to your harness of choice with evidence. Just blindly assuming "append only all the time because cache" is a waste of everyone's time.

anon373839May 25, 2026, 4:51 AM
Are there any learning resources you'd recommend on writing harnesses? I'm interested in doing a non-coding one, but not really sure where to start.
jbellisMay 25, 2026, 8:05 AM
Generically, I would say, just start building it and ask your favorite coding agent for advice when you get stuck. This is the first technology that can teach you how to use it! (But do ask a model with a recent knowledge cutoff, i.e. not gemini.)
sams99May 25, 2026, 9:58 PM
My agent wrote a pile of very interesting articles at wasnotwas.com I have been a bit quiet there for a bit, but it covers lots of areas that are very interesting to harness builders (albeit less interesting to the general public)
schaeferMay 25, 2026, 12:43 PM
> As someone who has been writing harnesses for a year…

Your agent harness, brokk, looks great. I’m going to try it this morning.

phrotomaMay 25, 2026, 10:33 AM
Is "harness" in this context ~= "agent"?
abustamamMay 25, 2026, 12:14 PM
I've understood harness to be the software that runs the agent (open code, pi, Claude code)
furyofantaresMay 25, 2026, 7:21 PM
I think agent = harness + model.
d-faultMay 25, 2026, 6:58 AM
[flagged]
prakashsunilMay 25, 2026, 2:03 AM
[flagged]
skeledrewMay 24, 2026, 2:30 PM
Not a fan of that page. The animated typing and resulting continuous resize of the example keeps moving the content beneath it down and up. Such bad UX.
embedding-shapeMay 24, 2026, 2:54 PM
Agents or no agents, people still need to test their websites on different resolutions or at least window width, but seems this is becoming a lost art.
mirekrusinMay 24, 2026, 3:33 PM
Yeah, doesn’t look designed for people who want to read it beyond animated typing animation.
m4rkuskkMay 24, 2026, 4:42 PM
Claude design AI slob.
stirayMay 24, 2026, 7:58 PM
If only author would understand, that some people want single, self sustained binary that doesnt take half of computer memory and would rather write it in rust or golang.
DefenestresqueMay 24, 2026, 11:13 PM
github.com/charmracelet/crush

The company that had that acrimonious split from OpenCode. Still, fully written in Go and compared to node-based harnesses, uses 1/5th the RAM. (At least for me.)

Works with any provider (including OpenRouter free ones).

No conflict of interest here, just a happy "customer" of this excellent resource.

_joelMay 25, 2026, 3:46 PM
it's a 404
mikodinMay 25, 2026, 4:00 PM
https://github.com/charmbracelet/crush (Haven't used it, but also hit the 404 and wanted to see it)
_joelMay 26, 2026, 10:18 PM
thanks
XeoncrossMay 24, 2026, 8:11 PM
I'm really happy to see a lot of new software come out in Rust, Go, or Zig.

The value and ease of development that slow interpreted languages used to offer is disappearing. New languages have all the nice things built in, or rather, our 1am pager alarms are starting to make us mad.

wg0May 24, 2026, 8:26 PM
Can someone explain that was use of AI (and all the claims) that a coding agent cannot be written in plain go for example? Given there are tons of good terminal libraries for golang?
xliiMay 24, 2026, 8:56 PM
It can be written in Golang but interaction libraries are very limited and with sharp edges.

There's Google's genkit, charmbracelet's fantasy and LangChainGo. Each has ugly hacks and omissions. Then handling slice streaming of data into Elm architecture (bubbletea) is also complex.

So in theory nothing stand against but in practice one has to get quite low to the ground to get anything done.

Also: Golang agent exist! It's called crush and is developed by charmbracelet people. It's so-so though I prefer Pi myself.

zozbot234May 24, 2026, 8:07 PM
If you want to try a single self-contained binary that does take half of your computer memory or more, there's always ds4-agent.
crystal_revengeMay 24, 2026, 8:23 PM
If this is what you want, especially in the age of coding agents, why not just build it yourself?
pancstaMay 24, 2026, 8:00 PM
Having a coding bot but skimming on coding? That should tell us something.
unshavedyakMay 24, 2026, 3:35 PM
It's pretty funny, i'm a $200/m Claude subscriber and i've had little need to use anything else. However the more Claude has been restricting my workflow (notably around the recent IDE/-p usage change) the more i've been wanting to go elsehwere.

I'm concerned since i really want SOTA reasoning, but DeepSeek still has me interested.

AlifatiskMay 24, 2026, 4:52 PM
> I'm concerned since i really want SOTA reasoning

I think you should give other models a try and see how much they differ from SOTA models. I did this and realized, even Qwen-2.5-Max was enough. I am sure even Claude Sonnet 3.5 is enough for things I play around with. I am not really striving for fields medal in Mathematics.

unshavedyakMay 24, 2026, 6:45 PM
That's fair, neither am i - i do tend to work in large, complex, full of legacy decision based codebases. Eg i have access to Sonnet (of course), but i choose to solely work in Opus because i find its output reads better, analyzes better, etc.

The "cost" is dumb models is just so high for me. Eg every bad decision they make increases my frustration quite a bit. Despite putting a lot of effort into my workflow to help reduce the number of decisions they make, they always will. So my hedge is always against that.. trying to reduce how insane they can be heh.

gck1May 24, 2026, 6:20 PM
I gave a fairly complex reverse engineering task to DS-4 xhigh and GPT-5.5 xhigh today.

After about 6 hours, both ultimately failed to fully RE, however, there were some drastic differences:

DS stopped every 30 minutes or so, saying it did full RE and it should all work now, while in fact, it didn't complete even 1% of it. It also looked for shortcuts again and again, despite me prompting heavily that the specific shortcut may not be used. It was a complete and utter failure.

GPT-5.5, on the other hand, blew me away. It just did the right things, didn't jump to next steps until it was sure it completed the initial layers and had a full understanding of what's required. The only time I prompted it during the 6 hours was when I saw it going in the right direction and I could nudge it slightly towards an even better way. I never felt I was fighting it. Okay, maybe a little bit - after compaction, it sometimes would go on a "no I'm not helping you with reverse engineering" tangent, but it would resolve in a clean session.

I cancelled my Claude subscription a month ago, so I haven't tested that, but DeepSeek has reminded me a lot of how I worked with Opus 4.6/4.7. Which perhaps could be a positive sign to some, but GPT-5.5 showed me that the way claude/ds work is just way too annoying.

cmrdporcupineMay 24, 2026, 8:21 PM
The GPT models are heavily biased to a more incremental, empirical, evidence based approach. Sometimes to a fault. I prefer them for this reason, but it requires coaxing or strategic use of /goal to break it out if its highly staged, one piece at a time, approach.. if you don't like it.

I suspect for people doing more... website ... type development, the more "yeet this into existence" style of Opus feels preferable.

With Claude I was constantly jamming my finger on the escape key "wait, you did what?! based on what proof?!"

beeringMay 24, 2026, 9:04 PM
You make it sound as if Codex is for people who know what they want and Claude Code is for people who don’t know what they’re doing.
cmrdporcupineMay 24, 2026, 9:41 PM
I was trying to not sound that biased, but ok ;-)
AurornisMay 24, 2026, 10:05 PM
> DS stopped every 30 minutes or so, saying it did full RE and it should all work now, while in fact, it didn't complete even 1% of it. It also looked for shortcuts again and again, despite me prompting heavily that the specific shortcut may not be used. It was a complete and utter failure.

This is my experience with non-SOTA models across the board. When you try them on little tasks and they work it feels amazing, but then you go deeper and you're back to going in loops and fighting the model for hours.

Switching back to a SOTA model immediately yields progress again.

When I read all of the comments from people saying they can't tell a difference between Opus and <insert open weight model here> I don't know if they haven't really used it much yet, or if they're just not doing anything complicated.

am17anMay 25, 2026, 11:01 AM
Did you read the OP when he's exactly chiding the model you're glazing?
AurornisMay 25, 2026, 2:05 PM
Did you intentionally miss the point of my comment? Substitute Opus for GPT-5.5 if you will. I use both as well as locally hosted models using some of your branches, even.
am17anMay 25, 2026, 4:01 PM
Fair enough. I agree with you - although DS4 Pro is a GPT 5 class model which scores 46% on ARC-AGI-2[^1]. It's behind by maybe 9 months, I think it's still good enough for a lot of complex tasks as well. They definitely need to work on a "just fucking works" harness like CC/Codex. Also thanks!

[^1] https://www.nist.gov/news-events/news/2026/05/caisi-evaluati...

ttulMay 24, 2026, 6:47 PM
What you’re experiencing is the difference in model intelligence. Most models can seem pretty good at simple stuff over short time horizons. Complex work requires that more intelligence be stuffed into those trillion-dimensional spaces.
logicchainsMay 24, 2026, 4:41 PM
If you want SOTA reasoning you should be using GPT 5.5 Pro.
unshavedyakMay 24, 2026, 6:20 PM
This is fair, but i've found the different models to have different moods and require different interactions to get them to stick to just the specific edits i ask for, etc.

I used to surf the three big players frequently and got really tired of the effort needed to steer some models. In the end i ended up sticking with Claude because it required less steering effort. While not strictly reasoning, a models ability to follow clear directions consistently is something i'd consider part of its SOTA capabilities.

Eventually i just tired of exploring. I just want stability.

Which ironically is why i'm thinking about moving from Claude. The very basic IDE/-p usage getting removed from my plan is a UX stability issue. I'm trying to progressively improve my workflows and efficiency, not have to establish a new foundation anytime something shifts. Quite frustrating.

auggieroseMay 24, 2026, 5:15 PM
Codex has only GPT 5.5
KronisLVMay 24, 2026, 5:43 PM
> i've been wanting to go elsehwere.

There's always the option of using Anthropic's models for some tasks like planning and then just hand over the implementation task to something like DeepSeek. Across different tools, a Markdown plan works pretty okay. That's what I'm planning to do if I go from the 5x Max subscription down to the Pro.

I am also writing a launcher that makes using 3rd party providers with Claude Code easy (https://ccode.kronis.dev) and I already have a local proxy up and running, just not dynamic model switching yet. Though it shouldn't be too hard to add, will probably be there within a week or two, depending on my schedule.

I don't think it's wise to leave Anthropic altogether because their models are great (and a subscription gives you features like Remote Control which I like), but switching tiers and maybe saving a bit of money seems viable! On the other hand, you do need a quality baseline, because I remember using Cerebras with GLM 4.6 way back and there was a bit too much slop.

0xbadcafebeeMay 24, 2026, 5:11 PM
You should definitely stick to the $200 plan, and not try the $10 coding plans with open weight models and higher limits. Anthropic needs your money to stay solvent, and you'll sleep better knowing you're using SOTA.
port11May 24, 2026, 8:13 PM
(Zero reason to defend Anthropic.)

I’ve gone that route. I really wanted to stop using Claude, but Deepseek v4 Pro and Kimi 2.6 didn’t do the job. For a lot of coding tasks or well-specced plans, maybe… but then that’s a plan made by Opus anyway.

Even Sonnet is sometimes not worth the trouble. Opus is very thorough and reviews its own mistakes quite well. Catches a lot of edge cases.

I’m not saying we shouldn’t try other things — I did! —, but it’s more or less okay that people just like Claude Code subscriptions? The back and forth I had with Kimi on a small feature came out to ~1.8€, which is 10% of my Claude subscription each month. And that was a single session. CC with Serena uses tokens fairly well.

bazhandMay 24, 2026, 9:25 PM
/advisor is like the old /opusplan mode but for running tasks not just pre-planning. It can work nicely with Sonnet as the main agent and escalates to Opus as needed.
port11May 25, 2026, 9:02 PM
Advisor-mode has been very helpful indeed, I can now plan with Opus, have Haiku code, and escalate back to Opus for review. It’s a decent flow for Pro subscribers trying to max their usage. But as I’ve said above, sometimes it’s not worth it: Sonnet and Haiku can produce stuff that’s not worth reviewing.
constantiusMay 24, 2026, 9:30 PM
The world would be better long-term if we chise tonfund open models instead however.

If you think short-term and only about yourself, paying for SOTA regardless of how many military contracts the lab has is the best thing, but paying for open models is both better ethically, and for a future where AI belongs to everyone and not just to Altman et al.

declan_robertsMay 24, 2026, 2:47 PM
I love the focus on cache hit efficiency. Hats off to the deekseek team for creating a great product that maximizes cost efficiency for the user.
bwfan123May 24, 2026, 2:57 PM
> Hats off to the deekseek team for creating a great product

I have been using it for a while, and I wholeheartedly agree. imo, it is as good as codex or claude which I also use. It is a winner in the cost-sensitive tier, and if some startup could put it together with data-retention in mind, it could be a great product sold to the enterprise, as data-retention and privacy are the main issues for the coding-assistant usecase.

chillfoxMay 24, 2026, 3:29 PM
Deepseek v4 pro is definitely my preferred cheap model, it's very good, and I use it all the time for my personal projects (opencode go plan), but I also use Claude Opus all the time at work and Deepseek is not as good as that, but it does compete with Sonnet for capability, and beats it on price.
pjeremMay 24, 2026, 8:12 PM
I have unlimited Claude Opus at work and it’s wonderful. Not allozwed to use it for personal use though.

So I use Deepseek Pro on the $20 Ollama Cloud plan and it’s really not that far behind and I never triggered the plan’s limits.

It’s like 10-15% less powerful but costs 10 times less.

Totally worth it. I prefer Opus because my employer pays for it but I would personally never pay 10 times more for it.

chillfoxMay 25, 2026, 12:31 AM
Nice,

I have got unlimited Claude Opus at work as well.

I was really having a hard time deciding between the Ollama and OpenCode plans for personal use, I couldn't really understand how much usage I would get with the Ollama plan, so in the end I went with OpenCode and I have never hit the limits despite using it most evenings and weekends for several hours.

abustamamMay 25, 2026, 12:22 PM
What models do you use in open code? I too have unlimited opus at work and I tried using my same workflow from work using Kimi 2.6 in open code and... It's just not it, even for relatively simple stuff.

Maybe I should try DS4p?

chillfoxMay 27, 2026, 2:46 AM
I use DeepSeek v4 Pro, at max thinking. It's comparable to Sonnet 4.6 on high thinking.
spaceman_2020May 25, 2026, 5:07 AM
I genuinely don’t think you need Opus 4.7/GPT-5.5 tier models for 95% of tasks in a normal workplace

People are out there using frontier intelligence to make responsive headers and weekly work reports. Absolutely don’t need the latest and greatest models for this stuff

HDBaseTMay 24, 2026, 11:53 PM
Deepseek V4 Pro is an amazing model, even without the unreal cost factored in.

It is my default model at the moment. I'm not doing anything too complex though. I honestly found more expensive models like Qwen 3.6 to fail in tasks Deepseek nails.

I'm interested in knowing what people are using for tasks which require a bit more thinking. Kimi 2.6? Qwen 3.7? GLM 5.1?

chillfoxMay 25, 2026, 12:13 AM
I don't think there's any open models at the moment that can handle the more challenging stuff.

The things that I use Opus for at work is finding bugs in about ~200k lines of microservices and libraries in a niche language. So, we will get these bug reports that are missing context, can't easily be reproduced on our dev server, and are usually the result of something deep in multiple services/libraries combining with very custom configs. I can ask Opus (max thinking) to find what could cause the bug, and it usually nails it in a few hours (would take me 1-2 weeks to trace it myself). The end result will be like less than 10 lines of code to fix it, some tests to reproduce the bug and a nice report explaining it, so it can be checked in an hour or two.

AkamantMay 25, 2026, 10:34 AM
17 GoLang microservices for a serious project were written perfectly using the latest version of QWEN(3.6). The only areas where we really had to work hard were documentation and a very serious task breakdown. All of this was tested, and yes, a review was required, but everything was within reason. The deadline was 10 days of 24/7 work, including the review. When attempting to submit the same task, Opus 4.7/4.6 had to be stopped after three hours. If you have significant resources for experimentation, you can certainly try. For us, the choice is absolutely clear at this point.
nicceMay 24, 2026, 4:09 PM
Just in case, note that this project is someone's side project

> Independent open-source project · not affiliated with DeepSeek

stavrosMay 24, 2026, 3:03 PM
How can you have cache hit efficiency? Isn't it just a matter of not changing the previous context? I don't understand what knobs there are to tweak on this.
everforwardMay 24, 2026, 3:20 PM
> Isn't it just a matter of not changing the previous context?

Yes, but a lot of harnesses change previous context. E.g. the system prompt injects the current time/date, working directory, files in the working directory, etc. Compaction also changes the whole previous context. I _think_ changing the list of tools also invalidates cache, so invoking a subagent with different tools would invalidate the cache.

My vague impression is that it's in a similar vein to functional programming languages. It generally disallows doing things that lead to bugs (cache misses in this case), and presumably allows you to do those things in a way that makes it much clearer that this is likely to cause cache misses. I would guess that in this paradigm, you don't mutate your existing session, you derive a new session by mutating the prior context into a new context.

chillfoxMay 24, 2026, 3:32 PM
changing between plan/build mode in some agents will change the tools list, which breaks the cache.
brookstMay 24, 2026, 3:57 PM
Cache is always there, it’s just that it only caches up to the point where an input token changes. So if the tools list is early in the prompt, changing it would limit cache for most of the prompt. If the tools list is the last thing, you could still get 99% cache hits even if it changes every turn.
RevEngMay 24, 2026, 5:16 PM
After a couple of turns the system prompt is a small part of the context. Not changing the system prompt at all is key so that the rest of the history is itself part of the prefix.
chillfoxMay 25, 2026, 12:42 AM
Depends upon the service and how the harness is built, Some of the services allow for very few cache keys, so you won't necessarily get any cache if you edit recent messages as the cache is not per message, but big blocks of everything up to a cache key.

This was actually surprising to me when I learned about it as I have never worked with (or built) any cache working like that before.

BombthecatMay 24, 2026, 4:00 PM
Adding already cheap API cost and you probably could let it run for days and the same task..
ruckfoolMay 26, 2026, 3:04 PM
The prevalence of chinese training datasets has likely biased the model incorrectly. The model is still intelligent enough to flag this as a gap in its own abilities.

Here is an example of Reasonix resuming a feature in a project managed by Codex thus far.

> ● reasoning · 107 tok · 2 ¶ · 3.2s v4-flash ↳ The search engine is still completely broken - returning Chinese dictionary entries, Kick streamer profiles,… c. It's not just broken for ** content, it's broken for everything. The error from earlier said to switch … ⋯ 2 lines elided I need to be honest with the user that `web_search` is fundamentally non-functional regardless of what query I try. Let me clearly communicate this and suggest alternatives.

‹ reply 198 tok · 92 t/s v4-flash I'm sorry — I've now tried multiple queries across multiple attempts this session, and the web_search tool is fundamentally broken regardless of query phrasing. Every single query returns either Chinese dictionary entries, Kick streamers, YouTube homepages, or Swiss restaurants. Nothing even remotely related to the search terms.

The error message from the tool itself says:

  "switch engine with /search-engine bing|searxng|metaso|tavily|perplexity|exa"
This is a user-side setting — I can't change it with any tool I have. Could you run this in chat?

/search-engine bing

That would switch from the current broken Chinese-language engine to Bing (or one of the others like perplexity ). Once that's done, I'll batch-search all 322 centers efficiently — the web_search tool is the fastest way to do this since I can search multiple names in parallel.

mmaunderMay 24, 2026, 3:22 PM
Unusable thanks to the top animation pushing the rest of the site down repeatedly as you’re trying to read.
busymom0May 24, 2026, 8:26 PM
The layout of the entire page is horrendous on mobile too. Looks like a huge wide site where content is only in a tiny column on left side.
schaeferMay 24, 2026, 3:14 PM
Okay, I'm curious.

From the FAQ, I see:

>Can I point it at a self-hosted / private DeepSeek endpoint?

>Yes. Since 0.30 we accept non-standard key prefixes for self-hosted DeepSeek endpoints. Just point `baseUrl` at your internal address — the loop, cache strategy, and tool protocol are unchanged.

But my question is: If I use Reasonix to talk to a deepseek endpoint through openrouter, am I still getting the cache-hit benifits of this agent harness?

csunoserMay 24, 2026, 3:30 PM
Yes*. At least from my limited usage of deepseek-flash for a few billion tokens on openrouter, the cache-hit rate is >95%. And I simply used the claude code harness pointed at the openrouter anthropic compatible endpoint with no fluff.
port11May 24, 2026, 8:16 PM
Did you get proper tool use? Some CC-driven models seem to get a bit off when it comes to MCP usage. For example: I really struggled to get Kimi to use Serena, which I think ended up costing too many tokens.
schaeferMay 24, 2026, 3:40 PM
thank you!
thomasfromcdnjsMay 25, 2026, 12:38 AM
I would wonder that too, I'm only a novice openrouter user, but I do notice it reroutes my same-model requests to different providers.

Maybe users reporting otherwise are just looking at their client reports which wouldn't be able to tell the difference.

Lapel2742May 25, 2026, 3:38 AM
Look into Openrouter's provider routing.
quotemstrMay 24, 2026, 3:57 PM
> no reordering, no marker-based compaction

Is this really the behavior you want? Yes, doing tool-result clearing and such will blow your cache, but if you do it only occasionally, it's still likely a win. Yes, cache hits are good, but not so good that it's okay to be profligate with context to preserve those precious, precious KVs.

JSR_FDEDMay 25, 2026, 6:04 AM
Maybe the first problem this tool can tackle is creating a better web page? Content continually shifting, super annoying.
singiamtelMay 24, 2026, 3:39 PM
I would've liked benchmarks against other harnesses showing the caching performance
HavocMay 24, 2026, 9:30 PM
Just checked the stats on my opencode/DS usage...looks like 70%ish hit rate.

Pretty shaky datapoint though...don't use it as primary model

AlifatiskMay 24, 2026, 4:54 PM
Is there benchmarks and measurements that offers comparisons between different harnesses?
edg5000May 25, 2026, 4:29 AM
Side note: In DeepSeek API docs they mention that coding clients automatically are assigned the highest thinking effort, despite any settings. This is what I suspected when using OpenCode with V4; it keeps reasoning in very long cycles, this felt like a flaw in the model. May just be a weird API thing.

Overall I find their API design and docs so messy. It's a shame, since it's the main entrypoint to using their service.

danborn26May 24, 2026, 4:44 PM
High caching rates for coding agents can drastically reduce latency and API costs. I am curious to see how the caching strategy handles context invalidation across multiple files.
xcjsamMay 24, 2026, 4:48 PM
[flagged]
naaqqMay 25, 2026, 6:19 AM
I don't think it's helpful, you can already get a 99+% cache hit on claude code, just change the api settings to deepseek. I would like to use a agent built by deepseek itself using deepseek models. Deepseek should make their own agent based on their model, just like OpenAI and Anthropic.
m00dyMay 25, 2026, 6:22 AM
same here, using claude code on deepseekv4. just burnt 24.1M input hit and 170k cache miss.
trollbridgeMay 24, 2026, 10:36 PM
Well folks here we have it: DeepSeek’s brand is now strong enough people want to jump on their brand recognition.
ricardobeatMay 24, 2026, 4:31 PM
> The loop is append-only, engineered around DeepSeek's byte-stable prefix cache — long sessions hold 90%+ cache hit and input-token cost collapses to ~1/5. Terminal-first, leave it running.

AI marketing slop. This is how all models and coding harnesses work, isn't it?

The author claims (in another AI-written post):

> LangChain — along with every generic agent framework I checked — rebuilds the prompt every turn. Timestamps get injected. History gets reordered. Tool schemas re-serialize with different whitespace.

I haven't touched LangChain in a long, long time, but don't think any of the current harnesses, Claude Code, Pi, Crush, OpenCode etc do that except if you change configuration? Keeping the context stable for caching is a very basic principle and not a wild innovation.

This posing as DeepSeek-specific is also a mystery.

mkrdMay 25, 2026, 7:35 AM
God, I whish there was a code harness I don’t have to install a JavaScript runtime for
polski-gMay 26, 2026, 9:15 AM
Crush. But not many plugins.
mark_l_watsonMay 24, 2026, 8:36 PM
I tried it and the text input area was black with a dark font. I checked the documentation, and asked DeepSeek v4, Claude, and Gemini for help with the fonts/style and nothing works except to run in a terminal with a dark theme. Crazy. None of the devs on the project use a light theme?
miavMay 24, 2026, 9:00 PM
I agree that this is an issue, but.. no, they probably don’t. Light themes are very rarely used.
jofzarMay 25, 2026, 1:44 AM
I understand why, but I didn't even think of light themed terminals till now.. .
pkulakMay 24, 2026, 4:23 PM
Doesn't Pi Agent do exactly this? Assuming "append only" means they do some kind of compaction as well.
storusMay 24, 2026, 5:42 PM
Can it instruct DeepSeek during an LLM call to start removing old tool calls from the context instead of waiting for the LLM call to finish if the context size approaches DeepSeek's dumb zone? Claude Code can't do that, /compact can only happen after the LLM call; it's often preferable to start cleaning up context during an LLM call, especially when tool calls are huge like reading markdown files; implementation-wise all that is needed is to start removing earliest <tool call start> ... <tool call end> and replacing them just with some log entry stating this tool call was already performed, then re-running KV cache prefill (so the "online" compaction would get 0.5s latency hit every time it's performed). That way one can read 1000 files in one LLM call.
canadiantimMay 24, 2026, 2:29 PM
So what's best low cost coding agent these days? Kimi 2.6? Qwen's latest closed model? Composer 2.5? DeepSeek?
bwfan123May 24, 2026, 2:31 PM
In my experience, it is claude-code paired with deepseek-v4. For penny-pinchers like me, I can have long coding sessions with it with no anxiety about the cost. Also, prompting it to what you want and verifying the outputs is more important than the quality of the model. So, I am better off with a cheaper model and taking the responsibility for prompting it and verifying the results.
esperentMay 24, 2026, 3:14 PM
It's obviously much cheaper paying by the token but how does it compare to a codex subscription on cost?
epolanskiMay 24, 2026, 2:58 PM
Can you quantify the actual costs in a week and the use you make?
wongarsuMay 24, 2026, 3:26 PM
Not GP, but for my use I'd estimate $0.10-0.30 per hour of use per agent with DeepSeek v4 Pro
raybbMay 25, 2026, 3:07 AM
How to do connect deepseek to Claude code?
passiveMay 24, 2026, 2:39 PM
I've gone through ~600m tokens in Xiaomi Mimo though Claude, and it's been the most effective use of an agent I've had yet. It's very capable, but generally not ambitious, picking simple but effective solutions to most problems I give it. Going to write something longer about the experience when I get to a billion tokens.
AlifatiskMay 24, 2026, 3:26 PM
I do have my eyes on the coding plan, which is quite generous.

https://mimo.mi.com

gandreaniMay 24, 2026, 2:45 PM
Are you using Mimo 2.5 pro?
passiveMay 24, 2026, 3:55 PM
Yes. I tried a couple of weeks with non-Pro, and it was pretty good, but I had too many spare tokens, so I switched back to Pro. :)
ac29May 24, 2026, 2:35 PM
Kimi 2.6 is great. Qwen3.7-max benchmarks similarly but I havent used it yet
skeledrewMay 24, 2026, 2:36 PM
stavrosMay 24, 2026, 2:52 PM
For me, it's by far Deepseek. It's many times cheaper than competitors, and about as good as Sonnet 4.6.
fouricMay 24, 2026, 4:21 PM
I'd generally agree about Deepseek being as good as Sonnet - but I have extreme trouble with prompt compliance with V4 Pro in a way that I've never had with Sonnet. I'll tell it "find the bug, but don't fix it" or "please use this tool I just developed" and it'll ignore me a high fraction of the time.

It's bad enough that I'm working on guardrails at the harness level because prompting appears to be useless.

Do you have the same issue?

stavrosMay 24, 2026, 4:25 PM
I have Opus make a fairly detailed plan, then Deepseek implements, and GPT reviews. With that setup, I have zero issues, probably because what you mention is handled (the plan keeps it on track and the reviewer catches any issues).

Now that you mention it, though, I have seen it do a few things that weren't in the plan. The reviewer caught them, though, so they didn't cause a problem, and it's so cheap that overall it's a massive improvement.

e2e4May 24, 2026, 10:20 PM
Which CLIs are you using for each of the steps?
stavrosMay 24, 2026, 10:25 PM
e2e4May 25, 2026, 12:16 AM
thank you; will read your post
abalashovMay 24, 2026, 4:03 PM
Although I have little interest in agentic coding, when I do use it, I have found Kimi K2.6 to give Opus-quality output, and have switched entirely to it for pretty much everything.
throw10920May 24, 2026, 4:16 PM
I've used Opus extensively and tried K2.6 on a few projects, and the gap is huge. K2.6 is nowhere near the performance of Opus. That's fine because it's also far cheaper, but public benchmarks line up with my own personal experience that they aren't comparable in terms of intelligence.

(that is, different places on the Pareto efficiency graph)

abalashovMay 24, 2026, 7:15 PM
No two uses are alike, I suppose. For me, whatever difference is a wash. However, I probably tend to shy away from throwing high-complexity/long-horizon tasks at the model.
throw10920May 24, 2026, 6:12 PM
Cursor with Composer 2.5 seems to be competitive with frontier models (Opus and GPT-5.5) for a significant price discount. Benchmarks are gamed, as always, but $0.55/task vs $11.02 a task definitely indicates that there's some cost advantage.

https://cursor.com/evals

lostmsuMay 24, 2026, 2:33 PM
Just use codex with 5.5 on low reasoning levels
hirako2000May 24, 2026, 2:32 PM
Good timing given the cost spike across other frontier models.
notjesMay 24, 2026, 2:53 PM
Good thing DS just made their discount permanent. https://x.com/deepseek_ai/status/2057854261699195173
imageticMay 24, 2026, 4:29 PM
mi_lkMay 24, 2026, 5:47 PM
Not sure about the story but it would be funny if pi folks actually own this domain.
chuckadamsMay 24, 2026, 6:01 PM
They do. That's Pi's old name.
pehejeMay 24, 2026, 7:27 PM
having issues with truncated output from deepseek v4 pro through openrouter via pi-harness on ptyxis-terminal using ubuntu

trying reasonix with direct api..

pehejeMay 24, 2026, 7:28 PM
first impression: the tui flickers a lot, unpleasent. very laggy to write in.
chabesMay 24, 2026, 4:30 PM
Aka pi.dev
theanonymousoneMay 24, 2026, 2:39 PM
Isn't caching a server-side thing? How does the agent affect it, significantly at least?
embedding-shapeMay 24, 2026, 2:52 PM
Say you put the current time down to the second in the system prompt, which is the message that goes in front of the entire conversation, then basically nothing will be cached, every agent turn needs to ingest the entire session over and over. Contrast to not doing that, and the backend can leverage caching all the way up to the latest message, as nothing until then changed.
esperentMay 24, 2026, 3:13 PM
Surely other agent CLIs are not dumb enough to invalidate cache on every turn over something so obvious?
chillfoxMay 24, 2026, 3:35 PM
I don't think any the agents breaks caching on every turn, but they might do things like current list of files, or available tools depending upon plan/build mode... or lots of other things that breaks caching multiple times during a session.
brookstMay 24, 2026, 4:00 PM
Probably not that exactly, but there is a tradeoff between effectiveness of the prompt and cache hit rate. If putting the user’s datetime in the middle of the prompt scores higher on evals but worsens cache hits, versus at the end of the prompt where it’s cache friendly but may not be as effective, what do you do?

This is still art as much as science and the different harnesses take different approaches.

embedding-shapeMay 24, 2026, 3:32 PM
Obviously not, most agents properly keep previous messages unchanged, at least the major ones I've been digging into the source off. Also, everything would get so much slower, that even developers creating their own agents would notice quickly how much slower theirs is, if they fuck this up.
nawitusMay 25, 2026, 5:53 AM
That's not necessarily true, you can have multiple cache points, see e.g. https://platform.claude.com/docs/en/build-with-claude/prompt...
theanonymousoneMay 24, 2026, 4:20 PM
Yes, of course you can destroy it. But how far can you "improve", beyond decent "common sense" behaviour.
wg0May 24, 2026, 6:21 PM
Performance is horrible when you type but caching is magical.

Extremely pro consumer tool. I have been hammering it hard with 97% cache utilization and barely $0.03 dollar spent for me constantly exploring a codebase.

snqbMay 24, 2026, 7:12 PM
Deepseek API caches very efficiently itself. I use it heavily via pi agent, and a lot of times I get 99%+ caching for longer sessions.

Have you tried using Deepseek API via other agents? This project tbh looks like a S-tier slop

wg0May 24, 2026, 8:25 PM
I have used it with OpenCode and was good enough.
sergiotapiaMay 24, 2026, 2:47 PM
What AI model did you use for the website design? This is the second one I see with the exact same font and color scheme. Just curious because Claude models lean towards purples for example. Thank you!
pcwelderMay 24, 2026, 3:26 PM
Opus 4.7 selects such palette and motifs by default. Might even be first iteration of claude design.
franga2000May 24, 2026, 2:55 PM
This design still screams Claude to me, but a newer version than what you're thinking of. At some point they added a markdown file that tells it to use obviously AI designs like lots of blue/purple and gradients. Since then, this is its new style.
FergusArgyllMay 24, 2026, 3:44 PM
Frontend design skill by Anthropic specifically says not to use purple. I'd be surprised if it still uses purple. Have you seen that recently?
sheepscreekMay 24, 2026, 3:07 PM
DeepSeek v4 perhaps?
hebetudeMay 24, 2026, 3:56 PM
Wow the UI looks exactly what I vibe coded yesterday. What a coincidence
huqedatoMay 24, 2026, 4:26 PM
It's obvious why...
perseusaiMay 25, 2026, 2:46 PM
This is a nice companion to the token saving context app I made. Even has the same Claude Design site, which I think looks awesome! Even though something is cheap, the concepts that make using Deepseek more efficiently can surely be applied elsewhere. Cool stuff!
yanhangyhyMay 25, 2026, 3:28 AM
In the open-source contributors section, when you see a lot of anime or cartoon avatars, you know most of the devs are Chinese.
nextaccounticMay 24, 2026, 6:15 PM
> Tool-call repair

> Tool arguments the model produces occasionally have JSON typos, unclosed quotes, or shape mismatches. Reasonix runs a schema-aware repair pass before dispatch so malformed args still execute.

So Deepseek API doesn't have a structured output option where you give a grammar and the model promises the output will follow this grammar?

Or it does, but it's buggy?

jedisct1May 24, 2026, 9:56 PM
It's probably good, and the best for Deepseek models, but do we really need one harness per model?
danborn26May 25, 2026, 10:37 AM
The caching strategy here looks really solid for keeping API costs down. Curious how it handles state invalidation when the agent context gets too large though.
yaloginMay 24, 2026, 4:16 PM
Can someone give me a eli5 version of what this is? It really sounds useful to Claude subscribers.

Is this improving the cache hit and hence overall efficiency of coding workflows?

Does it also let me host a local llm (deepseek)? What are model min requirements for this?

timcobbMay 24, 2026, 4:24 PM
You can also ask Claude and get an immediate answer, the power is yours
SalgatMay 24, 2026, 6:30 PM
Certainly you realize that these comments exist for more than a single person right? You expect potentially hundreds of viewers to each burn through AI tokens instead of just getting a direct and relevant answer here? This has the same vibe as the old forum posts where the only response was a "google it".
carterschonwaldMay 24, 2026, 6:59 PM
i cant find anything substantiated in the code that actually differentiates it from any other harness.

my fork of oh my pi that i have a lot of experiments in, is lterally designed to only work well with models that have decent reasoning levels, like deep seek models. check it out!

https://github.com/cartazio/oh-punkin-pi/blob/main/scripts/b... — thats the install script for after clone

fair warning: tis my dog food test bed as i build even fancier stuff

m101May 24, 2026, 5:15 PM
For those of you that use deepseek v4 occasionally, what harness do you use it with? I’m only familiar with claude code and codex.

Any comments on what you can or cannot rely on it for relative to cc and codex would be appreciated too!

eikenberryMay 24, 2026, 7:00 PM
Maybe check out Goose. It is the standard agent harness being developed by The Linux Foundation under the AAIF. Under active development and the implementation seems to have a good leg up on the other popular agents.

https://github.com/aaif-goose/goose

https://goose-docs.ai/

nsonhaMay 24, 2026, 10:49 PM
I see their name mentiod everywere along with Aider, presumably for being among the first agents, but I've never met anyone that actually uses them.
droidjjMay 24, 2026, 5:47 PM
Check out pi.dev. OpenCode is a nice batteries-included Claude Code replacement, but I’m in love with the extensibility of Pi.
chuckadamsMay 24, 2026, 6:10 PM
Any Pi extensions you'd specifically recommend? I'm just starting out with Pi, but I've had mixed results with extensions. I'm using Pi with gemma4 26b locally, so anything that's friendly to small local models would be appreciated. I think the only extension I'm using right now is pi-total-recall.
gck1May 24, 2026, 7:02 PM
I think pi wants you to write your own extensions, adapted to your meeds.

I haven't had a need for any extensions though. Maybe subagents, but I solved that with tmux. For all the rest, I just use "skills".

nikolayMay 24, 2026, 10:33 PM
This is not an agent by DeepSeek, so the title is misleading.
tylerdurden91May 25, 2026, 7:01 AM
Given the number of supply chain attacks via npm, maybe the recommended approach to use should be pnpm instead of npx.
fouricMay 24, 2026, 4:34 PM
I don't think it's particularly effective to create a new coding agent when there's existing open-source agents (especially extremely extensible ones like Pi) that already optimize for cache hits, have far larger communities, and work for providers other than Deepseek.

I specifically use multiple different models and providers, so this wouldn't be useful for me.

And it contributes to the problem of each person vibe-coding their own, incompatible, half-baked tool in a space, instead of contributing to a small set of tools and expanding them.

It'd be better to just extend an existing tool.

cloudengineer94May 24, 2026, 10:48 PM
Quite interesting being Terminal based and the AI skills staying within a file of it's own.

Will give a go and see how cache behaves

mmarcantMay 24, 2026, 6:22 PM
"byte-stable prefix cache" -- give us your codebase in a way that's even EASIER for us to train on.
hmokiguessMay 24, 2026, 4:33 PM
Click on the download page, it's hilarious. It has a lot of information about the "smart probe" on the download and it's a realtime probe you can rerun.

That's the pinnacle of AI slop over engineered garbage in my opinion. All of that information is noise.

singingtodayMay 24, 2026, 6:09 PM
That site does not render correctly on my android. Lots of text on the right breaking the reactive layout.
ElenaDaibunnyMay 25, 2026, 9:10 AM
The caching strategy is doing most of the heavy lifting here cost-wise.
arikrahmanMay 24, 2026, 7:11 PM
Saw nix suffixed and was excited a new dotfiles was about to hit the market.
tw1984May 25, 2026, 4:44 AM
deepseek is building an official coding harness, why would anyone waste time on such 3rd party toy when official one is coming probably in weeks?
am17anMay 24, 2026, 4:31 PM
This Claude front end skill is now soon to be slop.
auggieroseMay 24, 2026, 5:22 PM
Oh, I was wondering why all new websites look shitty in the same way.
aratahikaru5May 25, 2026, 2:40 PM
Not a maintainer, but I've fixed some of the really jarring issues on desktop (mobile needs a complete overhaul though). IMO It's not that bad, and it gets the job done.

Any feedback on how to make it less "shitty"? I feel like doing some vibe coding tonight.

ricardobeatMay 24, 2026, 4:34 PM
Already is. Every new website looks exactly the same.
adi_kurianMay 24, 2026, 7:19 PM
There is an uncanny valley effect to websites where FE is created in full via an AI.

These sites have the immediate scent of 'high design', with errors that no 'high designer' would dare make.

The italics give me nausea. Text promoted with orange fill is seemingly random. There is no thought behind the combination of art and copy. Random smattering of Title Case and Sentence case and lower case. A lack of commitment to a full stop Widowed H1s. H1s with random spaces .

At the same time, if I hammer CMD - to 25%, it looks fancy. Perhaps nobody gives a fuck.

That said, I'm excited to try this tool!

HfuffzehnMay 24, 2026, 4:50 PM
This is really tickling the conspiracy theorist part of my brain.

"Independent open-source project · not affiliated with DeepSeek" "Reasonix only targets DeepSeek because..." "Why DeepSeek only? Can I swap to Claude / GPT? It's a design choice, not a limitation"

The lady doth protest too much, methinks?

Nicely timed shortly after the making the rebate permanent anouncement.

Could just be Chinese devs trying to help western devs with some software and a western facing marketing campaign to raise awareness. Could be DeepSeek astroturfing. Could be "someone" in China trying to get more access to western data.

Who knows?

andaiMay 24, 2026, 4:56 PM
But Claude made the website?
AlifatiskMay 24, 2026, 5:07 PM
What conclusion are you drawing from that?
andaiMay 24, 2026, 7:58 PM
If Deepseek can't even make a static site, why would I want to use it for anything else? (Not saying it can't, just that it's a weird choice to present your Deepseek-oriented product.)
AlifatiskMay 24, 2026, 9:19 PM
I see your point, but as we know, devs from Google and OpenAI regularly use Claude Code because of its edge in frontend. I think using another model to build your own thing is a pragmatic engineering decision, not a sign of failure.
sunaookamiMay 24, 2026, 7:36 PM
Another day, another vibeslopped "product" on the front page of hacker news with over 200 points. When will you guys learn?
ankitwarbheMay 24, 2026, 5:09 PM
you created it yourself ?
AlifatiskMay 24, 2026, 5:10 PM
No.
WhereIsTheTruthMay 24, 2026, 6:10 PM
Y'all should not be writing js/ts/slop/npm based clis anymore

It's the agentic era, pick a better option

Just stop

fHrMay 24, 2026, 8:28 PM
yep codex opensource rust cli clears this night and day long
AlifatiskMay 24, 2026, 6:35 PM
Whats that option?
treexsMay 24, 2026, 11:31 PM
codex generated sites are so easy to spot lmao
Simon_FengMay 26, 2026, 3:27 PM
[flagged]
mevinbuildsMay 25, 2026, 8:17 AM
[flagged]
MultiAgtMay 25, 2026, 2:20 PM
[flagged]
aplomb1026May 24, 2026, 5:39 PM
[flagged]
claud_iaMay 25, 2026, 10:02 AM
[flagged]
zane_shuMay 25, 2026, 11:36 PM
[flagged]
sg1apmMay 25, 2026, 5:26 PM
[flagged]
maxothexMay 25, 2026, 4:00 PM
[flagged]
codepackMay 25, 2026, 3:29 AM
[flagged]
cobblr_mosaicMay 25, 2026, 6:32 PM
[flagged]
dahuangfMay 25, 2026, 6:45 AM
[flagged]
huss-moMay 25, 2026, 9:55 PM
[dead]
the_mitsuhikoMay 24, 2026, 2:59 PM
[dead]
benjiro3000May 24, 2026, 5:32 PM
[dead]
anteguggaMay 25, 2026, 1:11 PM
[dead]
embirdatingMay 25, 2026, 10:02 AM
[dead]
grekaresMay 25, 2026, 6:18 AM
[dead]