model-harness vs harness-sdk

AI agent frameworks compared

model-harness and harness-sdk both help developers build AI agents with control over their execution loops and integrations. model-harness focuses on a configurable .NET framework with guides, sensors, and budgets; harness-sdk offers Python and TypeScript SDKs alongside assembled harnesses and companion tools.

model-harnessharness-sdk
LanguageC#Python
LicenseMITApache-2.0
Stars19k
Forks11.4k
Last analyzedNov 20, 2026Oct 29, 2026

Key differences

  • model-harness targets .NET 8 and .NET 10 in C#, while harness-sdk provides Python and TypeScript SDKs.
  • model-harness emphasizes a ports-and-adapters loop with context-shaping guides and sensors that can intervene at defined steps; harness-sdk combines lower-level SDKs with assembled harnesses and defaults for models, tools, memory, sessions, and context management.
  • model-harness lists turn, token, cost, and wall-clock budgets; harness-sdk lists turn limits, token budgets, cancellation, and stop reasons.
  • model-harness is MIT-licensed, while harness-sdk is Apache-2.0-licensed.
  • model-harness has 1 star and 1 fork and describes contributor activity concentrated in one person; harness-sdk has 9k stars and 1.4k forks and reports frequent recent commits and releases.
  • model-harness lists Anthropic, Azure OpenAI / AI Foundry, and Ollama adapters; harness-sdk uses Amazon Bedrock by default and supports other configured providers.

Choose model-harness if you…

  • need a C# agent framework for .NET 8 or .NET 10.
  • want sensors to check or intervene in the agent loop at defined steps.
  • need turn, token, cost, or wall-clock budgets with partial results when limits are reached.
Read the model-harness analysis →

Choose harness-sdk if you…

  • want Python or TypeScript SDKs and assembled harnesses with ready-to-use defaults.
  • need companion tooling such as a CLI, MCP server, and documentation site in the same repository.
  • want lifecycle controls, guardrails, tracing, and evaluation support for agent operations.
Read the harness-sdk analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.