Skip to main content

LangChain tools for Life Diverse Network (LDN) AI-powered media services

Project description

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.

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_ldn-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

langchain_ldn-0.1.0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file langchain_ldn-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_ldn-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for langchain_ldn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 044cf7473d866785125a92638faf07f953adfb6ba12106be4443a114c0d6c44d
MD5 4880569c6b39361ae79f6447df18bc92
BLAKE2b-256 2054e824f167df852f3a1e0a2cf58f02443d821bb99328e1dbc75b9fba148ae0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: langchain_ldn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for langchain_ldn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58e01120a66fa1708d28bcb72ec5607f77cfdc2c797b976082478db99c4c0268
MD5 8ee0348474da832c8fd2a097e13acc8a
BLAKE2b-256 37312680dfbdcb4768d66e7aa09d9286c5ca918d2d3f80b727405655be54e38d

See more details on using hashes here.

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