I gave my local LLM control of its own agent harness, and it built a dozen features I actually use

I gave my local LLM control of its own agent harness, and it built a dozen features I actually use

Published Dec 2, 2026, 4:00 PM EST I’m Adam Conway, an Irish technology fanatic with a BSc in Computer Science and I'm XDA’s Lead Technical Editor. My Bachelor’s thesis was conducted on the viability of benchmarking the non-functional elements of Android apps and smartphones such as performance, and I’ve been working in the tech industry in some way or another since 2017. In my spare time, you’ll probably find me playing Counter-Strike or VALORANT, and you can reach out to me at adam@xda-developers.com, on Twitter as @AdamConwayIE, on Instagram as AdamConwayIE, or u/AdamConwayIE on Reddit. Sign in to your XDA account DeepSeek has its own agent harness, but it doesn't actually need a DeepSeek model or DeepSeek's servers. Launched in August alongside DeepSeek-V4-Pro, it's an MIT-licensed, open-source alternative to Claude Code and Codex, competing with the likes of Pi, T3 Code, and OpenCode. Like Pi, DeepSeek Harness is built around one concept: everything is a plugin, from the model providers and the agent loop to the telemetry and individual panels in the interface. If you don't like how something works, you can replace it, disable it entirely, or ask the agent to build you an alternative. I've been using it for quite a while, both on my Mac using my self-hosted GLM-5.3 Flash and on the HP OmniBook Ultra 16 running a locally hosted instance of Qwen 3.8 Flash Next alongside it. There's no cloud or external server involved if you don't want it, and in the case of my OmniBook Ultra, it's a 125-billion parameter model alongside an agent harness all running on a single machine. I use both setups regularly, and I absolutely love it. Over the last month, I've had my self-hosted LLM build around a dozen plugins for DeepSeek Harness, ranging from a live vLLM performance monitor to a custom implementation of ChatGPT-style generative UI. Some of those plugins are filling in gaps in functionality, while others exist because, well, I could. DeepSeek Harness is a developer preview, meaning that not everything works the first time around, but it can hold its own against Claude Code, Codex, and Pi for a lot of day-to-day work already. After all, none of those make it this easy to rebuild the application itself from a chat window. Almost everything in DeepSeek Harness is a plugin Even the telemetry is optional DeepSeek Harness is built on a fork of Cordis, a plugin framework originating from the Koishi chatbot project. Cordis describes its architecture as "Everything is a Plugin," which is a philosophy that permeates every layer of DeepSeek Harness. Things like the agent loop, approval system, tools, adapters, and even the sidebar are separate plugins that the application loads at startup, rather than things instrincally linked with the harness itself. Plugins are managed through profiles, where each is basically just a directory containing a package.json that defines which bundles to load and a cordis.patch.yml file that overrides their configuration. Each plugin entry has a unique ID, and patch files are able to modify its configuration, introduce new entries, or disable existing ones entirely. The plugins themselves are standard npm packages with a host component that runs in Node.js and a client component integrating with designated parts of the interface, like the conversation view or the sidebar. My plugins are just directories that are linked to a profile using pnpm. DeepSeek Harness ships with three telemetry plugins covering session telemetry, product analytics, and desktop telemetry, and a "telemetry-off" plugin that I use is just 20 lines of YAML that set disabled: true on each. i don't have to rely on an opt-out setting within the telemetry plugin, as I can just disable it at the framework level like any other plugin. Model providers are just as interchangeable too, and DeepSeek Harness uses pi-ai, the same provider library used by Pi. Its custom model API supports OpenAI's Chat Completions and Responses APIs, Anthropic's Messages API, and Google's Gemini API, making it compatible with practically every local inference server you can think of. DeepSeek Harness is a work in progress, and every build so far has been considered a pre-release build. DeepSeek also warns that there will be breaking changes, so if youre building plugins or customizing your profile, expect to make changes in the future to keep things up to date. I haven't had anything surprise me yet, but I'm sure I will. Running a 125B model entirely on my laptop No other hardware required The HP OmniBook Ultra 16 that I'm using is the 128GB configuration paired with Nvidia's RTX Spark, a very similar chip to the DGX Spark. Qwen 3.8 Flash Next, which I'm running here, is a mixture-of-experts model with 125 billion total parameters but only six billion active per token. The model still has very high memory requirements, but it's a lot easier to run than a similarly sized dense model. I've run it on this laptop before using llama.cpp, but I switched to vLLM when I started using DeepSeek Harness. Upstream vLLM doesn't seem to support Windows on Arm, so I'm using a community build of vLLM 0.32 patched specifically for RTX Spark devices instead. I've got an NVFP4-quantized version of Qwen 3.8 Flash Next with multi-token prediction (MTP) enabled, and it uses 96 GB of the unified memory pool, leaving 32 GB available to the rest of the system. Once set up, I was able to use DeepSeek Harness to connect to it just like any other compatible inference server. Using this setup, I'm getting generation speeds of between 50 to 70 tokens per second, along with prompt processing speeds of roughly 1,600 tokens per second. That's especially a big deal for agentic workloads, as long conversations, tool definitions, and occasional cache misses could otherwise lead to long waits before the model even responds. At 1,600 tokens per second, a 30,000-token message is processed in less than 20 seconds, and vLLM's prefix caching means that follow-up requests can reuse previously computed portions of that context. There is one slight compatibility issue I came across, though, relating to reasoning controls. When setting reasoning effort to "Off" in DeepSeek Harness, it didn't actually disable thinking, so I had to modify the provider configuration to map that setting to Qwen's chat template using enable_thinking: false. I also configured a thinking budget of 16,384 tokens to prevent the model from exhausting its entire output allocation on reasoning and leaving no room for a final answer or tool call. In day-to-day use, I've found the harness itself to be just as capable as Claude Code, Codex, or Pi. The underlying model typically matters a lot more than the harness anyway, and Qwen 3.8 Flash Next is a pretty great model in general. It's not going to be a replacement for the best cloud-hosted models for all workloads, but these models can be surprisingly competitive given their size. GLM-5.3-Flash on a DGX Spark cluster is the heavier option DeepSeek Harness works great with it, too On my Mac, I use DeepSeek Harness with GLM-5.3-Flash running across two DGX Sparks in a cluster, with it served through the vLLM-compatible TensorFold inference server. It's the most capable model I've ever hosted locally, and it has a one million-token context window. Configuring these models in DeepSeek Harness is no different from configuring a model in any other open harness, really. You define a server as a provider, adding a base URL, model ID, context window, and mappings for reasoning effort levels. The agent's default model is defined separately, and I can switch between providers easily. Most of the custom plugins were built using GLM-5.3-Flash, including the generative UI implementation, though many had to be adapted by Qwen 3.8 Flash Next when I copied my setup over. Some were minor, but others, like UI elements and Spotify, needed changes to continue working on Windows. Creator Mode lets the agent write its own plugins You can build whatever you want Creator Mode is a built-in preset for plugin management, and exists alongside other presets like Standard, PTC, and Minimal. It adjusts the system prompt to tell the agent that it's helping the user customize the harness, and it can access the plugin market, too. Asking it to build a plugin will typically see the agent load a plugin development skill, inspect the live interface to identify where to put whatever you asked for, and then it will write and install the plugin. DeepSeek has also published sample Creator Mode prompts to demonstrate its capabilities, including a prompt to make a 3D gallery of landmarks, a video editing workbench, and interactive paper reader, and a token usage dashboard, which include a 3D gallery of landmarks, a video editing workbench, an interactive paper reader, and a token usage dashboard. While many smaller plugins will probably just work immediately, in my experience, some may require follow-ups and iteration to perfect them. Plugins all run at the same permission level as the application, so you'll either need to give explicit approval to installs or run it with unrestricted acess. Because plugins persist permanently once installed, a faulty plugin can break the harness, which is admittedly part of the whole "pre-release" experience. In one instance, when testing my vLLM monitor, the plugin repeatedly crashed DeepSeek Harness until I found the cause. As a result, there are definitely risks when it comes to giving an agent this much control over its own environment. Some of the plugins I use are ones that I really expected the stock application to have. For example, while DeepSeek Harness supports archiving conversations, you can't actually delete them. I built a plugin that removes the conversation's directory and any attachments that aren't referenced elsewhere. Another plugin I use also adds back and forward navigation buttons to the application, allowing me to move between previously opened conversations in the same way Claude Code or Codex can do. Other plugins are built around what I actually use, like my vLLM monitor which adds a status indicator at the bottom of the conversation, expanding into a panel which displays throughput, MTP acceptance rates, cache utilization, and latency. If something seems off in terms of speed, I'll be able to actually see it there without having to go to the vLLM health endpoint and parse it myself. Finally, I also built a voice dictation plugin that adds a microphone beside the Send button and transcribes my speech locally using Nvidia's Parakeet, without needing to transcribe in the cloud. There are some plugins I use that modify the behavior of the agent itself. I have a memory plugin which maintains a shared hierarchy of dated notes which can be read and updated across conversations. Another plugin connects the harness to an existing Chrome extension, allowing the agent to interact with my actual browser. I have my own version of ChatGPT's generative UI It works with my local models, too The most ambitious plugin I tasked my local LLM with building was a custom implementation of generative UI, which is a plugin spanning more than 5,000 lines of code. A couple of months ago, OpenAI launched "Intelligent UI" with GPT-6, and it allows the model to respond with interactive charts, buttons, forms, and other visual components in a conversation, rather than just text. I wanted something similar in DeepSeek Harness, so I asked GLM-5.3-Flash to build it. The plugin gives the agent two tools: the first accepts a declarative JSON description of an interface, and the second accepts self-contained HTML, CSS, and JavaScript, rendered in a sandboxed iframe. Through both of these, an agent can draw a special layout, table, chart, interactive control, or something more complex to illustrate a point. Output is rendered inline within the conversation, and those interfaces are permanently appended to the conversation, so it's still there if I restart DeepSeek Harness or if I fork the conversation. This can do a lot of things; I can ask for a calculator, a dashboard, an interactive comparison table, or anything else, get a working interface directly within the conversation. Unlike ChatGPT's implementation, it doesn't progressively render interfaces as the model generates them, as it relies on ordinary tool calls instead. This has the benefit of not being tied to a particular model, because as long as the model can reliably call tools and generate the required structured output, it can use the generative UI plugin. Not everything is important either, and I have a couple of fun ones, too. One plugin adds a Spotify "now playing" panel to the bottom of the sidebar, and another lets me switch between different visual styles for the entire application, built using DeepSeek's own Creator Mode example prompt. Finally, I've also integrated DeepSeek Harness with ARTEX, an open-source AI penetration testing platform I run in Docker. That plugin adds a sidebar displaying open findings, active tasks, and pending approvals, alongside read-only tools that allow the agent to query the platform and present its findings through my generative UI plugin. The thing about DeepSeek Harness is that it can deceive you by how polished it feels in parts. It's still a developer preview that's perpetually in "pre-release", but future updates can and likely will break things. Furthermore, a broken plugin can take down an entire install until you work out the cause and fix it. It's supposed to fall back to a working configuration, but it didn't in my case. If all you want is a capable coding agent that works out of the box, you'll probably be better served by a more mature harness such as Claude Code or Codex. What makes DeepSeek Harness harness great is exactly the same thing as what makes Pi great, and given that DeepSeek supports Pi's AI providers with direct references to Pi, I suspect it was a great source of inspiration. You can build the harness to be everything you want it to be, and remove everything you don't want it to do. No matter what, I can describe what I need and have a model running on my own hardware build it, even if it takes a few iterations to get it to where it needs to be.

Original Source

Read the full article at Xda-developers →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.