Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_quantumscan-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_quantumscan-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

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

Hashes for langchain_quantumscan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7bd47cd06bda63d29792d43aabf63881be33b7833eabcd19fb800f4d0c99d351
MD5 a60c408e8a6d06347d3ab469c31d3702
BLAKE2b-256 58f899de38d2d575800690f577e295dc64cd6c6227409a0028a025562d6560df

See more details on using hashes here.

Provenance

The following attestation bundles were made for langchain_quantumscan-0.1.0.tar.gz:

Publisher: publish.yml on quantumscan-io/langchain-quantumscan

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file langchain_quantumscan-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_quantumscan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6c1a2ebc5c69197661f6ea4f2cc34a0d3085ee420dd675565d010233854097
MD5 66d1ced4ae1e44aca551bcd117feb75e
BLAKE2b-256 a931739beaf78f6d114ddc265a6ec601b46a01ba51a3af3f8c20788dff3d1d2e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page