---
title: Harness Runtime DoTs SDK Reference (public)
description: DoTs modules for managing Harness Runtime sessions, agent configs, workspace transfers, triggers, and persistent workspaces from TypeScript.
product: Managed Agents
url: https://docs.digitalocean.com/products/managed-agents/agent-harness-runtime/reference/dots/
last_updated: "2026-11-11"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# Harness Runtime DoTs SDK Reference (public)

DigitalOcean Harness Runtime provides managed, hardware-isolated microVM sandboxes with built-in tools such as Chromium to run harnesses and execute arbitrary code. Rich lifecycle APIs preserve conversational history and working state across sessions, letting you pause, resume, and fork work to control costs and adapt to the nonlinear nature of agentic workflows. Scale complete agents such as Claude Code or use sandboxes independently for code execution, all through the same service. See [What You Can Build](https://docs.digitalocean.com/products/managed-agents/agent-harness-runtime/details/what-you-can-build/index.html.md) for example use cases.

[DoTs](https://github.com/digitalocean/dots) is the official DigitalOcean TypeScript client library. Install it with `npm i @digitalocean/dots`.

The Harness Runtime modules are:

- [Harness Runtime](https://docs.digitalocean.com/reference/dots/reference/harness-runtime/index.html.md): Manage sessions, agent configs, workspace transfers, and triggers.
- [Harness Runtime Workspaces](https://docs.digitalocean.com/reference/dots/reference/harness-runtime-workspaces-public-preview/index.html.md): Create and manage persistent workspaces that outlive a session.

For install instructions and quickstart examples, see [DoTs](https://docs.digitalocean.com/reference/dots/index.html.md).