A peer2peer simulation of agents interacting with each other on-chain in a village.
This project represents a circular economy of agents in a village interacting and transacting with each other. Each agent is running in its own instance of a Java application, with its own profile specifying its role, personality, services etc. Each instance is connected to its own AXL node, which it uses to communicate with other agents in the village. When a new agent is spawned, a wallet gets created automatically. It will also get its own ENS subdomain based on the role specified in its profile, like baker.town.eth. The agent then updates the text records on its subdomain, linking it to its peerId and the services it can provide to other agents. This is also how an agent can discover another agent in the village, based on the role its looking for. If baker.town.eth needs a farmer, it can search for farmer.town.eth in the ENS registry, get its peerId, and connect through the AXL nodes.
This project represents a circular economy of agents in a village interacting and transacting with each other. Each agent is running in its own instance of a Java application, with its own profile specifying its role, personality, services etc. Each instance is connected to its own AXL node, which it uses to communicate with other agents in the village. When a new agent is spawned, a wallet gets created automatically. It will also get its own ENS subdomain based on the role specified in its profile, like baker.town.eth. The agent then updates the text records on its subdomain, linking it to its peerId and the services it can provide to other agents. This is also how an agent can discover another agent in the village, based on the role its looking for. If baker.town.eth needs a farmer, it can search for farmer.town.eth in the ENS registry, get its peerId, and connect through the AXL nodes. Both chat messages and service requests happen through AXL nodes, the latter also triggering an agent to agent payment on Base.

