Skip to main content

langchain-fodda

Official LangChain custom tool integration for the Fodda Context Layer — verified knowledge graphs, live supplemental market intelligence, and working Human Agents for autonomous AI reasoning models.

Installation

pip install langchain-fodda

Quickstart

from langchain_fodda import FoddaContextRetriever

# Initialize tool (API key optional for unauthenticated discovery / x402 on-chain settlement)
fodda_tool = FoddaContextRetriever(api_key="sk_live_...")

# Query a knowledge graph
result = fodda_tool.run("psfk-retail")
print(result)

Features

  • Autonomous 402 Paywall Handling: Gracefully catches HTTP 402 challenges. If no credentials or wallet are configured, it automatically falls back to Fodda's verified markdown schema summaries (free_readme) so the LLM reasoning loop never crashes.
  • Base USDC Micro-Settlement: Supports on-chain 5¢ Base USDC payments via X-402-Payment.
  • Stripe Shared Payment Tokens (SPT): Supports zero-friction bearer token settlement.

License

MIT

Metadata

Release files for langchain-fodda 1.0.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-fodda 1.0.0
File Size Uploaded
langchain_fodda-1.0.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-fodda 1.0.0
File Interpreter ABI Platform
langchain_fodda-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / langchain_fodda-1.0.0.tar.gz

Download URL langchain_fodda-1.0.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1bf50976a231687787d62df762fae58db292c0df9fdd71f2e788bbd16f6fdfb2
BLAKE2b-256 checksum
How to use checksums
d868a085851f3e99f12a449060a0f2c6f9b8995445435009e4239c698be90cd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release files / langchain_fodda-1.0.0-py3-none-any.whl

Download URL langchain_fodda-1.0.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0151004d367d04e44912a8b7070fa4a53d499eaf08330dd2b85a22333ba7af09
BLAKE2b-256 checksum
How to use checksums
ea6b54ba9771529fbb2152ad5eb86c49ea56a1cd5b188a154096a31fca8e7445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.0.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