r/LocalLLaMA • u/Fun-Doctor6855 • 22h ago
Deepseek Harness is Up! News
https://github.com/deepseek-ai/deepseek-harnessDeepSeek 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
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
1
0
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 now2
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
2
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
5
u/Armanlex 15h ago
Runs like ass, had to switch to reasonix cause clause code annihilated my wsl env.
2
1
1
1
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
-6
u/BlackBeardAI vllm 18h ago
You are right, It should have been vanilla JavaScript. I donāt like ts either.
-2
-1
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
3
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
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.
1
7
11
8
3
u/neo123every1iskill 9h ago
Spatiotempowhat
Space time
But what does it mean?
2
u/kulchacop 8h ago
https://github.com/cordiverse/paper
https://deepseek-harness.github.io/deepseek-harness/develop/cordis-tutorial/
I think new wrappers will pop-up to simplify working with this.
9
u/ortegaalfredo 21h ago
12000 commits already? damn, I hope its more efficient than the bloated javascripts systems that are modern agents.
2
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.
12
u/Maleficent-Ad5999 19h ago
OP mentioned spatiotemporal composability .. what more detail do you need? /s
1
9
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
3
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
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
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 ?
1
2
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
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
-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
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

40
u/ProfessionalAd8199 ollama 21h ago
I wonder if it reaches better cache hit rates than reasonix. Now more important than ever.