Skip to main content Switch to mobile version pos-connect 0.1.4 Client plugin that puts an AI agent tool behind a Proof-of-Silence gate (fail-closed).
pip install pos-connect==0.1.4 Copy PIP instructions
Jerzy Skiba · neonai.shop · Proof-of-Silence™
PoS Connect is a client plugin that puts an AI agent tool behind a Proof-of-Silence gate. One core, thin adapters:
The plugin talks to your gate only over HTTP (CONTRACT.md). The engine is not in this repository. This plugin alone is not a Proof-of-Silence gate, signs nothing, and does not by itself authorise any action. To get a signed decision record you need a paid Proof-of-Silence gate from neonai.shop. Wrapped tools fail closed if no gate is reachable. testgate.py is a local test stub only — it is not Proof-of-Silence and must not be used as a production gate.
This software was adversarially tested by the author and QA-tested by other AI models; no independent professional security audit yet.
Licence of this plugin: Apache License 2.0 (see LICENSE and NOTICE). The Proof-of-Silence engine and gate are not included and are not Apache-2.0.
from pos_connect import GateClient, evidence_hash, pos_guard client = GateClient("https://gate.example.com", agent="sales-agent") # token: env POS_GATE_TOKEN @pos_guard(client, "send_email", evidence=lambda p: [evidence_hash(ticket_text)]) def send_email(to: str, body: str): ... Only ACT_NOW runs the tool. WAIT, SILENCE, REJECT, timeouts, errors and any malformed or mismatched gate answer block it (fail-closed). Adapters return a short "BLOCKED" message to the model instead of running the tool.
MCP (e.g. Claude Desktop config):
{ "command": "pos-mcp-proxy", "args": ["--gate", "https://gate.example.com", "--agent", "desktop", "--", "npx", "your-mcp-server"] } Evidence: the real gate needs at least one piece of evidence per action (by hash; the content stays with you). No evidence → WAIT EVIDENCE_MISSING. A grant authorises exactly the parameters it names.
Secret-looking keys (token, password, api_key, …) redacted at every depth before sending.
request_id and recomputed params_hash must match; an allow without record_hash is rejected.
HTTPS required (plain HTTP only for localhost).
MCP proxy: duplicate JSON keys, obfuscated method names, tool calls in batches and tools/call notifications are never forwarded.
The client does not verify signatures; verify gate records with the PoS offline verifier.
Secrets inside free-text values (e.g. an email body) are not detected.
testgate.py is a test stub only. It is not Proof-of-Silence and signs nothing.
MCP proxy sends no evidence yet, so with a real 1.1.2 gate tool calls end in WAIT.
Your gate must speak pos-connect/1; if your current /v1/gate differs, add a thin adapter in front of the gate (that adapter is not part of this repository).
Using this plugin does not by itself make any system meet any law.
Short scripts in examples/:
01_pos_guard.py — @pos_guard decorator
02_gate_client.py — GateClient and fail-closed handling
03_langchain.py — LangChain adapter (pip install "pos-connect[langchain]")
04_crewai.py — CrewAI adapter (pip install "pos-connect[crewai]")
05_openai_agents.py — OpenAI Agents SDK adapter (pip install "pos-connect[openai-agents]")
06_mcp_proxy.py — MCP proxy (pos-mcp-proxy)
07_testgate_local.py — local demo with the test stub (NOT a Proof-of-Silence gate)
For a signed decision record you need a paid Proof-of-Silence gate from neonai.shop. The first six examples use POS_GATE_URL. 07_testgate_local.py runs on 127.0.0.1 without a real gate, and is a stub only.
Tests: pip install -e ".[dev]" && pytest runs the core and MCP tests with the standard library plus pytest. Adapter tests need the optional extras langchain, crewai and openai-agents; without them those tests are skipped.
Released: Nov 30, 2026
Apache-2.0 View SPDX License List
langchain crewai openai-agents dev
Release files for pos-connect 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 47.2 kB
Release files / pos_connect-0.1.4.tar.gz
Release files / pos_connect-0.1.4-py3-none-any.whl
Security for pos-connect 0.1.4
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 30, 2026 2 release files No provenance
Nov 29, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from a8e35ed











