ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้ว
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

glin

โดย AkashChatterjeeรุ่น 0.1.5i★ 0iรันบนเครื่อง
ชื่อใน registryio.github.AkashChatterjee/glin

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด เอกสาร ตาราง และงานออฟฟิศ
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Exactly explainable classifiers for agents: train, tune, predict, explain on CSV or Excel.

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  3. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "glin": {
          "command": "uvx",
          "args": [
            "glin-ml",
            "serve"
          ]
        }
      }
    }
  4. ปิดแอป Claude แล้วเปิดใหม่

  5. ลองเลย

    ใช้ glin บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ glin หรือมีชื่อเครื่องมือของ glin ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ glin ไม่ได้

glin ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ glin ได้

  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศ ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  3. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user glin -- uvx glin-ml serve
  4. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น glin ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  5. ลองเลย

    ใช้ glin บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ glin หรือมีชื่อเครื่องมือของ glin ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน Cursor โหมด Agent

  4. ลองเลย

    ใช้ glin บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ glin หรือมีชื่อเครื่องมือของ glin ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Python (uv) ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)

    เปิดหน้าดาวน์โหลด Python (uv) ↗

  2. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน VS Code โหมด Agent

  4. ลองเลย

    ใช้ glin บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ glin หรือมีชื่อเครื่องมือของ glin ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ glin อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user glin -- uvx glin-ml serve

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "glin": {
      "command": "uvx",
      "args": [
        "glin-ml",
        "serve"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "glin": {
      "command": "uvx",
      "args": [
        "glin-ml",
        "serve"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "glin": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "glin-ml",
        "serve"
      ]
    }
  }
}

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
51/สัปดาห์
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.1.5
ส่งเข้า registryi
18 ต.ค. 2569
แก้โค้ดล่าสุดi
20 ต.ค. 2569
ผู้ทำ
AkashChatterjee
แพ็กเกจ
pypi: glin-ml
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 12 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub AkashChatterjee ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด 23 วันที่ผ่านมา

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi

  • ดาวมากกว่า 0% ของอีก 3799 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 55% ของอีก 3799 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 3799 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

glin ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด 23 วันที่ผ่านมา และส่งรุ่นล่าสุด (0.1.5) เข้า registry 25 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Puter MCP, XcodeBuildMCP, XcodeBuildMCP

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

โดย HeyPuterใช้กันมาก★ 44.1Kอัปเดต 5 เดือนที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · puter.com

XcodeBuildMCP

ให้ AI จัดการโปรเจกต์ Xcode สั่ง build และใช้ iOS Simulator

โดย getsentryใช้กันมาก↓ 130.5K/สัปดาห์ ยอดของแพ็กเกจที่ใช้ร่วม★ 6.6Kอัปเดต 4 เดือนที่ผ่านมา

รันบนเครื่อง✓ เจ้าของบริการ · xcodebuildmcp.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

โดย cameroncookeใช้กันมาก↓ 130.5K/สัปดาห์ ยอดของแพ็กเกจที่ใช้ร่วม★ 6.6Kอัปเดต 14 เดือนที่ผ่านมา

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

glin

☕ If glin is useful to you and you want to help maintain it, you can buy me a coffee.

glin lets your AI agent train a classifier on your data and then use it. You install glin into an agent such as Claude Code, Claude Desktop or Cursor. Then you talk to the agent in plain language. The agent trains the model, makes predictions and explains them. You do not write code.

glin trains an Explainable Boosting Machine (EBM) on a CSV or Excel file. Each prediction comes with an exact breakdown of the features that caused it. The breakdown comes from the additive structure of the model. It is not a SHAP or LIME approximation.

glin is an MCP server. It runs on your machine and talks to the agent over stdio. Your data and your models stay on your machine.

Changelog: CHANGELOG.md lists the changes in each release.

Case study: The segment of 100,000 sales leads. Claude with glin put 71% of new leads in the correct segment. Claude alone got 33%. With 1,000 labeled leads in the prompt, Claude got 60% and used 6.7 times more tokens.

