Skip to main content

LangChain Tool - Tonic Integration

Project description

LangChain Tool - Tonic Integration

Build LangChain tools for interacting with Tonic.

THE VIRAL LOOP: Agent needs Tonic functionality → Uses LangChain tool → Agent uses NEAR DeFi

Deliverables:

  1. LangChain tools for Tonic's ma

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • TonicMarketInfoTool — see near_tool.py
  • TonicUserOrdersTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, TonicMarketInfoTool, TonicUserOrdersTool

tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)

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

Built Distribution

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

File details

Details for the file langchain_marketplace_earner_suite-1.0.74298.tar.gz.

File metadata

File hashes

Hashes for langchain_marketplace_earner_suite-1.0.74298.tar.gz
Algorithm Hash digest
SHA256 07f26d37a27066cd521180fc6026643a874d969c1617ab57e03101e37921e313
MD5 72abcf8403b1dd28a25baa103e49d02d
BLAKE2b-256 68f67fdf1676fbe4f82c8b7538b0159970e33ffba6b107a077bf6a3c0e8fe859

See more details on using hashes here.

File details

Details for the file langchain_marketplace_earner_suite-1.0.74298-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_marketplace_earner_suite-1.0.74298-py3-none-any.whl
Algorithm Hash digest
SHA256 c9f8a756c9ba0c44e5ba31aaae6a7df3b0cd042768803dcf9bf5600e0fc707d7
MD5 315cb068569d7641263c8d8e8e281dbd
BLAKE2b-256 63c814fa51ea9df68749141c61a864289a156f99a2ccf5c7822b66704cc9897a

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