← All Recipes
Bazantic // Recipe

Agent Starter Kit

By Martin Machiebe

agent-starter-kit

Stand up a brand-new agent so it can act on its own: an identity minted on Hedera, one memory file recording what it is for, and a working mailbox. The agent pays for each of the three itself over x402 in USDC, inside the limit its treasury contract enforces, so there is no human approval step in the middle and every step leaves a receipt you can look up. Give it the Hedera account id and EVM address of the agent, plus one sentence saying what the agent is for.

Recipe inputs
Complete fields before a run.
The agent's Hedera account id, in shard.realm.num form.
The local part of the mailbox to provision, without the domain.
The agent's EVM address. Must be the same key as the Hedera account, because the treasury pays whoever draws.
One sentence saying what this agent is for. It goes on the identity and into the first memory file.
Output example
Representative published output.
{
  "spent": {
    "usdc": "0.055",
    "limit": "5.00",
    "remaining": "3.465"
  },
  "memory": {
    "wrote": "Standing brief: books and pays for research tools, nothing else.",
    "fileId": "0.0.10514903"
  },
  "mailbox": {
    "address": "research-desk@0gent.xyz"
  },
  "summary": "Identity minted, brief written, mailbox live. Three purchases, 0.055 USDC, all inside the limit.",
  "identity": {
    "purpose": "Books and pays for the tools a research assistant needs, and nothing else.",
    "receipt": "rcpt_7f2c1a",
    "tokenId": "0.0.10514901"
  }
}