Who it is forA developer or team that wants judgment calls to run on a model server they control.
The problemSome teams cannot send their data to a hosted API and need the same question-and-probability workflow on their own infrastructure.
The outcomeYour agent gets the same typed answers from a self-hosted model, with the connector configured to use your own endpoint.
What you need first
- A TypeSafe API key from https://console.typesafe.ai/, or an OpenRouter API key
- A macOS or Linux terminal to run the installer
- A supported agent client such as Claude Code, Claude Desktop, Codex or Hermes
Steps
- Run
curl -fsSL https://raw.githubusercontent.com/itsmostafa/system-one-connector/main/install.sh | sh - Start your own model server and note its address (the README shows an example at http://127.0.0.1:8787)
- For Laya, run
TYPESAFE_API_KEY=local TYPESAFE_BASE_URL=http://127.0.0.1:8787 evaluate setup mcp - For CLM, also set
TYPESAFE_MODEL=clm-latest; see docs/configuration.md#running-clm-locally - Save each setup as a profile and switch with
evaluate profile use <name>(inferred, check the README)
Prompt for your agent
Using the evaluate tool from the itsmostafa/system-one-connector repo configured with a self-hosted CLM or Laya endpoint, ask whether <text> conveys urgency (noul question). Return the probability and the endpoint used. Verify that the response came from your local address and not a hosted one.
Caveat. The README does not explain how to run the model server itself, so you need your own working CLM or Laya server before this setup works.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for itsmostafa/system-one-connector and "Route judgments to a self-hosted CLM or Laya model"
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