Fetch.ai Agent Framework v0.3: The collaborative, communications and smart contract release

4月 3, 2020

Version 0.3 of Fetch’s Agent Framework is released today.

The concept of autonomous economic agents (AEAs) is one of the key unique features of the Fetch.ai ecosystem. We are surrounded by dumb data, dumb services and untapped knowledge and resources. AEAs provide a mechanism to bring all of this to life, enabling intelligent connections between those that have, and those that need, so that they can get useful work done on behalf of their owners. Agents are able to perform their work free of human intervention, in a decentralised environment that learns over time how to better connect them. This decentralised approach provides scalability and removes a considerable amount of the brittleness from a centralised economy where a single point of failure can have such dramatic effects. It also better connects the value providers in the economy to each other, often without or with reduced centralisation, which returns more of the value to the individual generating it. When it comes to hospitality, food, taxi services, package deliveries and more, this acts as a disintermediation mechanism as well as providing interesting new ways that existing businesses could be combined, in real-time, to deliver new opportunities.

Fetch.ai’s agent framework is an exciting on-going development aimed at making the creation of agents easier and easier, and today’s v0.3 release and the updated documentation is a substantial step in that direction. You can get it from PyPI, or directly from GitHub.

In this article, we will discuss the key new features provided and how they fit in with agent development now and in the future. This includes smart contract integration, a protocol generator to make it easy for agents to exchange messages with each other and features such as a registry for agent components and integration with IPFS. Let’s delve into these in more detail.

Smart contract integration

We’ve built a demo to show how this can actually work in reality: a simple deployment of an ERC1155 contract, showing an agent controlling minting and transacting on it. The ERC1155 contract is a great example because it allows the mixing of fungible and non-fungible tokens in one contract, and it has been adopted by the entertainment industry, in particular, as a great way of handling item pricing without needing multiple contracts.


The deployment component for the ERC1155 example

And the client-side, showing both sides of the smart contract integration

Protocol generator

Agent module registry

Miscellaneous

This release showcases features that are designed to make an agent developer’s life easier, so that more time is spent on the meat of a new agent, and less on all the plumbing required to allow it to exist, communicate and manage its state. In the coming months, we’re looking forward to providing modules that will make the building of agents even more straightforward, with the aim of making the process as simple as working with Lego®. As always, your feedback in our developer Slack and on our other social media channels would be appreciated.

We can’t wait to see what everyone will build!