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)

Download files

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

Source Distribution

langchain_agent_near_data_analyst-1.0.0.tar.gz (3.7 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_agent_near_data_analyst-1.0.0.tar.gz.

File metadata

File hashes

Hashes for langchain_agent_near_data_analyst-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26178f695c4d86f9d238652c1a86d8201ac01ddf5949e95077609ee6cf728c70
MD5 7c1260d223430f6b0030f3bd756a85b2
BLAKE2b-256 b626939425d21c0a829d7eec77f0120a9c5cd0ee2e44b91d945b28de13101ef7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_agent_near_data_analyst-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6dabf51ac3dc3d1e8a08f941eaabb18b284bc9656620148ac881b00a7814d08f
MD5 628776832f50318624fb071a35105e38
BLAKE2b-256 09e16cfd05af6f5d4af86b8c6972654fb62dd70059cc8fecd5de7eb4898e5326

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