DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to route judgments to a self-hosted CLM or Laya model with System One Connector

Point the connector at your own server to run CLM or Laya instead of the hosted Jev.

Short answer: Run curl -fsSL https://raw.githubusercontent.com/itsmostafa/system-one-connector/main/install.sh | sh; then 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. All steps.

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

  1. Run curl -fsSL https://raw.githubusercontent.com/itsmostafa/system-one-connector/main/install.sh | sh
  2. Start your own model server and note its address (the README shows an example at http://127.0.0.1:8787)
  3. For Laya, run TYPESAFE_API_KEY=local TYPESAFE_BASE_URL=http://127.0.0.1:8787 evaluate setup mcp
  4. For CLM, also set TYPESAFE_MODEL=clm-latest; see docs/configuration.md#running-clm-locally
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer