Unified model access
A consistent interface across DeepSeek Dense, MoE, Code, Math and Vision models.
Models, tools, skills, sessions, sandboxes, storage, loops, orchestration and UI are all composed as plugins—free to replace and recombine.
Open source · Composable · Traceable
Build and verify the current task
agent-loop / run-0042 / workspace
Understand the task
01Read the goal and repository context, then create an executable plan.
Call tools
02Search files and trace the real code path that needs to change.
Verify the result
03Check the change and keep iterating until the delivery target is met.
Unified execution interface
A backend-agnostic runtime abstraction
DeepSeek Model
Reasoning, code, math and multimodal models
Harness Runtime
Context, loops, plugins and tracing
Real Environment
Repositories, filesystems and enterprise tools
Model × Environment
Harness gives an Agent the ability to understand its environment, use tools and keep working in real scenarios—so a model can complete tasks, not just answer questions.
A consistent interface across DeepSeek Dense, MoE, Code, Math and Vision models.
Supports Transformers, vLLM, TGI, llama.cpp / GGUF, TensorRT-LLM and SGLang.
Integrated GPTQ, AWQ, FP8, INT8, INT4 and KV Cache quantization strategies.
Connects general, code, math, reasoning, Chinese, long-context and multimodal benchmarks.
Composable Agent Runtime
DeepSeek Harness is the open-source Agent framework connecting foundation models to real execution environments. Every capability is replaceable and every step is observable.
Automatically cycles through analysis, tool calls, results, corrections and final delivery.
Read, search, create and modify files with repository-aware context.
Package team standards, domain knowledge and repeatable operations in SKILL.md.
Models, tools, loops, storage, sandboxes, workflows and UI can all be replaced.
Analyze
Understand
Call
Select tools
Observe
Read results
Revise
Update plan
Deliver
Verify done
[observe] Tool returned 3 relevant files; call paths mapped.
[reason] Boundary condition found; implementation updated for another pass.
[deliver] Static checks passed; artifact and trace saved.
Design Principles
The engineering access layer + capability verification layer + deployment acceleration layer for DeepSeek models.
Switch between model services and inference engines through a stable abstraction layer.
Configure models, quantization, parallelism and plugin policies in YAML / JSON.
Fix random seeds and preserve complete environment information and execution traces.
Add models, evaluations, tools and inference engines as plugins.
Use Cases
From a single coding task to enterprise engineering workflows, run continuously on the same composable runtime.
Analyze repositories, modify code, run checks and keep fixing based on the results.
Inspect changes, potential defects and conventions, then produce actionable review feedback.
Read errors, find root causes and iterate on fixes with validation inside the task loop.
Connect internal systems through plugins and build assistants aligned with organizational processes.
Split large tasks across specialized agents while keeping context and results traceable.
Package repeatable team processes as Skills or Workflows for reuse.
Plugin Plaza
From models to UI, every slot connects through a clear contract. Choose the plugins you need and build your own Harness.
Unify DeepSeek API, local inference and private deployments.
Discover, authorize and call terminals, files, browsers and enterprise tools.
Load reusable domain knowledge, team conventions and standard workflows.
Control commands, filesystems and network boundaries with isolation policies.
Persist task knowledge and recall the right context when it matters.
Inspect every inference, tool call, result and state transition.
Open Source · Developer Preview
Start with the smallest runtime, then add models, tools, Skills, sandboxes and storage as needed. Bring the Agent into your real work environment.
Clone the developer preview
$git clone https://github.com/deepseek-ai/deepseek-harness.git