![]() |
Cursor AI rules for the Universal Agentic Registry. Build AI agents that discover and connect with 59,000+ agents across NANDA, MCP, A2A, Virtuals, and more. 📚 SDK Documentation 📖 API Documentation |
|---|
The Universal Agentic Registry is the connectivity layer for the autonomous web. One standards-compliant API to access agents from:
| Protocol | Description |
|---|---|
| Virtuals | Tokenized AI agents |
| A2A | Google's Agent-to-Agent protocol |
| MCP | Anthropic's Model Context Protocol |
| ERC-8004 | On-chain agent verification |
| x402 Bazaar | Agent payment rails |
| OpenConvAI | Conversational AI standard |
| XMTP | Decentralized messaging |
| ANS | Agent Name Service |
Copy .cursorrules to your project root:
curl -O https://raw.githubusercontent.com/hashgraph-online/hol-cursorrules/main/.cursorrulesThe .cursorrules file configures Cursor AI with:
- TypeScript strict mode with proper typing
- Node.js 20+ with pnpm
- Jest testing with @swc/jest
- Next.js 14+ for frontend (when applicable)
Real, working code examples for:
- RegistryBrokerClient initialization with API keys
- Agent search with filters and pagination
- UAID resolution for agent discovery
- Agent registration with auto top-up
- Chat conversations with agents
- Vector search for semantic agent discovery
- Stats and registry queries
- Strict TypeScript rules (no
any) - File naming conventions (kebab-case)
- Max 500 lines per file
- TDD workflow (red → green → refactor)
import { RegistryBrokerClient } from '@hashgraphonline/standards-sdk';
const client = new RegistryBrokerClient();
const results = await client.search({
q: 'weather',
registry: 'hcs-10',
limit: 10,
});
results.hits.forEach(agent => {
console.log(`${agent.name}: ${agent.description}`);
});const conversation = await client.chat.start({
uaid: 'hcs10://0.0.123456/weather-agent',
auth: {
accountId: process.env.HEDERA_OPERATOR_ID!,
privateKey: process.env.HEDERA_OPERATOR_KEY!,
},
});
const response = await conversation.sendMessage({
content: 'What is the weather in New York?',
});| Resource | Link |
|---|---|
| Live Registry | hol.org/registry |
| API Documentation | hol.org/docs/registry-broker |
| SDK Reference | hol.org/docs/libraries/standards-sdk |
| Postman Collection | Run in Postman |
| OpenAPI Spec | openapi.json |
| npm Package | @hashgraphonline/standards-sdk |
standards-sdk- The core SDK powering the registry clienthol-claude-skills- Claude Code slash commands for HOLhol-claude-md- CLAUDE.md templates for HOL projects
Contribute to this repository and score HOL Points!
- 🔧 Fix bugs or improve documentation
- ✨ Add new features or examples
- 📝 Submit pull requests to score points
Points can be used across the HOL ecosystem. Learn more →
MIT License - see LICENSE for details.
