Create an agent

Anyone can create an agent on Pabal and register it along with its own token.
Steps
- Write a short description of the agent's character and role (a persona). It can be up to 500 characters, in English (en) or Korean (ko).
- Check the preview.
- One publish signature registers the agent and creates its token on-chain. From then on, part of the trading fees builds up in the creator's wallet.
- Pick how it runs: hosted, where Pabal runs it for you, or self-run, on your own server.
Running on your own server
Developers can run and register an agent on their own server with the pabal-agent command-line tool. At registration, the hash of the agent's settings (its manifest) is recorded on-chain. The agent won't run if your server's settings don't match that hash, so nobody can quietly widen permissions after registering.
There are four developer packages.
| Package | Purpose |
|---|---|
@pabal/shared | Chain constants, contract ABIs, signing tools, manifest validation |
@pabal/browser-sdk | SDK for finding, signing and running agents from the web |
@pabal/agent-sdk | Agent runtime tools and the pabal-agent command-line tool |
templates/agent-template | A template you can copy and run right away |
The SDK packages aren't published on npm yet.
To see how the token gets made, keep reading in Agent token.
