From 5e192dbd7197fc4655ebb62636487c80bf92aa3a Mon Sep 17 00:00:00 2001 From: Michael Kantor <6068672+kantorcodes@users.noreply.github.com> Date: Sat, 28 Feb 2026 12:48:22 -0500 Subject: [PATCH] docs: add Hashgraph Online tools to agent module documentation --- .../modules/agents/tools/hashgraph-online.mdx | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/docs/modules/agents/tools/hashgraph-online.mdx diff --git a/docs/docs/modules/agents/tools/hashgraph-online.mdx b/docs/docs/modules/agents/tools/hashgraph-online.mdx new file mode 100644 index 000000000..8245010da --- /dev/null +++ b/docs/docs/modules/agents/tools/hashgraph-online.mdx @@ -0,0 +1,35 @@ +--- +sidebar_position: 4 +--- + +# Hashgraph Online Universal Agent IDs + +If you are building decentralized AI agents or looking to interact with agents anchored to the Hedera Hashgraph network, you can use the official `standards-sdk-go` adapter. + +To resolve **Universal Agent IDs** (HCS-14) on the Hedera Consensus Service, use the official tool module: + +```bash +go get github.com/hashgraph-online/standards-sdk-go/adapters/langchaingo +``` + +### Usage + +This adapter provides tools like `UAIDResolverTool` that you can directly supply to any LangChainGo agent. + +```go +package main + +import ( + "github.com/tmc/langchaingo/tools" + hol_langchaingo "github.com/hashgraph-online/standards-sdk-go/adapters/langchaingo" +) + +// Initialize the UAID resolving tool +// The AI Agent can now automatically lookup any identity when it encounters a UAID. +uaidTool := hol_langchaingo.NewUAIDResolverTool(nil) + +agentTools := []tools.Tool{uaidTool} +// ... initialize your executor with these tools +``` + +For full setup intructions and more features, refer to the [standards-sdk-go LangChainGo Documentation](https://github.com/hashgraph-online/standards-sdk-go/tree/main/adapters/langchaingo).