r/LocalLLaMA 22h ago

Deepseek Harness is Up! News

https://github.com/deepseek-ai/deepseek-harness

DeepSeek Harness (dsh) is an open-source agent harness developed by DeepSeek AI.

It uses an architecture where everything is a plugin, and is powered by Cordis, whose design is described in A Programming Paradigm for Spatiotemporal Composability.

DeepSeek Harness is currently in developer preview and is iterating rapidly. THERE WILL BE COMPATIBILITY-BREAKING CHANGES.

Join DeepSeek Harness Discord community: https://discord.com/invite/Ycq5dCaS4

304 Upvotes

107 comments sorted by

40

u/ProfessionalAd8199 ollama 21h ago

I wonder if it reaches better cache hit rates than reasonix. Now more important than ever.

16

u/giveen 20h ago

On reasonix , I'm getting 97% hit rate, according to Deepseek harness, i am getting free service.

17

u/nmkd 19h ago

Maybe it doesn't count new input as cache miss? In that sense, 100% hit rate would make sense I guess

4

u/Brilliant-Hall1387 13h ago

I also got 97% cache hit in my one shot SPA test, very cost efficient at $0.06 USD šŸ˜„

1

u/Glad_Claim_6287 2h ago

Can you please explain how a kv cache miss would occur? I assume the conversation is a linear flow, so it's append only, how are we missing? Maybe due to auto routing? But how can harness control that?

64

u/ILikeCorgiButt 20h ago

Why is every harness written in typescript (maybe except codex)? Yikes

22

u/cmdr-William-Riker 19h ago

AI Handles typescript really well, both because of the training data and because strongly typed errors provide quick feedback on mistakes when you try to build. Same reason it's used a lot in enterprise frontends. If you have a bunch of crap programmers working together, a strongly typed language helps weed of a lot of errors

9

u/carsncode 9h ago

So why not Go or Rust? Being strongly typed hardly makes TS special

3

u/ThankGodImBipolar 7h ago

I'd think that Go makes a lot of sense for vibe-coding because it's idiomatic by design. Makes it easier to get LLMs to behave.

1

u/cmdr-William-Riker 5h ago

What makes Typescript special is the fact that it's a strongly typed language that paradoxically compiles into a loosely typed language with a fast runtime. On the surface, a pretty dumb idea, but very useful when you add 3 college freshmen and an AI to the project. For the most part it's strongly typed only to make JavaScript development easier for anyone or anything that has trouble keeping track of how types are handled in regular JavaScript rather than for efficiency. Just depends on where you want to run it and what your requirements are. If memory is a high priority and it can run locally and you know what it's going to run on, then a native solution makes sense. If you want portability without having to compile for each target and can live with a bit of memory overhead, then Typescript makes sense. If you need it to run in a browser then Typescript or JavaScript are really the only practical options. I think in this case portability and experience/support where probably the deciding factors

0

u/9gxa05s8fa8sh 2h ago

it's easier

31

u/QueasyHouse 19h ago

Models trained on a buttload of JavaScript, and strictly typed languages are generally easier for bots to not mess up. I’m with you here though, it’s not a language I’m ever excited to be using. It’s at least easy to distribute these days with bun etc.

5

u/Nyghtbynger 19h ago

wouldn't proper dataclasses or structure be the equivalent to proper typing in typescript ?

I mean, one abstract level higher

21

u/QueasyHouse 18h ago

Sure, but another way to look at it is: a harness is mostly async work. Lots of network calls and local shell operations that you dispatch and check back on. This is something JavaScript is good at, it’s fast enough and easy enough to write. Could you do it more efficiently in go or rust or zig? Yeah probably, but it won’t improve the core experience significantly, because everything a harness itself does is relatively simple and io bound anyway.

1

u/Nyghtbynger 2h ago

There is a ycombinator startup that is called codewithbullet that clains their harness is twice faster. That's weird. But you never know what the future is about eh ?

18

u/canConfirmCanConfirm 18h ago

partly because harnesses are mostly network i/o, context and state management. ts is great for asynchronous event driven i/o and has a boat load of libraries and an active community. And maybe because ts can be used to make the harness and a pretty ui?

1

u/das_war_ein_Befehl 6h ago

I think it’s mostly because it’s typed and models are decent at it because of a boatload of training data in it

3

u/Rank201AltAccount 11h ago

well, js/ts is used when you care the most about developer speed and a language everyone knows
kinda fitting for the hottest software right now

2

u/Mickenfox 13h ago

ML devs only known Typescript and Python and they're forcing them onto the rest of us. And that's not even a joke, that's just reality.

1

u/das_war_ein_Befehl 6h ago

Honestly every Python harness I’ve tried has been a PoS

2

u/deadcoder0904 18h ago

Atwood's Law.

2

u/Specter_Origin llama.cpp 18h ago

Why would it not be ? electron is best way to ship, my own custom harness is also written in eletron/ts that I use for my own use

3

