Skip to content

Agent addresses

You can print your agent's addresses in the following way:

from uagents import Agent

alice = Agent(name="alice")

print("uAgent address: ", alice.address)
print("Fetch network address: ", alice.wallet.address())

Your agent will have two types of addresses:

  • uAgent address: represents the main μAgent identifier. Other μAgents can use this to query the agent's information in the Almanac contract.

  • Fetch address: provides the agent with the capabilities for interacting with the Fetch ledger such as registering in the Almanac contract.