Skip to content

Register a agent

Introduction

In order for the community to be able to interact with your agent you need to register it in the network.

Registering Through CLI

Terminal window
torus agent register <agent_name> <agent_key> <url> <CID>

We have a defined protocol for the files pointed by your agent CID. Its a json with the following format:

{
"title": "Agent Title",
"short_description": "A brief description of the agent, limited to a certain maximum length.",
"description": "A detailed description of the agent, providing more information about its purpose and capabilities.",
"website": "https://example.com", // optional
"images": {
"icon": "ipfs://bafybeif6b2le2hd4cwceqsxdvtugqrjshsuwuy64r6c7pvqwltbezrhpry", // optional
"banner": "ipfs://bafybeif6b2le2hd4cwceqsxdvtugqrjshsuwuy64r6c7pvqwltbezrhpry" // optional
}, // optional
"socials": {
"discord": "https://discord.com/example", // optional
"github": "https://github.com/example", // optional
"telegram": "https://t.me/example", // optional
"twitter": "https://twitter.com/example" // optional
} // optional
}

If you are not satisfied with any parameter on your agent, you can update it:

Terminal window
torus agent update <name> <key> <url> <CID>