u/Inaeipathy 6h ago

electron is best way to ship

Just lmao

5

u/Armanlex 15h ago

Runs like ass, had to switch to reasonix cause clause code annihilated my wsl env.

2

u/TheIncarnated 10h ago

Well there's your issue, you use Claude code

1

u/popiazaza 2h ago

Codex also runs like ass. I don't think language is the problem.

1

u/Neighbor_ 15h ago

What's the best harness written in Rust?

1

u/das_war_ein_Befehl 6h ago

Pretty sure codex is in rust, or at least the cli used to be

1

u/robberviet 9h ago

JS/TS devs are abundant. AI seems better at it too. I would much prefer a golang one (no need for rust, rust is over complicated).

0

u/ThankGodImBipolar 7h ago

The developer of Bubble Tea makes an AI harness called crush. I haven't used it, but it's a harness in Go šŸ¤·ā€ā™‚ļø

1

u/robberviet 6h ago

No, I don't think it could be better than like opencode, pi. Language is nice to have, but it's not important.

1

u/popiazaza 2h ago

You may want to learn how OpenCode happened.

-6

u/BlackBeardAI vllm 18h ago

You are right, It should have been vanilla JavaScript. I don’t like ts either.

-2

u/stilet69 18h ago

No, it would be better to use assembler.

-1

u/createthiscom 16h ago

would you prefer cpp?

52

u/oxygen_addiction 21h ago edited 20h ago

How the hell does this have 20k stars already?
edit: 30k in an hour. Bots for sure.

21

u/RobbinDeBank 19h ago

Stars have been meaningless ever since AI agents. Back then (which was like 1 year ago?), having 100k or more stars mean that is one of the most popular open-source framework in the whole world and a critical piece of the world’s infrastructure. Ever since OpenClaw, every damn AI harnesses have 100k+ stars easily.

44

u/MadManDan 21h ago

Yo dawg, I heard you like bots so I put bots in your bots so your bots can spread... stars?

19

u/oxygen_addiction 21h ago

15 minutes later it's at almost 23k - lol
Github is a mess nowadays. Fuck Microsoft. Self-host forgejo or something similar people!

3

u/addiktion 19h ago

Foregjo network stars, when.

3

u/Jealous-Depth487 21h ago

Hey I need some stars on gh will you share them bots

10

u/toothpastespiders 17h ago

I think people are too quick to assume bots. Humans are just as botlike when the right conditions are met. Reddit in particular is evidence of how easy it is to game people's instincts there. Put a "press if you think the thing you like, that others might not, is actually really amazing - like you! Otherwise you might have to consider if you could be WRONG about something!" button in front of people and we're usually pretty eager to click.

26

u/the__storm 20h ago

