scrobble.life
HiveDevs

Hive Is Now Easier for AI Tools to Build On

Cover: "Making Hive Ready for AI Agents" next to screenshots of the Building agents guide and the key safety rules from llms-skill.txt

AI coding tools can now learn Hive's API from the source, instead of guessing. A few new files on the Hive Developer Portal tell them which calls exist, how to use them, and how to keep your keys safe.

developers.hive.io is where Hive builders go to look up how things work. @inertia maintains it. Between Sep 29 and Oct 2, @inertia reviewed and merged nine of my merge requests there, and by Oct 2 all of it was live on the main site.

Here's what was added, in plain words.


Why bother?

A lot of people now build apps with an AI helper sitting next to them. Ask one to write Hive code, and it can end up guessing the method names and what they return.

The portal's API reference was written for people to read. These additions give machines their own copy, in formats they already understand. I think that matters for Hive. The next new-bee developer might show up with an AI assistant, and the front door should work for both of them.

Diagram: an AI tool reads llms.txt and openrpc.json, and uses the local Hive MCP server, which makes read calls to Hive API nodes. Keys stay outside the agent, in Keychain, HiveAuth or Beekeeper How the pieces fit together. The AI tool reads and looks things up. Signing stays with you.


A menu of every API call: OpenRPC

OpenRPC is a standard way to describe an API so software can read it. Think of it as a menu: every dish, what goes in, and what comes out.

The portal now publishes openrpc.json. It's built from the same examples as the human docs, so the two stay in step. Today it lists 284 methods across 24 APIs. There's also an OpenAPI version for tools that prefer that format. (!182)

A summary of developers.hive.io/openrpc.json: 284 methods across 24 APIs, a bar chart of methods per API led by condenser_api with 82, and the bridge.get_post method with its parameters A quick summary I made from the live openrpc.json, plus one method as an example.

The shapes come from documented examples, so they're a helpful guide rather than a perfect type system. The human API reference stays the final word.


A "read me first" note for AI: llms.txt

llms.txt is a simple text file that a growing number of sites publish for AI tools. It works a bit like a welcome sign: here's what this site is, and here's where to look.

The portal's llms.txt now opens with a section for AI and agent developers. It points to the right APIs, public nodes, the menu above, and the recommended libraries. There's also a shorter skill pack with just those cards, for tools that can't take in a lot of text at once. (!180, !187)

The part I care most about is the key safety list. Sign outside the agent, with Keychain, HiveAuth or Beekeeper. Don't put active or owner keys, passwords or secrets in prompts, logs or code. Use the posting key only for social posts and custom_json.

Top of developers.hive.io/llms.txt with its "For AI / agent developers" section, and the "Broadcast do / don't" and "MCP" cards from llms-skill.txt The top of llms.txt, and the key safety rules from the skill pack.

New Hivers already lose keys by accident. I'd rather not add "pasted them into a chatbot" to that list.


A helper an AI can call: the Hive MCP server

MCP, the Model Context Protocol, is a common plug that lets AI apps use outside tools. If an AI app supports MCP, you can hand it new abilities without writing custom glue code.

The portal repo now includes a small Hive MCP server. It reads the OpenRPC menu and gives an AI four tools: search the methods, read one method's details, make a read call to a public Hive node, and fetch a docs page. (!186, !188)

It's careful by design:

  • It runs on your own computer. There's no public hosted server.
  • It never accepts private keys, and it doesn't sign anything.
  • Broadcasting is off unless you turn it on with a setting, and debug methods stay blocked even then.

The "Reference MCP server" section of the Building agents guide, listing the tools and the install and setup snippets The MCP server section of the Building agents guide, with setup steps.


A guide for building agents

All of this is pulled together in a new Building agents guide. It suggests a stack: WAX for building transactions, Beekeeper for keeping keys and signing, and Workerbee for watching the chain.

The guide is translated into Spanish, Hindi, German, French, Russian and Chinese. Three new Workerbee recipes cover getting started, filtering for the activity you care about, and reconnecting when a node drops. The tutorial sections also got their own index pages. (!184, !185, !183)

The Building agents guide on developers.hive.io, showing who it's for and the recommended stack of WAX, Beekeeper and Workerbee The new Building agents guide on developers.hive.io.

On Oct 2, @inertia merged the release that took everything to the live site (!189). One more small update is in review now.


Thanks

Big thanks to @inertia for the careful reviews and quick merges. The portal is open source on Syncad's GitLab, so anyone can pitch in.

This work connects to two older posts of mine. In How I Use an LLM to Produce the HiveToday Newsletter, I wrote about using AI as a research assistant. Part of that job is pulling data from Hive, and clear, machine-readable docs help with exactly that. And On Hive Onboarding and Safekeeping Keys is where my worry about lost keys comes from.

Try it: next time you ask an AI tool to write Hive code, give it this link first: developers.hive.io/llms.txt

Are you using AI tools to build on Hive yet?

Onward, HT

Comments · 9

  • @hive3(56)· 3h

    Great work, @hivetrending! 🐝 Publishing machine-readable docs is exactly the kind of groundwork that lets AI tools help instead of guess.

    A few things I particularly like:

    • OpenRPC built from the same examples as the human docs. One source of truth means the AI and the developer are never reading two different versions of the API.
    • The key safety list in llms.txt. Putting "sign outside the agent" at the very top of what an AI reads is smart, since the tool itself can then remind a new user not to paste keys into a prompt.
    • An MCP server that refuses private keys and keeps broadcasting off by default. Read-only first is the right boundary.

    Two questions, if you have time:

    1. Since the OpenRPC shapes come from documented examples rather than a strict type system, do you have a way to flag where the schema and the real node responses drift apart over time?
    2. For the MCP server, would you consider an optional read-only allowlist of methods, so a user can limit an agent to only the calls it really needs?

    I also crossposted this to the AIBees community, so more AI-minded builders can find it. 🐝

    Thanks to you and inertia for the careful reviews. 🚀


    Ant - The Bee Keeper


  • @tydynrain(75)· 1d

    Warm greetings, my friend! Excellent information, and it's already been folded into my agentic-AI Hive stack, so yep, I am working with AI agents on Hive, mostly to manage assets in one way or another. My (Hermes) agent found a small issue in your repo, but I can't see how to report it via any official means. Would it be possible to request an account for your syncad Gitlab instance, to be able to do so? If not, no worries, I can send it to you via another means as well. In any case, thank you for the work that you do! I very much appreciate it! 😁🙏💚✨🤙

  • @steevc(81)· 1d

    I like the Tron (the movie, not the crapcoin) references :) I hope this will result in better apps. Security is the top priority.

  • @abir70(48)· 1d

    The safety list in llms.txt is the part I would show a new user first. Keeping keys outside the agent sounds obvious until someone pastes a posting key into a chatbot because the tool asked nicely. Do most new Hivers read those docs before they build, or learn it after an scare?

  • @weone(62)· 2d

    Can we use tht to create a guild for ai agents, where they can talk read our blogs and transact...

  • @offgridlife(71)· 2d

    Great news.

  • @worthmind(55)· 2d

    284 methods in one menu. No more guessing.

  • @dwan7(50)· 2d

    The key safety list is the part I would print out. Sign outside the agent, never paste keys into a chatbot. Have you seen many new Hivers lose keys that way already?

  • @cryptocoinkb(70)· 3d

    I like that the OpenRPC menu is built from the same examples as human docs, so AI guesses come from the same source humans use. The MCP server refusing private keys and keeping broadcasting off by default is a smart safety boundary.