Skip to main content

LangChain Tool - Orderly Integration

Build LangChain tools for interacting with Orderly.

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

Deliverables:

  1. LangChain tools for Orderl

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • OrderlyAuthTool — see near_tool.py
  • OrderlyTradingTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, OrderlyAuthTool, OrderlyTradingTool

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_orderly_integration-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

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_orderly_integration-1.0.0.tar.gz.

File metadata

File hashes

Hashes for langchain_orderly_integration-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4f86dcc5b12261302bb019d9f76a09c6c71f89099dbd8de732b4372d57930654
MD5 e73b87b172da3b3916284efdd7a22aca
BLAKE2b-256 d30e3315db5fa78b7ca11d29f50bcc92fad71264b871471e4f0dfc818db3b088

See more details on using hashes here.

File details

Details for the file langchain_orderly_integration-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_orderly_integration-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3355c1524ecbcc99bb6fa4ec0209027b98415728332609f22baeedc54b740ac
MD5 54a6868abef0b3cf512db1bd3d1b1adf
BLAKE2b-256 ff5387e23c1509360c3ac1f72b93fccf12283154ccb0de9af7a1915cc30c7683

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page