TrueForge
An open-source runtime for turning language models into tool-using, stateful agents.
- Source repo
- truefoundry/trueforge
- Stars
- ★ 6.7k
- Last updated
- today @truefoundry/[email protected]
- FARS reviewed
- Nov 08, 2026 +15 new
- License
- MIT
- Primary language
- TypeScript
- FA score
- 65/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- An individual developer evaluating a stateful, tool-using agent on a workstation can run the single-process SQLite local mode.
- Not a fit if
- Users wanting zero-config setup; models, MCP servers, and sandbox must be configured first
- Teams wanting production multi-replica use without operating Postgres and Redis
- Website
- trueforge.dev ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release @truefoundry/[email protected] (2026-12-02)+4.7 ★/day over 7 days
- Source review
- 65/100 · Some gaps
What does this agent do, and when should you use it?
TrueForge is an open-source agent harness that operates the execution loop spanning model calls, MCP tools, skills, sandboxes, approvals, context management, and session state. It exposes that runtime through a bundled chat interface, an HTTP API, the @truefoundry/trueforge-sdk TypeScript client, and the embeddable @truefoundry/trueforge-ui. It can connect to OpenAI, Anthropic, Google Gemini, other catalog providers, and OpenAI-compatible endpoints, alongside remote MCP servers authenticated by headers or OAuth. Its deployment boundary ranges from a single-process SQLite local mode to a hosted Postgres and Redis setup run with Docker Compose or Helm. It is aimed at developers and platform teams that want a ready-made operational layer instead of assembling streaming, persistence, tool authorization, isolated execution, and agent UI infrastructure themselves.
An operator initially configures models, MCP servers, Git-backed SKILL.md skills, and a sandbox through customizable shipped YAML catalogs; agents then select from those connected resources. During a run, TrueForge manages model calls and the agent loop, invokes remote MCP tools, loads skills on demand, and provisions a Daytona sandbox when isolated code or file execution is needed. It can stop at human checkpoints for tool approval, ask the user questions, and present Generative UI in the conversation. Its context layer supports subagents, deferred tool loading, Code Mode, large-result offloading, and compaction. Sessions and turns can be driven from the chat UI or HTTP API, while the TypeScript SDK exposes sessions, turns, and events; results are delivered through the bundled UI, an embedded UI, or API event handling.
- An individual developer evaluating a stateful, tool-using agent on a workstation can run the single-process SQLite local mode.
- A platform team standardizing models, MCP services, skills, sandboxes, and approval controls for several internal agents can deploy TrueForge as a shared runtime.
- A TypeScript team with an existing product interface can use
@truefoundry/trueforge-sdkto manage sessions, submit turns, and consume events. - A product team that needs an agent chat experience inside its application can embed
@truefoundry/trueforge-uiinstead of rebuilding the entire interface. - A team whose agents must execute code or manipulate files in isolation can use the on-demand Daytona sandbox while retaining secrets in the harness.
- An organization requiring human review before consequential tool actions can add tool approvals, user questions, and Generative UI checkpoints.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx @truefoundry/trueforge
- Runtime
- Node.js 22.14+
- Install notes cover
- Docker
How do you install or deploy this agent?
Local mode requires Node.js >= 22.14. Run npx @truefoundry/trueforge; this starts the documented single-process mode backed by SQLite and requires no additional infrastructure. After startup, connect at least one model and configure any required MCP servers, skills, and sandbox, then follow https://trueforge.dev/quickstart to create the first reusable agent. Provider credentials and header or OAuth credentials for remote MCP services depend on the services selected; the supplied material does not name credential environment variables. Shared or production use requires hosted mode with Postgres and Redis and supports Docker Compose or Helm, but no complete copyable hosted deployment command is included in the source.
How do you use this agent?
For the smallest documented path, run npx @truefoundry/trueforge, connect a supported model during initial setup, and select any needed MCP servers, SKILL.md skills, and sandbox. Create an agent and start a session from the bundled chat UI; TrueForge then runs the model-and-tool loop, persists session state, and requests approval at configured checkpoints. Programmatic clients can use @truefoundry/trueforge-sdk for sessions, turns, and events or call the HTTP API, while frontends can embed @truefoundry/trueforge-ui. The supplied material does not include SDK initialization code, a sample HTTP request, port numbers, configuration keys, or credential variable names, so a more specific first API invocation cannot be stated reliably.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Combines model calls, streaming interactions, persistent sessions, MCP, skills, sandboxing, human approvals, and context management in one runtime.
- Offers a bundled chat UI, HTTP API, TypeScript SDK, and embeddable UI SDK, covering both direct operation and integration into an existing product.
- Explicitly supports OpenAI, Anthropic, Google Gemini, other catalog providers, and OpenAI-compatible endpoints, reducing dependence on one model vendor.
- Scales from a single-process SQLite setup to a hosted Postgres and Redis deployment using Docker Compose or Helm.
- Includes subagents, deferred tool loading, large-result offloading, and compaction for longer or more complex execution flows.
- Provisions the sandbox only when needed, keeps secrets in the harness, and supports human review before tool execution.
- Local mode has no login by default and is restricted to localhost use; the project explicitly says it is not a production or internet-facing setup.
- Production deployment adds Postgres and Redis plus the operational burden of Docker Compose or Helm.
- Daytona is the only currently documented sandbox provider; additional providers are described only as planned.
- The supplied material omits complete configuration, SDK examples, a first HTTP call, ports, and credential environment variables, preventing an unambiguous end-to-end automated setup from this source alone.
- Remote model and MCP integrations require network access and may require separate header credentials or OAuth authorization.
- The benchmark claim says accuracy is equal and cost is lower under matched conditions, but the supplied material contains no numerical measurements.
How does this agent compare with similar options?
The project compares TrueForge with Claude Managed Agents and deepagents on the same tasks, tools, and model, claiming the same accuracy at lower cost. It says the experiment can be reproduced from the repository's benchmark/ directory. The supplied material provides no scores, cost figures, or experimental details, so the size of the difference cannot be quantified here.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| TrueForge This agent | 65 · Some gaps | CLIFree + model costs | ★ 6.7k | today | TypeScript | OpenAI API · Claude API |
| Omnara Managed Agent Platform | 68 · Some gaps | Hosted serviceFreemium | ★ 3.5k | today | Go | Codex · Claude Code · Claude.ai · OpenAI API · Claude API |
| Acontext | 48 · Major gaps | Library / SDKFreemium | ★ 3.7k | 1mo ago | JavaScript | OpenAI API · Claude API |
| Omnigent | 68 · Some gaps | CLIFree + model costs | ★ 12k | today | Python | ChatGPT · Codex · Claude Code · Claude.ai · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The docs say sandboxes are provisioned on demand, model and MCP credentials stay in the harness, and human checkpoints include tool approval and asking users. They also state that sandbox egress is unrestricted by default, environment variables are visible in plaintext, and Daytona requires broad sandbox, snapshot, and secret scopes. Credential and network handling are described concretely, but permission scoping, rollback, and security implementation evidence are limited, so full marks are not warranted. README, SECURITY.md, and the license identify project and vulnerability-reporting channels, while publisher identity remains unverified.
README, quickstart, and SDK examples are broadly consistent about local versus hosted modes, storage, and the request flow; the CI file describes build, typecheck, and test workflows. The supplied material gives limited implementation evidence about dependency availability, runtime recovery, and failure-message handling, so these criteria receive partial scores.
The docs clearly address personal local use and hosted team deployments, and describe model, MCP, skill, sandbox, SDK, and UI use cases. They state that Daytona is the only supported sandbox provider today and explain login and deployment boundaries, but trigger behavior and environment adaptation are only partly evidenced.
README clearly organizes architecture, documentation, quickstart, SDK, contribution, and security reporting; local and hosted installation steps are concrete, and the MIT license is explicit. Examples cover TypeScript and Python, but the supplied material gives incomplete evidence about FAQ coverage, naming evolution, changelog practices, and long-term maintenance responsibility, so those items do not receive full marks.
The product offers a usable execution loop, session state, tools, skills, approvals, and UI/SDK surfaces, and the examples show creating a session and streaming events. The docs claim to reduce the work of building and operating agents, but the full benefit and cost claims cannot be verified from this static sample, so value and cost-benefit receive partial scores.
README, docs, package.json, CI configuration, and selected source files jointly support claims about product shape, installation, and some operating conventions; test files show concrete assertions but are not treated as executed results. Some security and effectiveness claims are documentation assertions, and the packet is a sample rather than the complete repository, so traceability is adequate but corroboration and fact/inference separation do not earn full marks.
- Local mode has no login by default and stores data in local SQLite; the docs say to keep it on localhost and not use it as an internet-facing shared deployment.
- Sandbox egress is unrestricted by default, and environment variables are stored in plaintext and exposed to the sandbox. The docs recommend host-scoped secrets and offer a domain allow list or a block-all-network setting.
- The packet does not include the full implementation or dependency inventory. This static review did not execute the program and cannot confirm runtime behavior, dependency risk, or the completeness of security controls.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Patch Changes - 0c80700: A turn cut off by a server shutdown now reads "Server stopped the turn before shutting down. Please retry", and the server logs each turn it abandons at shutdown. - c09039b: The agent config model picker can switch an agent to Auto and choose its candidate models. Auto sits above the provider list, and a warning label on the candidates explains when saved models are no longer in the workspace list, with Review changes and Sync with workspace actions on hover. Model picker rows now carry properties.autoRouting. …View on GitHub ↗ -
Release notes excerpt
Patch Changes - 0c80700: A turn cut off by a server shutdown now reads "Server stopped the turn before shutting down. Please retry", and the server logs each turn it abandons at shutdown. - c09039b: The agent config model picker can switch an agent to Auto and choose its candidate models. Auto sits above the provider list, and a warning label on the candidates explains when saved models are no longer in the workspace list, with Review changes and Sync with workspace actions on hover. Model picker rows now carry properties.autoRouting. …View on GitHub ↗ -
Release notes excerpt
Patch Changes - e4fd3d4: Regenerate SDK from updated OpenAPI spec. - bf0fa02: The agent spec model is now { type: "fixed", name, params? } or { type: "auto", candidate_models } (4 to 10 models). A migration rewrites saved agents and inline sessions. Requests without type still work. - 5fa1a8f: Add POST /api/v1/artifacts/{artifact_id}/update to rename the caller's artifacts. The SDK gains artifacts.update. …View on GitHub ↗
FAQ
Can local mode be exposed as a production service?
Is TrueForge tied to a single model provider?
What infrastructure does a production deployment require?
Can people review tool and sandbox actions?
What will it cost to run?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.