langchain-citemesh
Official LangChain & CrewAI integration package for CiteMesh and the x402 Attention Economy.
Developed by Script Master Labs LLC (SDVOSB | SAM.gov UEI: G24VZA4RLMK3 | CAGE: 21U51).
Capabilities
- Semantic Source Matching: Find authoritative, high-CiteScore sources for any research topic.
- Automated x402 Settlement: Compensate content creators per citation on Base USDC with a 10% protocol fee.
- Anti-Hallucination Claim Anchoring: Attach cryptographic Ed25519-signed provenance hashes to factual statements.
Quickstart
from langchain_citemesh import CiteMeshTool
mesh = CiteMeshTool(agent_wallet="0x4e14B249D9A4c9c9352D780eCEB508A8eB7a7700")
# 1. Match sources
matches = mesh.match_sources("Latest SEC Form 4 insider transactions")
print("Top source:", matches["sources"][0]["url"])
# 2. Attest and pay
receipt = mesh.attest_and_pay(source_url=matches["sources"][0]["url"])
print("Receipt ID:", receipt["attestation_id"])
# 3. Anchor a claim
anchor = mesh.anchor_claim(
statement="HESM is on Reg SHO threshold list with 482k FTDs",
source_url="https://mcp-x402.onrender.com/x402/ftd-threshold-list"
)
print("Anchor Hash:", anchor["cryptographic_anchor"]["hash"])
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_citemesh-1.0.4.tar.gz.
File metadata
- Download URL: langchain_citemesh-1.0.4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc302b093e0c3be0eab4b50d1493926ed39f349b34502f8aeb2812854d928f9a
|
|
| MD5 |
c1421ecfe7bf8ba060053a06dabdba7a
|
|
| BLAKE2b-256 |
19f4f04b1f903048b98230781a55f8e6ad4a45ef0b26e22afe23686090974ab0
|
File details
Details for the file langchain_citemesh-1.0.4-py3-none-any.whl.
File metadata
- Download URL: langchain_citemesh-1.0.4-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5299ebbe150531419709e89b1ec93413053e857571502f0baa52b724c6e703c
|
|
| MD5 |
db0adfbaed639dbabef464bbf68e29ab
|
|
| BLAKE2b-256 |
6a10a40d5993d423c495b34011e095018ce58e318a466a59a23a190738ded396
|