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-harnesstrueforge
LanguageC#TypeScript
LicenseMITMIT
Stars16.4k
Forks1550
Last analyzedNov 20, 2026Oct 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.
Read the model-harness analysis →

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.
Read the trueforge 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.