Skip to main content

LangChain Agent - NEAR DAO Participant

Build a LangChain agent template for dao participant on NEAR.

THE VIRAL LOOP: User wants dao participant agent → Uses template → Agent operates on NEAR

Deliverables:

  1. Complete LangChain ag

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • DAOProposalTool — see near_tool.py
  • DAOMemberTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, DAOProposalTool, DAOMemberTool

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

Metadata

Release files for langchain-near-dao-participant 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-near-dao-participant 1.0.0
File Size Uploaded
langchain_near_dao_participant-1.0.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-near-dao-participant 1.0.0
File Interpreter ABI Platform
langchain_near_dao_participant-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / langchain_near_dao_participant-1.0.0.tar.gz

Download URL langchain_near_dao_participant-1.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9545387643e05cff4f4eb71abdba811b24e9ec360930430e8e74dad799613ef0
BLAKE2b-256 checksum
How to use checksums
8a8f3c2076fcb5a2f6ff52b8761d3a93b08f8b8f173cd82b9b1fa702f40be4b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

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

Download URL langchain_near_dao_participant-1.0.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac7198dbb6b5048e12233121d5a36656ed1f495b7dd54df902428b36cb15ad67
BLAKE2b-256 checksum
How to use checksums
8c79fd41da03578a9da8b62e02e62a442e2f6c257db1980f48a7a295ab7908b7
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