langchain-quantumscan
QuantumScan tools for LangChain, LangGraph, CrewAI, and AutoGen — pre-transaction safety checks (honeypot/drainer detection, contract risk scoring) and post-quantum cryptography vulnerability scanning, ready to drop into an agent's toolset.
No server to run — every tool calls the hosted QuantumScan MCP endpoint
(https://quantumscan.io/api/mcp) directly. Free tier: 10 scans/day per IP, no signup.
Install
pip install langchain-quantumscan
LangChain / LangGraph
from langchain_quantumscan import get_quantumscan_tools
from langgraph.prebuilt import create_react_agent
tools = get_quantumscan_tools()
agent = create_react_agent(llm, tools)
Individual tools: QuantumScanTool (scan a repo), GetScanResultTool (poll for results),
CheckPqcRiskTool (instant algorithm check, no scan), ScanContractTool (verify a contract
is safe before signing a transaction with it).
CrewAI
from crewai import Agent
from langchain_quantumscan import QuantumScanCrewTool
auditor = Agent(
role="Security Auditor",
goal="Verify contracts and repos are safe before the crew interacts with them",
tools=[QuantumScanCrewTool()],
)
AutoGen
from langchain_quantumscan import quantumscan_scan_contract, AUTOGEN_TOOLS
Why this exists
Autonomous agents that sign transactions or install dependencies are the highest-value target
for honeypots, drainers, and rug pulls — and by construction they can't "notice" a scam the way
a human would. ScanContractTool / quantumscan_scan_contract gives an agent a way to check
before signing, not just discover the loss after.
Optional: higher rate limits
export QUANTUMSCAN_API_KEY=qs_... # get one free at quantumscan.io
License
MIT
Release files for langchain-quantumscan 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 | |
|---|---|---|---|
| langchain_quantumscan-0.1.0.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_quantumscan-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / langchain_quantumscan-0.1.0.tar.gz
| Download URL | langchain_quantumscan-0.1.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bd47cd06bda63d29792d43aabf63881be33b7833eabcd19fb800f4d0c99d351
|
|
BLAKE2b-256 checksum How to use checksums |
58f899de38d2d575800690f577e295dc64cd6c6227409a0028a025562d6560df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 2, 2026.
Transparency logRelease files / langchain_quantumscan-0.1.0-py3-none-any.whl
| Download URL | langchain_quantumscan-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a6c1a2ebc5c69197661f6ea4f2cc34a0d3085ee420dd675565d010233854097
|
|
BLAKE2b-256 checksum How to use checksums |
a931739beaf78f6d114ddc265a6ec601b46a01ba51a3af3f8c20788dff3d1d2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 2, 2026.
Transparency log