In the last few weeks, I just did some upgrades to HexTelegram, like adding some tools and fixing temporary storage issues. Also, I fixed the root cause of the " Empty path " issue.
But now i just add a something BIG that allow you to costumize HexTelegram easily
I just add SDK for HexTelegram that allows you or your agent to create plugins
Checkout HexTelegram: https://github.com/HexZoNetwork/HexTelegram/
HexZoNetwork
/
htsdk
The SDK for HexTelegram
htsdk - HexTelegram SDK
Build custom agents + plugins for HexTelegram by HexzoNetwork
written permission. See LICENCE.
What is this?
htsdk is the public SDK for HexTelegram (HTG)
- âïž Build plugins that add commands to the bot (
/plugin+/pl). - ð€ Build your own agent speaking the same OpenAI-compatible protocol.
- ð Define auth providers add your costum provinder
Require Node 18+. Full guide with why/how/examples: DOCS.md.
Install (no npm publish needed)
npm install github:HexZoNetwork/htsdk
const { definePlugin, createAgent } = require("htsdk");
That's it - git install, no registry publish step. Works today, even before
the first npm release (after release, npm install htsdk works too).
Layout
htsdk/
âââ index.js â definePlugin, testPlugin, testTool, createAgent, splitTG, commandArgs
âââ plugin.js â plugin-only re-exports
âââ auth-providers.js â defineProvider
âââ examples/
â âââ hello-plugin.js â installable example (/hello /ping /echo)
â âââ custom-agent.js â minimalâŠ
Top comments (0)