Integrations · Python

FurlPay + LangChain

pip install furlpay-langchain, then call get_furlpay_tools() and pass the result to your agent. Includes pay_for_resource, which lets the agent buy 402-gated APIs within a USDC budget you set.

Install

pip install furlpay-langchain

Quickstart

from furlpay_langchain import get_furlpay_tools
from langchain.agents import create_tool_calling_agent

tools = get_furlpay_tools()  # demo mode; pass api_key=... for live
agent = create_tool_calling_agent(llm, tools, prompt)

What your agent gets

  • get_balance
  • send_stablecoin
  • swap_tokens
  • place_order
  • pay_for_resource
  • set_agent_budget

FAQ

What is pay_for_resource?

It lets the agent autonomously pay for an HTTP 402 (x402) gated API in USDC, within a budget you configure with set_agent_budget. The agent never holds a master key.

Does it support LCEL and LangGraph?

Yes — the tools are standard LangChain BaseTool instances and work anywhere LangChain tools do, including LangGraph nodes.

All FurlPay integration packages are MIT-licensed and run in demo mode without an API key. Framework names are trademarks of their respective owners; FurlPay is not affiliated with or endorsed by them.