ncrypted (Python)
One-time, end-to-end encrypted secrets for AI agents. Encrypt a password, API key or note locally and get a link that opens exactly once. The first 3 secrets per day are free; after that each costs 0.005 USDC on Base, paid via x402. Reading is always free.
pip install ncrypted # free tier, reading
pip install "ncrypted[pay]" # pay beyond the free tier (x402 on Base)
pip install "ncrypted[langchain]" # LangChain tools
import asyncio
from ncrypted import Ncrypted
async def main():
nc = Ncrypted()
s = await nc.create("hunter2", ttl=3600)
print(s.link) # share this; it opens once
print(await nc.read(s.link)) # "hunter2", and now it's gone
asyncio.run(main())
Blocking code can use NcryptedSync with the same methods.
LangChain
from ncrypted.langchain import ncrypted_tools
tools = ncrypted_tools() # ncrypted_create, ncrypted_read, ncrypted_status, ncrypted_burn
Paying for more than the free tier
Install ncrypted[pay] and provide a dedicated Base wallet holding a little USDC (no ETH needed): NCRYPTED_WALLET_PRIVATE_KEY, or the key file at ~/.config/ncrypted/wallet.key (create it with npx ncrypted wallet new). Payments are capped at 0.01 USDC per secret.
The wire format is byte-compatible with the TypeScript SDK (npm install ncrypted); both decrypt each other's links. Docs: https://ncrypted.ai/guides · Source: https://github.com/Seidl-Family/ncrypted
Metadata
Release files for ncrypted 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ncrypted-0.1.0.tar.gz | 9.0 kB | With provenance | Details for ncrypted-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ncrypted-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ncrypted-0.1.0-py3-none-any.whl |
Total release size: 18.6 kB
Release files / ncrypted-0.1.0.tar.gz
| Download URL | ncrypted-0.1.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78b1a05ec67a68768d9e114e2c6e335f91f9e5913e1fa24576012163f01cbf57
|
|
BLAKE2b-256 checksum How to use checksums |
7017fe5da11262c38a775a0a46fcbd996f7f2ac88a6b9c9792a47e1bb7f41a8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / ncrypted-0.1.0-py3-none-any.whl
| Download URL | ncrypted-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51f4b67e8c31b3abef7d02b55b01f2ab6ffaa1e2f9bb4b55cbdebc3085471f2c
|
|
BLAKE2b-256 checksum How to use checksums |
fd6d61a439bdfc5ac779000c183c596b31766df87505d8400cdc55f95a71d924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logSecurity for ncrypted 0.1.0
Provenance
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ncrypted-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logA 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.