TrueForge

August 24, 2026 ยท View on GitHub

TrueForge logo

The open-source agent harness - the runtime layer that turns an LLM into a working agent

truefoundry%2Ftrueforge | Trendshift

License: MIT Node.js >= 22.14 Documentation Quickstart SDK

npm @truefoundry/trueforge npm @truefoundry/trueforge-sdk npm @truefoundry/trueforge-ui npm @truefoundry/trueforge-core helm trueforge Ask DeepWiki

TrueForge

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.

TrueForge Chat UI

Why TrueForge?

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:

  • Initial setup from catalogs - configure models, MCP servers, skills, and a sandbox once; agents pick from what you connected. Presets come from shipped YAML catalogs you can customize.
  • Any model provider - OpenAI, Anthropic, Google Gemini, and other catalog providers, or any OpenAI-compatible endpoint.
  • MCP tools - remote MCP servers with header auth or OAuth, including in-chat authorization.
  • Skills - git-backed SKILL.md instruction packs, loaded on demand in the sandbox.
  • Sandbox as a tool - isolated code/file execution (Daytona today; more providers planned), provisioned only when needed. Secrets stay in the harness.
  • Human checkpoints - tool approval, ask-user-questions, and Generative UI in chat.
  • Context engineering - subagents, deferred tool loading, Code Mode, large-result offloading, and compaction.
  • Chat UI + SDK - use the bundled UI, automate with @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).

Getting started

Quickstart with npx

npx @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.

Architecture

TrueForge architecture: Chat UI and SDK connect to the TrueForge server HTTP API and agent loop, which talks to SQLite or Postgres and bring-your-own models, MCP servers, and sandbox

ModeBest forStorageExtra infraHow to run
LocalPersonal use, trying it outSQLiteNonenpx @truefoundry/trueforge
HostedTeams, multi-replicaPostgresPostgres + RedisDocker 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.

Documentation

SectionWhat you'll find
IntroductionWhat an agent harness is and how TrueForge fits together
QuickstartRun local or hosted, build your first agent
Initial SetupModels, MCP, skills, sandbox - catalogs and overrides
Create an AgentSelect resources; tool approval, questions, Generative UI
Harness CapabilitiesSandbox-as-tool, subagents, deferred tools, Code Mode, compaction
Setup LoginOptional OIDC for shared deployments
BenchmarkingCost/accuracy vs Claude Managed Agents and deepagents
SDKTypeScript client: sessions, turns, events
Chat UIBundled UI and embedding @truefoundry/trueforge-ui
API ReferenceOpenAPI paths and schemas

Benchmarks

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.

Contributing

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.

Talk to us

License

TrueForge is released under the MIT License.