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)

Metadata

Release files for langchain-orderly-integration 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-orderly-integration 1.0.0
File Size Uploaded
langchain_orderly_integration-1.0.0.tar.gz 4.0 kB Details

Built distribution (wheel)

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

Total release size: 8.4 kB

Release files / langchain_orderly_integration-1.0.0.tar.gz

Download URL langchain_orderly_integration-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4f86dcc5b12261302bb019d9f76a09c6c71f89099dbd8de732b4372d57930654
BLAKE2b-256 checksum
How to use checksums
d30e3315db5fa78b7ca11d29f50bcc92fad71264b871471e4f0dfc818db3b088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

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

Download URL langchain_orderly_integration-1.0.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3355c1524ecbcc99bb6fa4ec0209027b98415728332609f22baeedc54b740ac
BLAKE2b-256 checksum
How to use checksums
ff5387e23c1509360c3ac1f72b93fccf12283154ccb0de9af7a1915cc30c7683
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

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