Quesen Deterministic Agent Decision Layer

io.github.Shxnque由 GitHub 账号 Shxnque 发布v1.10.2更新于 Oct 24, 2026

Deterministic decision layer for autonomous agents: reproducible PROCEED/REVIEW/SKIP verdicts.

发布方自己的服务:Deterministic

已验证Streamable HTTP可网页运行安全与监控AI 与机器学习

概览

AI 生成的概览

远程 MCP 端点,让助手在执行动作前获得确定性的 PROCEED/REVIEW/SKIP 风险裁决,并附原因码与可复算回执。

可以做什么
  • 查询服务健康状态与引擎版本信息
  • 校验带类型的动作上下文,返回含风险分、置信度与触发冲突规则的确定性裁决
  • 模拟决策并生成可复算、可验证的报告回执
  • 在每次响应中附带引擎版本、权重与阈值以保证可复现
适用场景
当自主智能体即将执行有后果的动作(动用资金、发行代币、开仓、部署合约)时,用它作为可复现、可审计的放行/复核/跳过闸门,而不是依赖大模型判断。
运行要求
远程 Streamable HTTP 端点,无需本地安装。validate、simulate、report 工具需要 X-API-Key 请求头(health 与 version 不需要);可自助申请免费沙箱密钥。需要能访问该托管服务的网络。
安装前请注意
X-API-Key 是随请求头发送的密钥,请勿写入日志或共享配置。按次计费(ASP/402),使用会产生费用。引擎为闭源托管服务,README 说明生产规则集的 commit 目前无法公开解析、回执尚未由签发方签名,因此裁决宜作为参考输入而非保证。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Quesen Deterministic Agent Decision Layer,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Shxnque%2Fquesen/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "quesen-deterministic-agent-decision-laye": {
      "type": "http",
      "url": "https://web-production-3df26.up.railway.app/mcp"
    }
  }
}

README

Quesen — Developer Portal

[MCP compatible] [MCP Registry] [Smithery] [ASP version] [Engine version] [PyPI] [npm] [Verified receipts] [License] [X] [quesen MCP server]

Quesen is the deterministic decision-and-receipt core for agent actions — a typed security context in, a PASS / REVIEW / BLOCK / SKIP verdict out, with machine reason codes and a receipt you can re-run byte-for-byte and prove. No model inference is in the scoring path, so the same input always yields the same verdict. It is built to sit behind injection detection, on top of agent identity, and to bill per decision (ASP/402).

Unlike log-based governance layers whose audit trail is their word, kept by them, a Quesen receipt is independently verifiable by the caller — recomputable, and (engine signing enabled) Ed25519-signed. See docs/architecture-gap-closers.md and client-side enforcement + receipt verification in quesen-sdk ≥ 0.5.0. Production engine signing is live — verify a real signed receipt yourself in docs/verify-live-receipt.md (no trust in Senueren required).

This repository is the public developer portal. It contains only documentation, integration guides, examples, registry manifests, and reference links. No engine source code lives here. Quesen's engine implementation is sovereign, non-public infrastructure.

Live production

SurfaceURL
REST APIhttps://api.senueren.co.za
MCP (Streamable HTTP)https://api.senueren.co.za/mcp
OpenAPI 3.1https://api.senueren.co.za/openapi.json
Swagger UIhttps://api.senueren.co.za/docs
Healthhttps://api.senueren.co.za/health
Versionhttps://api.senueren.co.za/version

Quick start (30 seconds)

Fastest path — no install, no signup, no card. Self-serve a free sandbox key and run a real deterministic decision against production. Full guide: docs/QUICKSTART.md · try it in the browser at senueren.co.za/try.

bash
# 1 · get a free sandbox keycurl -X POST https://api.senueren.co.za/sandbox/keys
# 2 · evaluate an action (use the api_key from step 1)curl -X POST https://api.senueren.co.za/validate \  -H "X-API-Key: sk_sandbox_..." \  -H "Content-Type: application/json" \  -d '{"domain_age_days": 1, "engagement_ratio": 0.95, "scam_keyword_count": 4}'# -> {"decision":"SKIP","risk_score":1.0,"conflict_triggers":[...],"input_snapshot_hash":"..."}

SDKs

Published. The SDKs are live on PyPI and npm (quesen-sdk 0.5.0 / npm 0.5.0; quesen-langchain, quesen-crewai, quesen-autogen 0.3.0). The base_url + X-API-Key (including the sandbox key above) are identical across all SDKs.

Python

bash
pip install quesen-sdk   # PyPI: https://pypi.org/project/quesen-sdk/
python
from quesen_sdk import QuesenClient
q = QuesenClient(base_url="https://api.senueren.co.za",                 api_key="YOUR_KEY")   # a sandbox key from /sandbox/keys works here
verdict = q.validate(domain_age_days=1, engagement_ratio=0.95, scam_keyword_count=4)if verdict.decision == "SKIP":    return  # respect the deterministic answer

JavaScript / TypeScript

bash
npm i quesen-sdk   # npm: https://www.npmjs.com/package/quesen-sdk
ts
import { QuesenClient } from "quesen-sdk";
const q = new QuesenClient({  baseUrl: "https://api.senueren.co.za",  apiKey: process.env.QUESEN_API_KEY,});
const verdict = await q.validate({  domain_age_days: 1,  engagement_ratio: 0.95,  scam_keyword_count: 4,});

Framework wrappers

FrameworkPackageRepository
LangChain / LangGraphquesen-langchainShxnque/quesen-langchain
CrewAIquesen-crewaiShxnque/quesen-crewai
AutoGen v0.4+quesen-autogenShxnque/quesen-autogen
Python (core)quesen-sdkShxnque/quesen-sdk-py
JavaScript / TypeScriptquesen-sdk (npm)Shxnque/quesen-sdk-js

MCP (Claude Desktop, Cursor, Windsurf, etc.)

Quesen exposes five MCP tools over the production endpoint. See docs/mcp.md for the client-config snippet.


Why Quesen?

Autonomous agents make more decisions per second than any human oversight can audit. When those decisions involve capital — launching a token, opening a position, executing a trade, greenlighting a smart-contract deployment — the marginal cost of a bad decision is fatal.

Quesen answers exactly one question:

Should the calling agent proceed with this action?

Inputs are typed. Outputs are one of PROCEED, REVIEW, SKIP, always with a risk_score in [0.0, 1.0], a confidence in [0.0, 1.0], and the exact conflict rules that fired. Same inputs → same output. Every time. Every response embeds engine_version, weights, and thresholds. Fully reproducible. Fully auditable.

What Quesen is not

  • Not an LLM wrapper. No prompts. No probabilities.
  • Not a chatbot. It is A2A infrastructure.
  • Not a KYC/identity system. It scores risk, not identity.
  • Not chain-locked / framework-locked / LLM-locked. Ecosystem-neutral by design.

Documentation

Independent verification

Published receipts are independently reproducible from this repo alone — no hosted service or private engine required:

bash
python3 verify/verify_receipts.py          # offline, stdlib-onlypython3 verify/verify_receipts.py --live   # also cross-check the live engine

All six UCP #724 vectors show a byte-for-byte three-way match between the published fixture, the public reference, and the live engine (verify/README.md, verify/three_way_match.json). That doc also states honestly where independent verification stops today (the production ruleset commit_sha is not publicly resolvable; receipts are not yet cryptographically issuer-signed).

The egress/authority decision subset — the part security integrators gate on — is now independently verdict-replayable offline too, with zero network:

bash
python3 evaluation/conformance/verify_conformance.py   # offline; recomputes decision+reasons+hash

Six cases (OWASP-agentic + LoopX prepared-Effect PASS/REVIEW/BLOCK) recompute byte-for-byte from the public reference evaluator, plus a prod-1→prod-2 integrity-flip check — no signup, key, or hosted call (evaluation/conformance/README.md).

Tutorials


Live status

  • Production: https://api.senueren.co.za
  • Health check: GET /health returns {"status":"ok","engine_version":"1.10.0"}
  • Version snapshot: GET /version returns full engine + billing + on-chain flags (ASP/1.0)
  • Uptime and version widget on senueren.co.za/quesen

Registry presence

Quesen is discoverable via Model Context Protocol registries and the standard agent-directory ecosystem. See docs/registries.md for the current state of each submission. Manifests:


Contributing

This is a documentation-only repository. Engine PRs cannot be accepted here. If you have integration-specific feedback, please open an issue or read CONTRIBUTING.md.

SDK contributions belong in the corresponding public SDK repository:

Security issues: please read SECURITY.md before filing publicly.


Community

Follow build updates, agent-governance notes, and Quesen releases on X: @SenuerenGroup · web: senueren.co.za · senueren.co.za/quesen.

If a Quesen integration or a merged contribution helped your project, a follow or a note at @SenuerenGroup is always appreciated.


License

MIT. See LICENSE.

来源:README.md,提交 da7caf9

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.10.2最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Deterministic 集成