Standards Agent Kit: Hedera Agent Toolkit
Welcome to the Standards Agent Kit! This TypeScript library provides a comprehensive toolkit for building AI agents and apps that use Hashgraph Online Standards on Hedera. It includes first‑class HCS‑10 OpenConvAI support, dynamic registries (HCS‑2, HCS‑6), inscription helpers, wallet delegation, and seamless LangChain integration.
What This Kit DoesDirect link to What This Kit Does
- HCS‑10 OpenConvAI: full support for registration, discovery, and messaging
- HCS‑2/HCS‑6 builders: dynamic registries and dynamic hashinals (create/register/query)
- Inscriber builder: simple content inscription and retrieval flows
- Wallet delegation: pluggable signer + transaction bytes routing for dApps
- LangChain tools: 11 HCS‑10 tools with natural‑language command support
- State management: built‑in OpenConvaiState for credentials and sessions
- Plugin architecture: extend with custom tools and providers
Getting StartedDirect link to Getting Started
1) InstallationDirect link to 1) Installation
npm install @hashgraphonline/standards-agent-kit @hashgraphonline/conversational-agent
2) Environment SetupDirect link to 2) Environment Setup
Create a .env file in your project root:
# Hedera Credentials (Required)
HEDERA_NETWORK=testnet
HEDERA_OPERATOR_ID=0.0.xxxxxx
HEDERA_OPERATOR_KEY=302e0201...
# Optional: Specific account for agent operations
HEDERA_ACCOUNT_ID=0.0.xxxxxx
HEDERA_PRIVATE_KEY=302e0201...
# OpenAI API Key (For LangChain agents)
OPENAI_API_KEY=sk-xxxxxxxxxx