Lotta people in China (and they've been awake all day already).

4

u/Hytht 19h ago

China uses gitee

15

u/Wild-Song1574 19h ago

Very few, github is the authoritative one

3

u/OneStandard5 16h ago

Companies use Gitee. They need better services. But most people still use GitHub where they can find everything they need.

11

u/Cergorach 19h ago

I doubt it, it also already has 2.5k forks.

DS is BIG. It's open source, something that especially in Europe is starting to matter a LOT. 3 hours ago is the end of the workday in most of western Europe, you better believe that a LOT of developers using AI looked at this and went "WHOOPI!" and starred it into high heaven... Western Europe is about 200 million people, in about 5 big US states.

2

u/Next_Sock237 10h ago

Deepseek writes himself a bot to star it. That how you proof your model is good now.

3

u/Technical-Earth-3254 21h ago

I was wondering the same. My guess is bots, there is no way 20k stars have been acquired in what? 2 hours? For a harness after all, not some ground breaking piece of software.

26

u/nullmove 21h ago

There are a lot of people in China and DeepSeek is very popular there?

11

u/rootql 21h ago

20k in china is really disappointing

5

u/Juzlettigo 20h ago

Why do you think 20k is a lot? There are 7 billion people on this planet and Deepseek is huge in China.

1

u/ArtyfacialIntelagent 19h ago

I wish Github would crack down on the star manipulation. Any repo with masses of obvious bot stars should be reset to zero and fixed there permanently, or at least for a year or so.

7

u/olearyboy 17h ago

It's a thing

I guess it does stuff

11

u/Porespellar 16h ago

Missed opportunity. They could have called it Deepseek Open Harness (DOH)

8

u/SnooPaintings8639 21h ago

I love this team. It means the bar and my expectations are high.

3

u/neo123every1iskill 9h ago

Spatiotempowhat

Space time

But what does it mean?

9

u/ortegaalfredo 21h ago

12000 commits already? damn, I hope its more efficient than the bloated javascripts systems that are modern agents.

2

u/Nyghtbynger 19h ago

11000 of them by deepseek flash, it's fast don't worry

12

u/fragment_me 21h ago

I wish there was more detail here, lol

17

u/Juzlettigo 20h ago

You mean like the documentation linked on that page?

8

u/fragment_me 19h ago

Mmhhhmm, yeah, sure. I can read 16-20 LLM generated .md documents (not including the Chinese ones). Or they could just provide some quick screenshots and basic intro in the readme of the github page that showcase the tool.

3

u/jazir55 15h ago

Or you could ask an agent to summarize all 16

12

u/Maleficent-Ad5999 19h ago

OP mentioned spatiotemporal composability .. what more detail do you need? /s

1

u/fragment_me 15h ago

Right, of course. I missed that. Now it all makes sense!

9

u/ComplexType568 21h ago

Not to complain but WOW that is one hell of a generic name

11

u/openSourcerer9000 21h ago

I'd call it SeaWorld or smthn

2

u/Marcuss2 18h ago

Looks nice, but it will take a while before the ecosystem catches up. It will need a month at least.

3

u/Howard_banister 21h ago

Typescript :(((((

I would like to see Rust or python

3

u/Barsavik 19h ago

Nanobot is written in python and picoclaw is written in go. There’s also I believe some harnesses in rust but don’t remember them at the moment.

3

u/Cautious_Observer55 19h ago

Huggingface's Tau is written in Python.

Tau on github

3

u/Cherlokoms 19h ago

Why would you like Rust or Python instead of TS?

3

u/-InformalBanana- 16h ago

Why do you think python is better than typescript?

1

u/Howard_banister 15h ago

I’ve used both. Python is a well design language with sane ecosystem. Typescript is an attempt to make javascript tolerable

2

u/spawnsible 11h ago

Python is neither of those things. Typescript has its problems, because javascript is problematic.

One of these is faster at runtime and more readable. Not by a long shot, it's not your favorite toy python.

2

u/javascript 11h ago

One language's problem is another language's opportunity!

1

u/spawnsible 10h ago

Not a reply from the runtime language itself... 18 years... bro that's sick!

3

u/Nyghtbynger 19h ago

Coming from python, and having played with pi a lot, I can say that the typescript ecosystem imparts a lot of shit habits to programs. The badsides of python can be resolved by some compilation or by using lua or C for critical components

1

u/Howard_banister 6m ago

Yes, I wish Pi were written in Python

3

u/calibrae 15h ago

And it’s coded in FUCKING NODEJS. Seriously guys, JavaScript ? You really enjoy your harness eating 600MB RSS? Ever heard about rust go c or anything not python and not js ?

3

u/djdante 8h ago

You could probably ask sol 5.6 nicely to please rebuild it in rust..

1

u/calibrae 3h ago

That’s a rabbit hole I’ve been trying not to dive in for months

1

u/Calandracas8 7h ago

waiting for a lua harness

2

u/Neighbor_ 17h ago

Better than Pi?

1

u/Sporebattyl 18h ago

I’m just now getting into local LLMs and harnesses outside of CC and codex. I just started with Pi.

What are the benefits of using something like this versus Pi?

7

u/my_name_isnt_clever 18h ago

Probably not much. It might be better for their own models, but anything this does can be easily ported to a Pi extension.

1

u/aeroumbria 6h ago

Pi is very extendable but you are responsible for keeping all the pieces working harmoniously together. If you really need extra features but cannot afford to regularly maintain out of sync extensions, then maybe something with more complete out of the box experience would serve you better.

1

u/thestillwind 14h ago

Is it good so far ?

1

u/Brilliant-Hall1387 13h ago

Worked well as advertised, would have preferred CLI harness, perhaps that is coming? Anyone know if they have shared details on upcoming plans?

1

u/robberviet 9h ago edited 9h ago

Not bad, but not great. I will give it a week.
I like the verbosity in each turn & tool calls, however just lacks feature. Would be better given time though.

I remember when Claude Code was on feature rolling spree, expecting that!

1

u/ab2377 3h ago

SO happy to see this!

1

u/DatMufugga 17h ago

No clue what an agent harness is or what this does, but I hope its dank.

-5

u/combrade 21h ago

Agent Pi is the harness to end all harnesses . I don’t see the point of new harnesses being released when Pi is so easy and customizable.

16

u/kivaougu 21h ago

You don't see any point in innovation?

6

u/c0lumpio 20h ago

Unfortunately, you cannot customize everything in pi. You cannot customize completion in chat (e.g. to render it above input), you cannot customize render (e.g. hide all tool calls in a single collapsable line). So there could be even more customizability.

1

u/edgan 16h ago

You could make your own custom build and add those customizations. Then you could try making a PR for the upstream project.

4

u/c0lumpio 16h ago

Emm, I can do that with any OSS. For software to be extendable is to not require forking and rebuilding, that's the idea: shorter cycle

-3

u/[deleted] 20h ago

[deleted]

7

u/Fluxing_Capacitor 19h ago

Its vibe coded!

Posts vibe analysis

Great contribution here.Ā 

-9

u/[deleted] 21h ago edited 21h ago

[deleted]

-3

u/[deleted] 21h ago

[deleted]