
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 分