Skip to main content

langchain-ldn 🔗

LangChain tools for Life Diverse Network's 47 AI-powered media services.

Use LDN's content, events, SEO, and IP services directly from your LangChain agents via the x402 payment protocol on Base Mainnet (USDC).

Installation

pip install langchain-ldn

Quick Start

from langchain_ldn import get_all_ldn_tools
from langchain.agents import initialize_agent, AgentType
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(model="gpt-4")
tools = get_all_ldn_tools()

agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True)
agent.run("Publish a sponsored article about summer events in DC for BrandXYZ")

Available Tools

Tool Price Description
LDNSponsoredArticleTool $750 Sponsored article on DC Life Magazine™
LDNEventTool $75 Event listing on DC Life calendar
LDNSEOArticleTool $50 SEO-optimized article (800-1200 words)
LDNDiversityPixelTool $2,500 Diversity Pixel™ brand audit (exclusive)
LDNGTINBarcodeTool $75 Real GS1 retail barcode

Payment

All services use the x402 protocol. When an agent calls a tool, it receives an HTTP 402 response with USDC payment instructions on Base Mainnet.

Wallet: 0x08E7C1790De3E1fEE01DB06F35A278fe81eba89B

About

Built by Mestizo Media Group / Life Diverse Network — the DMV's premier multicultural media company operating 13 city magazines.

Metadata

Release files for langchain-ldn 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-ldn 0.1.0
File Size Uploaded
langchain_ldn-0.1.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-ldn 0.1.0
File Interpreter ABI Platform
langchain_ldn-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / langchain_ldn-0.1.0.tar.gz

Download URL langchain_ldn-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
044cf7473d866785125a92638faf07f953adfb6ba12106be4443a114c0d6c44d
BLAKE2b-256 checksum
How to use checksums
2054e824f167df852f3a1e0a2cf58f02443d821bb99328e1dbc75b9fba148ae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / langchain_ldn-0.1.0-py3-none-any.whl

Download URL langchain_ldn-0.1.0-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58e01120a66fa1708d28bcb72ec5607f77cfdc2c797b976082478db99c4c0268
BLAKE2b-256 checksum
How to use checksums
37312680dfbdcb4768d66e7aa09d9286c5ca918d2d3f80b727405655be54e38d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page