
Arbitype
io.github.Renwang-Huang由 GitHub 帳號 Renwang-Huang 發布v0.7.0更新於 Oct 24, 2026
Typed decision tools for AI agents, powered by TypeSafe Jev.
概覽
Arbitype 是一個本機 MCP 伺服器,為助理提供型別化決策工具——分類、評分、核查、驗證、閘控、路由與審查,由 TypeSafe Jev 驅動。
- 可以做什麼
- 分類、評分與判定:從無序標籤中選一個、給出有序評級,或為單一有界條件給出機率,並附分布。驗證與審查:獨立核查多條具名主張,或對整體品質與風險給出帶證據的評估。閘控與路由:把檢查項目和門檻轉換為通過、複核或失敗,或給出一個建議的下一步動作而不執行它。評估與健康檢查:執行自訂的型別化問題集,或檢視本機設定並可選擇檢查服務商狀態。
- 適用情境
- 當代理需要有限、結構化的判斷而非自由文字時使用,例如把支援請求路由到一個下一步動作、核查拉取請求中的主張,或依門檻閘控一次發布。適合希望為決策附上機率的工作流程。
- 執行需求
- 以本機 stdio 程序執行,透過 uvx 啟動或從 PyPI 安裝,需要 Python 工具鏈。需要環境變數 TYPESAFE_API_KEY,可選 TYPESAFE_MODEL 選擇模型。它透過 HTTPS 呼叫 TypeSafe Jev 服務商,因此需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Arbitype,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Arbitype
Typed decision tools for AI agents.
Classify · Score · Verify · Gate · Route · Review
MCP-native · Powered by TypeSafe Jev
[CI] [Latest release] [Arbitype on PyPI] [MIT license] [Python 3.10 or newer] [MCP 2026-07-28] [Arbitype listed in the MCP Registry]
Quick start · Why Arbitype? · Tools · Benchmarks · Documentation
What is Arbitype?
Arbitype is an MCP-native typed decision layer for AI agents, powered by TypeSafe Jev. It turns probabilistic judgments into structured decision primitives that an agent or program can consume directly.
Arbitype is available on PyPI and the official MCP Registry.
[!NOTE] Arbitype is an independent open-source project. It is not an official TypeSafe AI product or an official integration for any particular agent host.
Quick Start
The fastest way to connect an MCP host is a local STDIO server launched by uvx:
For a pinned, reproducible launch:
Or install the package into the current environment:
The API key stays in the process environment. It is not an MCP argument and is never printed to standard output.
Host setup
Inspect detected hosts before writing anything:
Then apply a reviewed plan:
The setup flow is plan → unified diff → confirmation → backup → apply. Use claude, cursor, or vscode in place of codex. Detailed host formats, secret forwarding, --yes, --remove, ownership, and non-interactive behavior are documented in docs/HOST_SETUP.md.
Configuration
At minimum, set TYPESAFE_API_KEY. To select a model explicitly:
See the full configuration reference for endpoints, timeouts, retries, and request/response limits.
Compatibility
arbitype is the canonical distribution, Python package, and CLI. Existing TypeSafe MCP users should migrate to Arbitype; see docs/REGISTRY_MIGRATION.md.
For the safe migration from the historical distribution:
Why Arbitype?
Arbitype is designed around contracts and bounded decisions rather than free-form prose:
The decision flow is:
Real Use Cases
Start with one of the small, runnable fixtures:
The example outputs are illustrative fixtures. They are not live model results, accuracy claims, or authorization decisions.
Tools
Arbitype advertises nine read-only, idempotent MCP tools:
Tool Selection Guide
Tool descriptions also state USE WHEN and DO NOT USE WHEN boundaries so hosts can select a primitive without hidden prompt conventions.
Probabilities and confidence are model signals, not proof. gate and review are advisory decision transformations, not authorization systems, security boundaries, or approval engines.
Architecture
The public product is Arbitype; TypeSafe Jev is the current provider. Provider configuration intentionally keeps the TYPESAFE_* names because the credential and endpoint belong to TypeSafe.
Benchmark Snapshot
Recorded on the public 120-case Jev-mediated tool-selection evaluation:
This is a Jev-mediated evaluation over Arbitype's advertised MCP tool catalog. It is not a Codex, Claude, or Cursor host benchmark and is not a general model-performance guarantee.
Details and reproducible assets:
Security Boundaries
Arbitype is a local MCP adapter and typed decision layer. It is not:
- a sandbox for untrusted code;
- an authorization or identity system;
- a prompt-injection firewall;
- a security approval boundary; or
- an official TypeSafe AI product.
It does not execute actions suggested by route, edit files, run shell commands, or treat model probabilities as proof. Read SECURITY.md before using live credentials.
Documentation
- Host setup
- Configuration reference
- MCP Registry migration
- Supply-chain posture
- Observability proposal
- Testing
- Benchmarks
- Contributing
- Security
- Official MCP Registry entry
- Glama listing (indexing and metadata refresh may lag publication)
Development
The test suite uses local fakes and does not need an API key:
The official MCP Python SDK interoperability smoke test is in scripts/official_sdk_smoke.py. A live Jev check is opt-in and paid:
Normal CI does not call the provider or run paid benchmarks.
來源:README.md,提交 e0c3bc3
工具
0版本歷史
2- v0.7.0最新Sep 22, 2026
- v0.6.0Sep 22, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分