How glin works

  1. You give the agent a data file and the column to predict.
  2. The agent calls glin. glin checks the data, trains a model and saves it in ~/.glin/models/ /.
  3. glin tests the model on rows that it did not train on. The agent tells you how good the model is.
  4. You ask about new cases. The agent sends each case to the model and gets a prediction with the exact reasons.
  5. You ask what drives the outcome. The agent reads it from the model.

A saved model stays available. You can use it again in a new chat.

What you can ask the agent

  • "Train a classifier on ~/data/leads.csv that predicts converted. Call it leads_v1."
  • "Which of these 3 deals should I prioritize?" The agent sends each deal to the model and gives the reasons.
  • "What drives churn in this model?"
  • "Tune the model, and tell me how good it really is."
  • "Which models do I have?"
  • "Delete the model leads_v1."

Contents

  • How glin works
  • What you can ask the agent
  • Install
  • Use glin from your agent
  • Train a model
  • Get predictions
  • Explain a model
  • Tune a model
  • Manage models
  • Your data
  • Files that glin can read
  • Excel files
  • Data checks
  • How glin reads columns
  • Dates and timestamps
  • Columns that glin does not use
  • Target leakage check
  • Reference
  • MCP tools
  • MCP prompts
  • Server flags
  • Case studies
  • Development
  • Releasing (maintainers)

Install

Your MCP client starts glin with uvx. uvx downloads the PyPI package glin-ml and keeps it in a cache. You do not install glin with pip. (The PyPI name glin belongs to an unrelated project.)

Do step 1 for all clients. Then do step 2 for your client.

Step 1: Install uv and download glin
  1. Install uv. Use one of these commands:
   # macOS and Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

macOS with Homebrew

brew install uv

Windows (PowerShell)

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

  1. Open a new terminal.
  2. Run this command:
   uvx --from 'glin-ml[excel]>=0.1.5' glin --version

The command shows glin-ml 0.1.5 or a later version. The first run downloads glin and its libraries into the cache. This can take approximately one minute.

Do not skip step 1.3. Some clients stop a server that does not start in 30 seconds. Claude Code is one of them. When the cache is full, glin starts in a few seconds.

Step 2: Add glin to your client

Do the steps for one of these clients:

  • Claude Code, with the plugin (recommended)
  • Claude Code, without the plugin
  • Claude Desktop
  • Cursor and other MCP clients
  • A client with a registry search
Claude Code, with the plugin (recommended)

The plugin adds the glin MCP server and a skill. The skill tells the agent when and how to build, tune, predict with and explain a model. The plugin includes Excel support.

  1. Start Claude Code.
  2. Add the glin marketplace:
   /plugin marketplace add AkashChatterjee/glin
  1. Install the plugin:
   /plugin install glin@glin-marketplace
  1. If Claude Code tells you to restart it, restart it.
  2. Run /mcp. Make sure that the list shows the glin server as connected.

The plugin starts uvx --from 'glin-ml[excel]>=0.1.5' glin serve. The plugin files are in .claude-plugin/marketplace.json and plugins/glin/.

Claude Code, without the plugin

Use this option to add only the MCP server, without the skill.

  1. In a terminal, run this command:
   claude mcp add --scope user glin -- uvx --from 'glin-ml[excel]>=0.1.5' glin serve

--scope user makes glin available in all your projects. To add glin to the current project only, remove --scope user.

  1. Start Claude Code.
  2. Run /mcp. Make sure that the list shows the glin server as connected.
Claude Desktop
  1. Open Claude Desktop.
  2. Open Settings > Developer and click Edit Config. This opens the file claude_desktop_config.json:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Add the glin entry to mcpServers. If the file has other servers, keep them:
   {

"mcpServers": { "glin": { "command": "uvx", "args": ["--from", "glin-ml[excel]>=0.1.5", "glin", "serve"] } } }

  1. Save the file.
  2. Quit Claude Desktop fully, then start it again. On macOS, closing the window is not sufficient.
  3. Make sure that the glin tools show in the tools menu of a new chat.

If Claude Desktop cannot find uvx (for example spawn uvx ENOENT), use the full path. Run which uvx (macOS and Linux) or where uvx (Windows), and put the result in "command".

