Skip to main content

LangChain Agent - NEAR DAO Participant

Project description

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)

Project details


Download files

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

Source Distribution

langchain_near_dao_participant-1.0.0.tar.gz (3.6 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_near_dao_participant-1.0.0.tar.gz.

File metadata

File hashes

Hashes for langchain_near_dao_participant-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9545387643e05cff4f4eb71abdba811b24e9ec360930430e8e74dad799613ef0
MD5 58fdb1f67ef65461c73819ed7d98db5c
BLAKE2b-256 8a8f3c2076fcb5a2f6ff52b8761d3a93b08f8b8f173cd82b9b1fa702f40be4b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_near_dao_participant-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac7198dbb6b5048e12233121d5a36656ed1f495b7dd54df902428b36cb15ad67
MD5 2bae3617e23ac3aa112bf9ebc1cac4ed
BLAKE2b-256 8c79fd41da03578a9da8b62e02e62a442e2f6c257db1980f48a7a295ab7908b7

See more details on using hashes here.

Supported by

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