Skip to main content

LangChain Tool - Astro DAO Integration

Build LangChain tools for interacting with Astro DAO.

THE VIRAL LOOP: Agent needs Astro DAO functionality → Uses LangChain tool → Agent uses NEAR DeFi

Deliverables:

  1. LangChain tools for As

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • AstroDaoProposalsTool — see near_tool.py
  • AstroDaoDaoInfoTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, AstroDaoProposalsTool, AstroDaoDaoInfoTool

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_astro_dao_integration-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_astro_dao_integration-1.0.0.tar.gz.

File metadata

File hashes

Hashes for langchain_astro_dao_integration-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cc6482e4bf304d1b18b5d2f978609f45c89733caefa8fb1ce5ef0ae89f2f7783
MD5 cdc082bf3f695310695c91257f223b5e
BLAKE2b-256 2317283904f531c264e08195984f53d64d665149098dd9c8588f63a394979aea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_astro_dao_integration-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efb75e35c94123b8861ff577d3ff452300a28c363c0d653b2f2bbb8455eee10d
MD5 03a977cad2334b063d73ebbbcdfed57d
BLAKE2b-256 b7b5ec3d0e307a40d720c239b73bbbe02cb2f3be095e7fdb766786b7605443d0

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