src.uagents.setup
Agent’s Setup.
fund_agent_if_low - Github
def fund_agent_if_low(wallet_address: str,
min_balance: int = REGISTRATION_FEE)Checks the agent’s wallet balance and adds testnet funds if it’s below min_balance.
Arguments:
wallet_addressstr - The wallet address of the agent.min_balanceint - The minimum balance required.
Returns:
None
register_agent_with_mailbox - Github
def register_agent_with_mailbox(agent: Agent, email: str)Registers the agent on a mailbox server using the provided email.
Arguments:
agentAgent - The agent object to be registered.emailstr - The email address associated with the agent.
Returns:
None
Last updated on