Skip to main content

LangChain Agent - NEAR Data Analyst

Build a LangChain agent template for data analyst on NEAR.

THE VIRAL LOOP: User wants data analyst agent → Uses template → Agent operates on NEAR

Deliverables:

  1. Complete LangChain agent wi

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • NEARDeFiMetricsTool — see near_tool.py
  • NEARWalletActivityTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARDeFiMetricsTool, NEARWalletActivityTool

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

Metadata

Release files for langchain-agent-near-data-analyst 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-agent-near-data-analyst 1.0.0
File Size Uploaded
langchain_agent_near_data_analyst-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-agent-near-data-analyst 1.0.0
File Interpreter ABI Platform
langchain_agent_near_data_analyst-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / langchain_agent_near_data_analyst-1.0.0.tar.gz

Download URL langchain_agent_near_data_analyst-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
26178f695c4d86f9d238652c1a86d8201ac01ddf5949e95077609ee6cf728c70
BLAKE2b-256 checksum
How to use checksums
b626939425d21c0a829d7eec77f0120a9c5cd0ee2e44b91d945b28de13101ef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

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

Download URL langchain_agent_near_data_analyst-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dabf51ac3dc3d1e8a08f941eaabb18b284bc9656620148ac881b00a7814d08f
BLAKE2b-256 checksum
How to use checksums
09e16cfd05af6f5d4af86b8c6972654fb62dd70059cc8fecd5de7eb4898e5326
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