fetchai / uAgents

A fast and lightweight framework for creating decentralized agents with ease.
Apache License 2.0
995 stars 241 forks source link

feat(core): integrate domain + full agent address in Envelope and handler #573

Open Archento opened 2 weeks ago

Archento commented 2 weeks ago

Proposed Changes

This PR will enable users to set the domain name of an agent they have registered. The domain parameter will be set once the agent has started and successfully verified that the domain actually belongs to this agent.

In subsequent messages the agent will use this domain as well as the prefix when sending messages, i.e. it will be part of the Envelope and available in the message handler through the sender variable.

Types of changes

Checklist

If applicable

Further comments

This needs to be tested for Agentverse compatibility.