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)

Metadata

Release files for langchain-astro-dao-integration 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-astro-dao-integration 1.0.0
File Size Uploaded
langchain_astro_dao_integration-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

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

Total release size: 7.8 kB

Release files / langchain_astro_dao_integration-1.0.0.tar.gz

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

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

Download URL langchain_astro_dao_integration-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efb75e35c94123b8861ff577d3ff452300a28c363c0d653b2f2bbb8455eee10d
BLAKE2b-256 checksum
How to use checksums
b7b5ec3d0e307a40d720c239b73bbbe02cb2f3be095e7fdb766786b7605443d0
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