Back to browse
GitHub Repository

A code-first, composable SDK to build powerful AI agents

564 starsTypeScript

OpenHarness – Open-source TypeScript SDK for building AI agents

by MaxGfeller·Mar 20, 2026·3 points·2 comments

AI Analysis

MidShip It

Another agent SDK when Claude Agent SDK and Codex already exist.

Strengths
  • Loads agent instructions from AGENTS.md files for configuration
  • Subagent delegation with tool approval prompts built in
  • Auto-compaction handles long conversations automatically
Weaknesses
  • Agent SDK market already saturated with established players
  • Vercel AI SDK wrapper adds minimal differentiation
Target Audience

Developers building custom AI agent applications

Similar To

Claude Agent SDK · OpenAI Codex · LangChain

Post Description

I built this because I kept trying to use Claude Agent SDK, Codex, and OpenCode programmatically, and they were too "heavy" and uncustomizable for that. I wanted a TypeScript library I could import into my own app and build agents on top of. OpenHarness is built on Vercel's AI SDK 5, so it works with any model the SDK supports. The main things it gives you: loading agent instructions from AGENTS.md files, MCP server connections for tools, subagents (agents delegating to child agents), agent skills, tool approval prompts, and auto-compaction for long conversations. There's a CLI example and a Next.js chat interface in the repo if you want to try it out. Still early -- feedback on the API and what's missing would be useful.

Similar Projects

AI/ML●●Solid

LocalAgent v0.5.0, a local-first Rust agent runtime

Approval gates and replayable artifacts solve real local agent debugging pain points.

Big BrainNiche Gem
CalvinBuild
203mo ago