Ana Sayfa / Kod ve Scriptler / x401 Gateway Identity and Approval Wallet
x401 Gateway Identity and Approval Wallet
x401 Gateway, aracı kimliği kanıtlarını imzalar ve kişilerin kendi barındırdıkları cüzdan üzerinden eylemleri onaylamasına izin verir.
- Yayın tarihi11 Kasım 2026
- Paket içeriği.py, .md, Dockerfile
- Son güncelleme11 Kasım 2026
- Canlı demoVar

Overview
x401 is an HTTP proof protocol that answers 'who is behind this agent?': a verifier challenges with a PROOF-REQUEST header, the agent answers with a signed PROOF-RESPONSE, the verifier replies PROOF-RESULT. This package implements the real x401 v0.2.0 wire spec as a Python library — and adds the holder side that doesn't exist anywhere else for free: a self-hosted wallet where a person reviews and approves what their agent is about to do before the proof is released.
Agent payment rails (x402) answer 'how does the agent pay?' — nothing answers 'should this agent be allowed to, and did a human actually approve it?' The wallet in this package is that checkpoint: credentials stay in a local store, devices register their own keys, approval requests queue up in a small web UI, and trust is your own local list — no commercial CA network in the middle.
What it does:
- Strict header codec for PROOF-REQUEST / PROOF-RESPONSE / PROOF-RESULT (signed and unsigned forms)
- JWS signing: EdDSA (Ed25519) and ES256, with a mandatory single-use nonce cache
- Self-hosted identity wallet: credential store, per-device key registration, approval queue
- QR and deep-link transport for approval requests, with a return_uri relay
- Local trust lists with DCQL satisfaction checks — you decide who is trusted
- OAuth token-exchange leg included; SSRF-guarded by-reference responses
- A runnable demo: merchant (verifier) + agent CLI + wallet, so the full handshake runs on your machine
- 169 unit tests and 6 end-to-end tests; stdlib + cryptography only — no web frameworks
What's inside the download:
- x401/ — the verifier library (codec, JWS, trust, nonce, OAuth leg)
- wallet/ — the self-hosted wallet service and its approval UI
- demo/ — demo merchant, agent CLI, and orchestrator (Dockerfile included)
- README.md — what it is and how to run it
- INSTALL.md — step-by-step setup
- docs/ — PROTOCOL.md (spec conformance), WALLET.md, SECURITY.md (threat model)
- tests/ — 169 unit tests, end-to-end tests, and a smoke script
- LICENSE — MIT license
How you run it: Start the wallet and the demo merchant (steps 4–5), then run the demo agent. It stops and gives you an approval URL; nothing is proved until you open that URL and approve it yourself. That pause is the product.
Open source, stated plainly: x401 Gateway is my own code, and the same code is free on GitHub under the MIT license. This package is the supported download — the tested release zipped with its docs, examples, and test suite, and email support from me if something in the package is broken. If you'd rather clone the repo, that door is open. I'd rather you knew before you paid.
One honest note: the download contains no keys and no stored credentials. The wallet generates its own device keys on your machine on first run — which is how it should be.
You pay once — there is no subscription and no account to create.
Benzer ürünler

DecisionTune, küçük karar modellerini LoRA ile eğitir, tutulmuş verilerle karşılaştırır ve yerel sunum yapar.
Yayın: Kasım 2026
FastAPI, PostgreSQL, cüzdan ve yönetici paneli ile oyun kontörü ve hediye kartı satışı.
Yayın: Ekim 2026
AES-256-CTR şifrelemesi ile klasör ve dosyaları kilitleyip korumak için yüksek performanslı bir Python masaüstü uygulaması
Yayın: Temmuz 2026
Her parolayı 0-100 arası puanlayın, Zayıf/Orta/Güçlü derecelendirmesi ve düzeltme önerileri alın. Çevrimdışı, harici kütüphane yok.
Yayın: Temmuz 2026
Uzun videolarda viral anları bulan, altyazılar üreten ve paylaşıma hazır klipleri dışa aktaran AI destekli araç.
Yayın: Nisan 2026
Günlük kayıt analizi, dosya düzenleme, port tarama, .env doğrulama ve sahte REST API'ler için Python scriptleri. pip install gerekmez.
Yayın: Mart 2026