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-harness: Build Controllable AI Agents for .NET
Model Harness is a ports-and-adapters agent framework for .NET 8 and .NET 10. It combines a model with a configurable loop, context-shaping guides, and sensors that can intervene at defined steps.

harness-sdk: Build and Control Python and TypeScript AI Agents
Strands Agents is an open-source Python and TypeScript SDK for building AI agents around an in-process agent loop, without a hosted control plane. Use the assembled harness for production-ready defaults, or build your own agent with control over models, tools, memory, and execution.
| model-harness | harness-sdk | |
|---|---|---|
| Language | C# | Python |
| License | MIT | Apache-2.0 |
| Stars | 1 | 9k |
| Forks | 1 | 1.4k |
| Last analyzed | Nov 20, 2026 | Oct 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.
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.
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.