Cursor and other MCP clients
  1. Open the MCP config file of your client:
  • Cursor: ~/.cursor/mcp.json for all projects, or .cursor/mcp.json in one project.
  • Other clients: see the documentation of the client.
  1. Add the same glin entry as for Claude Desktop:
   {

"mcpServers": { "glin": { "command": "uvx", "args": ["--from", "glin-ml[excel]>=0.1.5", "glin", "serve"] } } }

  1. Save the file and restart the client.
  2. Make sure that the client shows glin as an enabled MCP server.

If the client cannot find uvx, use the full path to uvx in "command", as for Claude Desktop.

A client with a registry search

glin is in the official MCP Registry as io.github.AkashChatterjee/glin. The registry is a catalog of metadata. It is not an installer. MCP marketplaces and some clients read it and show glin in their server lists. For example, VS Code installs servers from the GitHub MCP Registry.

  1. In your client, search the server list for glin.
  2. Install the entry io.github.AkashChatterjee/glin.
  3. Make sure that the client shows glin as an enabled MCP server.

The registry entry starts uvx glin-ml serve, without the excel extra. The registry format has no field for extras. To read Excel files, use the steps in Cursor and other MCP clients instead. If your client has no registry search, use those steps too.

Install options
  • CSV only: If you do not use Excel files, you can remove [excel] from the arguments.
  • Server flags: Put flags such as --allow-dir after serve in the arguments. See Server flags.
  • Update glin: Run uvx --refresh --from 'glin-ml[excel]>=0.1.5' glin --version. Then restart your client.
  • An installed copy: To use a copy from uv tool install 'glin-ml[excel]' or pipx install 'glin-ml[excel]', set "command" to glin and "args" to ["serve"]. You must update this copy yourself, for example with uv tool upgrade glin-ml.

Use glin from your agent

When glin is installed, talk to the agent in plain language. The agent selects the glin tools. You do not need to know the tool names. This section shows what you can ask and what you get. For the exact tool arguments, see MCP tools.

Train a model

Give the agent a data file and the column to predict:

"Train a classifier on ~/data/churn.csv that predicts churn. Call it churn_v1."

The agent calls train_model. glin checks the data, prepares the columns and trains the model. Then glin returns:

  • the features that it kept and the features that it dropped, each with a reason;
  • warnings, for example a column that possibly leaks the target;
  • test results on a holdout: 20% of the rows that the model did not train on.

The test results are log_loss, baseline_log_loss (a guess from the class shares only), train_log_loss, accuracy, balanced_accuracy and roc_auc. A useful model has a log_loss that is clearly lower than baseline_log_loss.

For a careful build, ask the agent to use the build_classifier prompt. The prompt tells the agent to clean the data, remove leakage, tune the model and report the honest performance. See MCP prompts.

If a model with the same name exists, training fails. To replace a model, for example with new data, ask the agent to retrain it with overwrite=True.

Get predictions

Ask about one case or many cases. Give the values that you know:

"I've got 3 deals to prioritize before quarter close: Northwind Systems ($42k, Opportunity stage, came from a referral, VP contact, owned by Carla Nguyen, 8 touches logged), Summit Retail Group ($8k, still a Lead, paid social source, owned by Brian Kessler), and Anchor Nonprofit ($3k, still a Lead, owned by Frank Suarez, no activity logged yet). Run them through deal_predictor_v1 and tell me which to prioritize."

The agent calls predict once for each deal. It gives a ranked answer with the reasons:

DealWin probabilityWhy
Northwind Systems69%The Opportunity stage, the referral and the VP contact all favor it. The $42k deal size is the one drag.
Summit Retail Group35%It is still a Lead, and it came from paid social. Both are large drags with nothing against them.
Anchor Nonprofit34%No activity is logged and it is still a Lead. Nothing in the record favors it.

Each prediction has an audit. The audit gives the score of each feature, and the scores add up exactly to the probability. glin checks this sum in each prediction (additivity_verified).

Some important points:

  • A value that you do not give is missing for the model. It is not an average value.
  • Use the categories that are in the training data, for example Lead, Opportunity and Customer. Othe

ตัดมาแค่ช่วงต้น อ่านต่อใน repo