model-harness vs trueforge
Agent harnesses for .NET and TypeScript compared
model-harness and trueforge both provide an execution harness around an LLM, with tools and controls for agent runs. model-harness focuses on a replaceable .NET loop with guides and sensors, while trueforge packages a TypeScript runtime with a chat UI, APIs and deployment options.

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.

trueforge: Run Agents with a TypeScript Agent Harness
TrueForge is a TypeScript agent harness that runs the execution loop around an LLM, including tools, session state, approvals and sandboxing. Use its chat UI, HTTP API and SDK in local or hosted deployments.
| model-harness | trueforge | |
|---|---|---|
| Language | C# | TypeScript |
| License | MIT | MIT |
| Stars | 1 | 6.4k |
| Forks | 1 | 550 |
| Last analyzed | Nov 20, 2026 | Oct 30, 2026 |
Key differences
- model-harness is written in C# for .NET 8 and .NET 10; trueforge is written in TypeScript.
- model-harness emphasizes context-shaping guides, loop sensors and turn, token, cost and time budgets; trueforge emphasizes MCP tools, sandboxing, session state and approvals.
- model-harness uses replaceable ports and offers adapters for Anthropic, Azure OpenAI / AI Foundry and Ollama; trueforge supports a range of providers and configurable YAML catalogs for providers, MCP servers, skills and sandbox options.
- trueforge includes a bundled chat UI, HTTP API, TypeScript SDK and embeddable UI SDK; model-harness describes a framework for building agent workflows.
- trueforge supports local SQLite deployments and hosted Postgres and Redis deployments; model-harness's supplied information focuses on application-level framework configuration.
- Both are MIT-licensed and unarchived; model-harness is described as young with contributor activity concentrated in one person, while trueforge is less than six months old and changing quickly.
Choose model-harness if you…
- need a .NET framework with a configurable agent loop and replaceable components.
- want sensors to inspect or intervene at defined loop steps and budgets that return partial results.
- plan to experiment with context shaping or model providers, while configuring your own model client.
Choose trueforge if you…
- want a TypeScript harness with a bundled chat UI, HTTP API or SDK for integrating agent sessions.
- need MCP connections, sandboxed code and file operations, or human approval checkpoints.
- want to run locally with SQLite or deploy for shared use with Postgres and Redis.
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.