Who it is forA developer who wants to try an agent on their own machine before deciding on a team setup.
The problemBuilding an agent loop with streaming, session storage, tool servers, approvals, and a UI takes significant effort before any real work can start.
The outcomeA working local agent chat connected to a chosen model, with MCP tools and skills available to the agent.
What you need first
- A machine where you can run npx, for the local quickstart
- API access to at least one model provider you plan to connect (OpenAI, Anthropic, Google Gemini, or an OpenAI-compatible endpoint)
- Optional: credentials for any remote MCP server you plan to use (header auth or OAuth)
- For hosted mode: Postgres and Redis, plus Docker Compose, Helm, or Railway
Steps
- Run
npx @truefoundry/trueforge@latestin a terminal. - Open the bundled chat UI and connect a model from the catalog or an OpenAI-compatible endpoint.
- Add MCP servers and skills from the Initial Setup catalogs.
- Create an agent that selects those resources and enable tool approval.
- Keep the instance on localhost, because local mode has no login by default and stores data in SQLite.
Prompt for your agent
Using the truefoundry/trueforge repo, start TrueForge locally with `npx @truefoundry/trueforge@latest`, connect the model <model-provider>, and create an agent that uses one MCP server named <mcp-server>. Report the agent's name and the URL of the chat UI. Verify that the agent answers a test prompt and that the session appears in Sessions.
Caveat. The README says local mode is for your machine only and should stay on localhost, so do not expose it to the internet.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for truefoundry/trueforge and "Run a local agent chat with your own models and tools"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer