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 整合