QuantumScan tools for LangChain, LangGraph, CrewAI, and AutoGen — pre-transaction safety checks and post-quantum cryptography scanning for autonomous agents.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_quantumscan-0.1.0.tar.gz.
File metadata
- Download URL: langchain_quantumscan-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bd47cd06bda63d29792d43aabf63881be33b7833eabcd19fb800f4d0c99d351
|
|
| MD5 |
a60c408e8a6d06347d3ab469c31d3702
|
|
| BLAKE2b-256 |
58f899de38d2d575800690f577e295dc64cd6c6227409a0028a025562d6560df
|
Provenance
The following attestation bundles were made for langchain_quantumscan-0.1.0.tar.gz:
Publisher:
publish.yml on quantumscan-io/langchain-quantumscan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_quantumscan-0.1.0.tar.gz -
Subject digest:
7bd47cd06bda63d29792d43aabf63881be33b7833eabcd19fb800f4d0c99d351 - Sigstore transparency entry: 2044284563
- Sigstore integration time:
-
Permalink:
quantumscan-io/langchain-quantumscan@aff13036a1cc9a07f73f8ffac40ea21d90b4edba -
Branch / Tag:
refs/heads/main - Owner: https://github.com/quantumscan-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aff13036a1cc9a07f73f8ffac40ea21d90b4edba -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file langchain_quantumscan-0.1.0-py3-none-any.whl.
File metadata
- Download URL: langchain_quantumscan-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a6c1a2ebc5c69197661f6ea4f2cc34a0d3085ee420dd675565d010233854097
|
|
| MD5 |
66d1ced4ae1e44aca551bcd117feb75e
|
|
| BLAKE2b-256 |
a931739beaf78f6d114ddc265a6ec601b46a01ba51a3af3f8c20788dff3d1d2e
|
Provenance
The following attestation bundles were made for langchain_quantumscan-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on quantumscan-io/langchain-quantumscan
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_quantumscan-0.1.0-py3-none-any.whl -
Subject digest:
9a6c1a2ebc5c69197661f6ea4f2cc34a0d3085ee420dd675565d010233854097 - Sigstore transparency entry: 2044284627
- Sigstore integration time:
-
Permalink:
quantumscan-io/langchain-quantumscan@aff13036a1cc9a07f73f8ffac40ea21d90b4edba -
Branch / Tag:
refs/heads/main - Owner: https://github.com/quantumscan-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aff13036a1cc9a07f73f8ffac40ea21d90b4edba -
Trigger Event:
workflow_dispatch
-
Statement type: