Favicon of OpenHarness SDK

OpenHarness SDK

TypeScript AI agent SDK for local file and shell tools, with subagents, MCP support and a choice of model providers.

Screenshot of OpenHarness SDK website

OpenHarness SDK is a TypeScript toolkit for developers building coding assistants and other AI agents into their own applications. It gives the application control over conversation history, tool permissions and task delegation.

  • File and shell tools Agents can work with files and execute shell commands, with approval callbacks that let your application ask permission before a tool runs.
  • Subagents Agents can delegate tasks to child agents, run work in the background and optionally resume subagent sessions.
  • Conversation management Your application can inspect, edit or share message history, with optional persistence, retries and context compaction for longer tasks.
  • External tools and project context MCP connects agents to tool servers, while skill loading and AGENTS.md or CLAUDE.md support supply task instructions and project context.
  • Streaming interfaces React hooks and Vue composables support chat interfaces, alongside terminal applications.

The SDK is open source under the MIT license and supports Node.js and edge runtimes. Its Vercel AI SDK integration works with OpenAI, Anthropic, Google and compatible model providers. A separate virtual filesystem provider supports sandboxed, in-memory or SQLite-backed file access.

The website's example uses the remote OpenAI API. Running file and shell tools on your own machine doesn't make that model connection local; context sent in those requests goes to OpenAI.

Similar to OpenHarness SDK