The open-source agent harness - the runtime layer that turns an LLM into a working agent.
5,253
stars
452
commits
TypeScript
primary language
Sep 4, 2026
updated
The open-source agent harness - the runtime layer that turns an LLM into a working agent
TrueForge runs the agent execution loop for you - model calls, MCP tools, skills, sandboxing, approvals, context management, and session state - and exposes it three ways: a chat UI, an HTTP API with a TypeScript SDK, and an embeddable UI SDK.

Building an agent is easy. Running one well is not - you need streaming, session persistence, tool servers, sandboxing, approvals, and a UI. TrueForge gives you that out of the box:
SKILL.md instruction packs, loaded on demand in the sandbox.@truefoundry/trueforge-sdk, or embed @truefoundry/trueforge-ui.It scales down and up: local mode (one process, SQLite) or hosted mode (Postgres + Redis, Docker Compose or Helm).
npxnpx @truefoundry/trueforge@latest
Use the Quickstart guide to run TrueForge using various methods (Local, Docker Compose, or Kubernetes). Connect models, tools, skills and build your first reusable agent.
To work on TrueForge from this repository, see CONTRIBUTING.md.
| Mode | Best for | Storage | Extra infra | How to run |
|---|---|---|---|---|
| Local | Personal use, trying it out | SQLite | None | npx @truefoundry/trueforge |
| Hosted | Teams, multi-replica | Postgres | Postgres + Redis | Docker Compose or Helm |
Local mode is for your machine only. It is a convenient way to try TrueForge — not a production or internet-facing setup. There is no login by default, and data lives in a local SQLite file. Please keep it on localhost. We cannot take responsibility for data loss or unauthorized access if local mode is used beyond that. For a shared or production deployment, use hosted mode.
| Section | What you'll find |
|---|---|
| Introduction | What an agent harness is and how TrueForge fits together |
| Quickstart | Run local or hosted, build your first agent |
| Initial Setup | Models, MCP, skills, sandbox - catalogs and overrides |
| Create an Agent | Select resources; tool approval, questions, Generative UI |
| Harness Capabilities | Sandbox-as-tool, subagents, deferred tools, Code Mode, compaction |
| Setup Login | Optional OIDC for shared deployments |
| Benchmarking | Cost/accuracy vs Claude Managed Agents and deepagents |
| SDK | TypeScript client: sessions, turns, events |
| Chat UI | Bundled UI and embedding @truefoundry/trueforge-ui |
| API Reference | OpenAPI paths and schemas |
We compare TrueForge against Claude Managed Agents and deepagents on the same tasks, tools, and model - same accuracy, lower cost. Reproduce it from benchmark/. Write-up: Benchmarking.
We love contributions - bug reports, features, and docs fixes. See CONTRIBUTING.md and our Code of Conduct. Fork PRs should change source only; maintainers regenerate the SDK after merge.
To report a security vulnerability, follow SECURITY.md instead of opening a public issue.
TrueForge is released under the MIT License.
76 commits
67 commits
41 commits
35 commits
TypeScript
96.7%
Python
1.5%
The open-source agent harness - the runtime layer that turns an LLM into a working agent.
5,253
stars
452
commits
TypeScript
primary language
Sep 4, 2026
updated
The open-source agent harness - the runtime layer that turns an LLM into a working agent
TrueForge runs the agent execution loop for you - model calls, MCP tools, skills, sandboxing, approvals, context management, and session state - and exposes it three ways: a chat UI, an HTTP API with a TypeScript SDK, and an embeddable UI SDK.

Building an agent is easy. Running one well is not - you need streaming, session persistence, tool servers, sandboxing, approvals, and a UI. TrueForge gives you that out of the box:
SKILL.md instruction packs, loaded on demand in the sandbox.@truefoundry/trueforge-sdk, or embed @truefoundry/trueforge-ui.It scales down and up: local mode (one process, SQLite) or hosted mode (Postgres + Redis, Docker Compose or Helm).
npxnpx @truefoundry/trueforge@latest
Use the Quickstart guide to run TrueForge using various methods (Local, Docker Compose, or Kubernetes). Connect models, tools, skills and build your first reusable agent.
To work on TrueForge from this repository, see CONTRIBUTING.md.
| Mode | Best for | Storage | Extra infra | How to run |
|---|---|---|---|---|
| Local | Personal use, trying it out | SQLite | None | npx @truefoundry/trueforge |
| Hosted | Teams, multi-replica | Postgres | Postgres + Redis | Docker Compose or Helm |
Local mode is for your machine only. It is a convenient way to try TrueForge — not a production or internet-facing setup. There is no login by default, and data lives in a local SQLite file. Please keep it on localhost. We cannot take responsibility for data loss or unauthorized access if local mode is used beyond that. For a shared or production deployment, use hosted mode.
| Section | What you'll find |
|---|---|
| Introduction | What an agent harness is and how TrueForge fits together |
| Quickstart | Run local or hosted, build your first agent |
| Initial Setup | Models, MCP, skills, sandbox - catalogs and overrides |
| Create an Agent | Select resources; tool approval, questions, Generative UI |
| Harness Capabilities | Sandbox-as-tool, subagents, deferred tools, Code Mode, compaction |
| Setup Login | Optional OIDC for shared deployments |
| Benchmarking | Cost/accuracy vs Claude Managed Agents and deepagents |
| SDK | TypeScript client: sessions, turns, events |
| Chat UI | Bundled UI and embedding @truefoundry/trueforge-ui |
| API Reference | OpenAPI paths and schemas |
We compare TrueForge against Claude Managed Agents and deepagents on the same tasks, tools, and model - same accuracy, lower cost. Reproduce it from benchmark/. Write-up: Benchmarking.
We love contributions - bug reports, features, and docs fixes. See CONTRIBUTING.md and our Code of Conduct. Fork PRs should change source only; maintainers regenerate the SDK after merge.
To report a security vulnerability, follow SECURITY.md instead of opening a public issue.
TrueForge is released under the MIT License.
76 commits
67 commits
41 commits
35 commits
TypeScript
96.7%
Python
1.5%