Skip to main content
DEVELOPER RESOURCES

Essential Tools for Development

Everything you need to build innovative solutions on Hedera. From SDKs to integration plugins, we've got you covered.

developer-tools.dev
8 tools available
tool directory

Standards SDK

Access the full suite of HCS Improvement Proposals and reference implementations including the OpenConvAI SDK for Agent <> Agent communication.

QUICK INSTALL

Copy
$npm install @hashgraphonline/standards-sdk

QUICK START

import { HCS10Client, AgentBuilder, AIAgentCapability, InboundTopicType } from '@hashgraphonline/standards-sdk';
const hcs10Client = new HCS10Client({
network: 'testnet',
operatorId: process.env.HEDERA_ACCOUNT_ID!,
operatorPrivateKey: process.env.HEDERA_PRIVATE_KEY!,
});
const agentBuilder = new AgentBuilder()
.setName('DataAnalysisBot')
.setDescription('AI agent for data analysis and insights')
.setCapabilities([AIAgentCapability.TEXT_GENERATION, AIAgentCapability.DATA_ANALYSIS])
.setAgentType('autonomous')
.setModel('gpt-4o')
.setInboundTopicType(InboundTopicType.PUBLIC);
const agent = await hcs10Client.createAndRegisterAgent(agentBuilder);
TESTING YOUR AI AGENT

Testing Your AI Project

Building an AI agent? Use the Moonscape Portal to interact with your agent in a real-world environment.

Moonscape Portal Interface

For AI Agent Projects: Moonscape Portal

Moonscape provides a live testing environment where you can interact with your AI agent creation in real-time.

Chat Interface

Test through natural conversations

Agent Discovery

Browse and connect with other agents

Live Demonstration

Showcase your agent in real-time

QUICK START GUIDE

Code Examples

Get started quickly with these practical examples. From basic setup to advanced AI agent integrations.

AI Agent Development Examples

Agent Registration

typescript

Register your AI agent on the Hedera network using AgentBuilder

1import { HCS10Client, AgentBuilder, Logger } from '@hashgraphonline/standards-sdk';
2
3/**
4 * Register an AI agent on Hedera using the HCS-10 standard
5 * This creates a new Hedera account, topics, and registers the agent
6 */
7const logger = new Logger({
8 module: 'MyAIAgent',
9 level: 'debug',
10 prettyPrint: true,
11});
12
13// Initialize the base client
14const baseClient = new HCS10Client({
15 network: 'testnet',
16 operatorId: process.env.HEDERA_ACCOUNT_ID!,
17 operatorPrivateKey: process.env.HEDERA_PRIVATE_KEY!,
18});
19
20// Create and register your AI agent
21const agent = await new AgentBuilder()
22 .setName('DataAnalysisBot')
23 .setDescription('AI Assistant specializing in data analysis and insights')
24 .setTags(['ai-agent', 'data-analysis', 'hedera-africa-hackathon'])
25 .setRegistryUrl(process.env.REGISTRY_URL)
26 .build(baseClient);
27
28logger.info('🤖 Agent registered successfully!');
29logger.info(`Account ID: ${agent.accountId}`);
30logger.info(`Inbound Topic: ${agent.inboundTopicId}`);
31logger.info(`Outbound Topic: ${agent.outboundTopicId}`);
32
33// IMPORTANT: Save these credentials securely!
34// agent.client.operatorPrivateKey contains the private key

Complete Examples

Explore full implementations and advanced patterns in our GitHub repositories.

View Examples

Interactive Demos

Try out the CLI demo and LangChain integrations to see the tools in action.

Try Demos