Skip to content

Add LangChain / LangGraph tool adapter #4

@0xtus

Description

@0xtus

Description

Create a @azeth/langchain adapter that wraps AzethKit methods as LangChain-compatible tools, enabling LangGraph agents to use Azeth for payments, discovery, and reputation.

Why

LangChain/LangGraph is one of the most popular agent frameworks. An adapter would allow their users to add economic capabilities to existing agents with minimal code changes.

Example

from azeth_langchain import AzethToolkit

tools = AzethToolkit(private_key="0x...")
agent = create_react_agent(llm, tools.get_tools())

Scope

  • Wrap pay, discoverServices, submitOpinion, balance as LangChain tools
  • Publish as @azeth/langchain on npm (or Python package on PyPI)
  • Include example notebook

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions