SlideShare a Scribd company logo
Velluscinum: A middleware
for using digital assets in
Multi-agent Systems
Nilson Mori Lazarin1,2, Igor Machado Coelho1,
Carlos Eduardo Pantoja1,2 and José Viterbo1
nilson.lazarin@cefet-rj.br
1
Institute of Computing (IC) -- Fluminense Federal University(UFF)
2
Federal Center for TechnologicalEducation Celso Suckow da Fonseca (Cefet/RJ)
https://velluscinum.chon.group/
• Composed by multiple agents;
These agents can be cognitive, through the use of the
Belief-Desire-Intention (BDI) [4] model;
These agents can interact or compete to resolve a task;
Then, conflicts and uncertainty can occur;
So, it is essential to provide mechanisms for
agents to cooperate by guaranteeing reliability in
the acquiredinformation.
Multi-agent System (MAS)
2
23. Sichman, J.S., Demazeau, Y., Boissier, O.: When can knowledge-based systems be called agents. In: Simpósio Brasileiro de Inteligência Artificial. vol. 9, pp. 172–185.SBC, Rio de Janeiro (1992)
25. Wooldridge, M.J.: Reasoning about rational agents. MIT press (2000)
Distributed Ledger Technologies (DLT)
• Have applications far beyond the financial sector;
• Their characteristics:
Decentralization;
Security;
Trust,
Low cost of operation.
• Then, have a great capacity to contribute in
various domains .
• They are classified as permissionless or permissioned.
3
9. El Ioini, N., Pahl, C.: A review of distributed ledger technologies. In: On the Move to Meaningful Internet Systems. OTM 2018 Conferences. pp. 277–288.Springer International Publishing,
Cham (2018).https://doi.org/10.1007/978-3-030-02671-4_16
Permissionless DLT
• The access is unrestricted;
• Members can join and leave the network
at any time.
4
Permissioned DLT
• Provides an additional
access control layer;
• Allowing specific
operations by authorized
participants.
5
MAS + DLT
• Can facilitate the agreement between agents
Taking what is registered in the Ledgeras accurate;
• Can be helpful to:
Manage trust relationships;
Open MAS;
Distributed scenarios.
6
Problem
• Many works integrating DLT +
MAS are still in the theoretical
stage [6].
• We found only one paper [16]
implementing DLT in MAS using
BDI agent.
However, this implementation is in the environmental
dimension of the MAS, making it necessary to create
an institution in the organizational dimension.
7
6. Calvaresi, D., Calbimonte, J.P., Dubovitskaya, A., Mattioli, V., Piguet, J.G., Schumacher, M.: The good, the bad, and the ethical implications of bridging blockchain and multi-agent
systems. Information 10(12) (2019).https://doi.org/10.3390/info10120363
16. Papi, F.G., Hübner, J.F., de Brito, M.: A blockchain integration to support transactions of assets in multi-agent systems. Engineering Applications of Artificial Intelligence 107,104534
(2022).https://doi.org/10.1016/j.engappai.2021.104534
Mapping review
8
((“DLT” OR “Distributed Ledger Technologies” OR “Blockchain”) AND
(“BDI” OR “belief-desire-intention”) AND
(“multi-agent oriented programming” OR “Jason” OR “Jacamo”))
97
20
*titles and
abstracts
*involving
DLT and MAS
*complete reading
of the papers
3
*involved DLT and
MAS practical
applications
*search
result
Related Works - Calvaresi et al. (2019)
Integration between the MAS and the Hyperledger
Fabric.
An agent reputation management using smart
contract.
• Prior registration is required to interact with other
agents in the system or operate the ledger,
• Use of a third membership service is mandatory.
• Agent cannot create an asset in the ledger, only
execute a pre-existing contract.
• Does not use BDI agents.
9
6. Calvaresi, D., Calbimonte, J.P., Dubovitskaya, A., Mattioli, V., Piguet, J.G., Schumacher, M.: The good, the bad, and the ethical implications of bridging blockchain and multi-agent
systems. Information 10(12) (2019).https://doi.org/10.3390/info10120363
Related Works - Minarsch et al. (2022)
A framework for Autonomous Economic Agents (AEA) to
operate on Ethereum on behalf of an owner.
Objective is to generate economic value for its owner.
• Uses an abstraction based on behaviors and handler
code.
• It does not have BDI-based fundamentals and does
not support content based on ontology, agent
persistence, and agent mobility services.
10
14. Minarsch,D., Favorito, M., Hosseini, S.A., Turchenkov, Y., Ward, J.: Autonomous economic agent framework. In: Alechina, N., Baldoni, M., Logan, B. (eds.) Engineering Multi-Agent
Systems. pp. 237–253.Springer International Publishing, Cham (2022).https://doi.org/10.1007/978-3-030-97457-2_14
Related Works - Papi et al. (2022)
Integration model between JaCaMo and Ethereum.
Creating a centralized entity and standards allows BDI
agents to request the execution of a smart contract on the
blockchain.
• the implementation is in the environmental dimension
of the MAS;
• it necessary to create an institution in the organizational
dimension (following the Situated Artificial Institution [5]
model)
• the agents can access only one wallet in the DLT,
limiting the competitiveness or autonomy of agents.
• the DLT platform used has high latency and low
performance.
11
16. Papi, F.G., Hübner, J.F., de Brito, M.: A blockchain integration to support transactions of assets in multi-agent systems. Engineering Applications of Artificial Intelligence 107, 104534 (2022).
https://doi.org/10.1016/j.engappai.2021.104534
Objective
• Using digital assets in the relationships
between cognitive agents:
the transfer of funds;
registration of ownership of artifacts;
declarationof promises or agreements.
• Allowing the agents to manipulateassets and
wallets directly in the DLT.
12
Related Works X Velluscinum
• Unlike all related works we Integrating MAS with
BigChainDB;
• Unlike Calvaresi et al., this paper eliminates the need
for a certifying authority;
• Unlike Papi et al., creating a virtual institution is
unnecessary, and each agent can manage digital
assets directly;
• Unlike Minarsch et al., this work allows BDI agents to
generate economic value for their owners.
13
Theoretical foundation
• A DLT can be considered an append-only
decentralized database because it provides a
storage mechanism.
• However, compared with a traditional database,
its performance is much lower because it has a
low download rate and a high latency [13].
• New approaches based on distributed
databases have been used to improve the
performance of permissioned DLT.
14
13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R.,
Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
Theoretical foundation
• When considering the number of transactions that a DLT
can successfully execute per second:
DLT permissionless (e.g., Bitcoin or Ethereum)
• ranges between 3.45 and 4.69 TPS [24,15];
DLT permissioned (e.g., HyperLedger Fabric)
• vary between 4.28 and 10.51 TPS [7, 15];
DLT permissioned distribution database-based (e.g., BigchainDB)
• varies between 50.60 and 175 TPS [7, 10].
15
7. Contreras, A.F.: Benchmarking of blockchain technologies used in a decentralized data marketplace.
Grado en Ingenierı́a Informática, E.T.S de Ingenieros Informáticos (UPM), Madrid, España (Jun 2019),
https://oa.upm.es/55775/
10. Ge, Z., Loghin, D., Ooi, B.C., Ruan,P., Wang, T.: Hybrid blockchain database systems: Design and
performance. Proc. VLDB Endow. 15(5),1092–1104 (may 2022).
https://doi.org/10.14778/3510397.3510406
15. Nasir, Q., Qasse, I.A., Abu Talib, M., Nassif, A.B.: Performance Analysis of Hyperledger Fabric
Platforms. Security and Communication Networks 2018,1–14 (2018).
https://doi.org/10.1155/2018/3976093
24.Tikhomirov, S.: Ethereum: State of knowledge and research perspectives. In: Imine, A., Fernandez,
J.M., Marion, J.Y., Logrippo, L., Garcia-Alfaro, J. (eds.) Foundations and Practice of Security. pp. 206–221.
Springer International Publishing, Cham (2018).https://doi.org/10.1007/978-3-319-75650-9_14
Theoretical foundation
BigchainDB structures the data as
an owner-controlled asset and
only allows two types of
operation [13]:
• CREATE ASSET
• TRANSFER ASSET
16
13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white
paper, BigChainDB (2016)
Theoretical foundation
A transaction in the BigchainDBare made
up of the following fields [13]:
• ASSET is immutable
information that represents a
register in the DLT;
17
13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white
paper, BigChainDB (2016)
Theoretical foundation
A transaction in the BigchainDB are made
up of the following fields [13]:
• METADATA is additional
information that can be
updated with each new
transaction;
18
13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white
paper, BigChainDB (2016)
Theoretical foundation
A transaction in the BigchainDBare made
up of the following fields [13]:
• INPUT specifies:
which key an asset previously
belonged;
a proof that the conditions
required to transfer ownership
of that asset have been met;
19
13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white
paper, BigChainDB (2016)
Theoretical foundation
A transaction in the BigchainDB are made
up of the following fields [13]:
• OUTPUT specifies the
conditions that need to be
met to change ownership of
a specific asset;
20
13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white
paper, BigChainDB (2016)
Theoretical foundation
A transaction in the BigchainDB are made up of
the following fields [13]:
• Also, a positive number called
AMOUNT is defined in OUTPUT.
• If AMOUNT = 1, the asset is indivisible,
thus representing a non-fungibletoken.
• If AMOUNT > 1, this asset is divisible,
thus representing a token and how many
instances there are;
21
13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white
paper, BigChainDB (2016)
Proposed Approach
Use of digital assets to supporting the BDI agents’ relationship:
Indivisible assets
• as property record
• as promise or agreement
Divisible assets
• as cryptocurrencies
22
Distributed ledger technology
MAS - Agents Dimension
Velluscinum
Indivisible asset
such as property
record
23
Indivisible asset
such as property
record
24
• The metadata of asset represents
that the artifact can be observed
by all agents and used only by
agent Bob.
Indivisible asset
such as property
record
25
• The asset was transferred to
agent Alice, now the artifact could
only be observed and used by
agent Alice.
Indivisible asset
such as property
record
26
• Finally, the asset was transferred
to Eve. Now the artifact can be
observed by all agents and used
only by agent Eve, the current
owner of the artifact.
Indivisible asset
such as promise
or agreement
27
Indivisible asset
such as promise
or agreement
28
• Bob deploy an asset representing a
promisse of commitment;
Indivisible asset
such as promise
or agreement
29
• Bob transfer the asset to Alice and
promisse pay 10 beers;
Indivisible asset
such as promise
or agreement
30
• When bob fulfills his commitment
and Alice is satisfied, it returns the
asset to bob;
Indivisible asset
such as promise
or agreement
31
• Later, agent Bob can assume other
commitment with Eve.
Divisible asset
such as
cryptocurrency
32
Divisible asset
such as
cryptocurrency
33
• Bob created 100 units of the BobCoin;
Divisible asset
such as
cryptocurrency
34
• Bob created 100 units of the BobCoin;
• Bob sent 25 units to Alice;
Divisible asset
such as
cryptocurrency
35
• Bob created 100 units of the BobCoin;
• Bob sent 25 units to Alice;
• Bob sent others 25 units to Eve;
Divisible asset
such as
cryptocurrency
36
• Alice sent 5 units to Eve;
Divisible asset
such as
cryptocurrency
37
• Alice sent 5 units to Eve;
• Alice sent others 5 units to Charlie;
Divisible asset
such as
cryptocurrency
38
• Eve sent 10 units to Charlie;
Divisible asset
such as
cryptocurrency
39
Finally, remained:
• Bob has 50;
• Alice has 15;
• Eve has 20 (5+15);
• Charlie has 15 (5+10).
Totaling the 100 BobCoins created and distributed by
DLT.
40
https://velluscinum.chon.group/
Extends the Jason-lang [3] through integration with BigchainDB [13],providing
new internal actions to enable the use of digital assets to support the relationship
between BDI agents.
Middleware Velluscinum
buildWallet 41
deployNFT 42
transferNFT 43
deployToken 44
transferToken 45
stampTransaction 46
Case Study
We adapted the well-known Build-a-House example [1] for
using digital assets in a BigchainDB Network.
• Using the approach of indivisible assets as an agreement.
• Using the approach of divisible assets as cryptocurrencies.
To this, before the creating artifacts phase in the example, we
added plans to deploy an asset for each stage of construction
(representing contracts)
• that are transferreds to the winners before the execution of
the task,
• and are returneds to the owner after the payment
confirmation.
47
Video demonstration: https://youtu.be/qbAU3yD_YhU
1. Boissier, O., Bordini, R.H., Hübner, J.F., Ricci, A., Santi, A.: Multi-agent oriented programming with jacamo.
Science of Computer Programming 78(6),747–761 (2013).https://doi.org/10.1016/j.scico.2011.10.004
Conclusion
• An approach for using digital assets in the relationships between
cognitive agents, enabling the representation of:
the transfer of funds,
registration of property,
declaration of promises.
• Integration of a well-known example of MAS with DLT was
presented using middleware for the agents’ dimension.
• Developed and validated a Middleware that provide:
each agent can create or transfer assets and sign its transaction
through their asymmetric key pair directly in DLT.
• Future works can analyze more complex scenarios involving
transactions between different multi-agent systems, and the
possibilities and implications of a specific permissionless DLT for
intelligent agents.
48
Image Credits
https://pixabay.com/illustrations/emoticon-smiley-yellow-ball-happy-4824362/
https://pixabay.com/illustrations/emoji-smiley-face-happy-emoticon-4835770/
https://pixabay.com/illustrations/smiley-emoticon-emoji-comic-yellow-4832495/
https://pixabay.com/illustrations/puzzle-collaboration-together-1020427/
https://pixabay.com/illustrations/people-silhouettes-group-crowd-man-668298/
https://pixabay.com/illustrations/meeting-collaboration-meet-people-1015591/
https://pixabay.com/vectors/book-read-open-published-write-147292/
https://www.pngwing.com/pt/free-png-zxyra
https://pixabay.com/pt/illustrations/quebra-cabe%C3%A7a-conceptual-projeto-
2891875/
https://pixabay.com/pt/vectors/lendo-livro-s%C3%ADmbolo-%C3%ADcone-
leitor-310397/
https://pixabay.com/pt/vectors/lendo-estudando-advogado-pastor-297450/
49
https://blog.bigchaindb.com/bigchaindb-2-0-is-byzantine-fault-tolerant-
5ffdac96bc44
https://pixabay.com/pt/vectors/promessa-de-mindinho-m%C3%A3os-
gesto-6018855/
https://pixabay.com/pt/vectors/contrato-documento-papelada-7410444/
https://pixabay.com/pt/vectors/dinheiro-m%C3%A3o-pessoas-
m%C3%A3os-moeda-38268/
https://pixabay.com/pt/vectors/papel-contrato-licen%C3%A7a-assinatura-
1976101/
https://pixabay.com/pt/vectors/bolsa-de-dinheiro-cifr%C3%A3o-saco-
moeda-6633654/
https://pixabay.com/pt/vectors/carteira-pagar-poupan%C3%A7a-o-
neg%C3%B3cio-1710848/
https://pixabay.com/pt/illustrations/emoticon-emoji-sorriso-rosto-
%C3%ADcone-1610518/
https://pixabay.com/pt/vectors/fatura-recibo-comprar-shopping-1708867/
https://pixabay.com/pt/illustrations/confirmado-carimbo-aceitaram-
5254376/
View publication stats

More Related Content

PDF
Blockchain for AI: Review and Open. Research Challenges K. SALAH, M. H. REHMA...
PDF
Notes_1164_UNIT-2parent) block in the chain. Timestamp: It is a system th...
PDF
A developed distributed ledger technology architectural layer framework for d...
PDF
Distributed ledger technical research in central bank of brazil
PPTX
DLT developments in Finance
PPTX
DLT developments in finance
PDF
Blockchain and XBRL at the 2017 American Accounting Association presented b...
PDF
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...
Blockchain for AI: Review and Open. Research Challenges K. SALAH, M. H. REHMA...
Notes_1164_UNIT-2parent) block in the chain. Timestamp: It is a system th...
A developed distributed ledger technology architectural layer framework for d...
Distributed ledger technical research in central bank of brazil
DLT developments in Finance
DLT developments in finance
Blockchain and XBRL at the 2017 American Accounting Association presented b...
How AI benefits from Blockchain and Game Theory with Scalable Censorship-resi...

Similar to Velluscinum: A Middleware for Using Digital Assets in Multi-agent Systems (20)

PDF
Artificial Intelligence & Blockchain Synergy
PPTX
Innovation potential of the blockchain, and of decentralized applications
PDF
Advanced Blockchain AG - Shareholder Meeting August 16, 2018
PPTX
AUTM_WRM_Blockchain FINAL.pptx
PDF
IRJET- Photogroup: Decentralized Web Application using Ethereum Blockchain
PDF
Blockchain based Asset Registration & Management System
PDF
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
PDF
DARQ - The Bleeding Edge Technology
PDF
Blockchain Introduction
PDF
Blockchain based Government Schemes and Transaction Tracker
PDF
Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
PDF
An Introduction to BlockchainUV7356-PDF-ENG.pdf
PDF
Blockchain Beyond Finance - Cronos Groep - Jan 17, 2017
PPT
Blockchian introduction
PDF
Diseño del Smart Contract Blockchain: ejemplo para Real Estate
PPTX
Hyperledger
PDF
Blockchain and AI Convergence A New Era of Possibilities
PDF
BigchainDB - Big Data meets Blockchain
PDF
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
PDF
Smart c for re final 2
Artificial Intelligence & Blockchain Synergy
Innovation potential of the blockchain, and of decentralized applications
Advanced Blockchain AG - Shareholder Meeting August 16, 2018
AUTM_WRM_Blockchain FINAL.pptx
IRJET- Photogroup: Decentralized Web Application using Ethereum Blockchain
Blockchain based Asset Registration & Management System
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
DARQ - The Bleeding Edge Technology
Blockchain Introduction
Blockchain based Government Schemes and Transaction Tracker
Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
An Introduction to BlockchainUV7356-PDF-ENG.pdf
Blockchain Beyond Finance - Cronos Groep - Jan 17, 2017
Blockchian introduction
Diseño del Smart Contract Blockchain: ejemplo para Real Estate
Hyperledger
Blockchain and AI Convergence A New Era of Possibilities
BigchainDB - Big Data meets Blockchain
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Smart c for re final 2
Ad

More from chon34 (6)

PDF
A Spin-off Version of Jason for IoT and Embedded Multiagent Systems - BRACIS ...
PDF
Direção assistida por agentes cognitivos: Uma análise de viabilidade para o c...
PDF
Aplicando Sistemas Multi-agentes Embarcados no monitoramento de deslizamentos
PDF
Detecção de Incêndio apoiada por Agentes Cognitivos
PDF
Presentation of A Decentralized Agent-based Model for Crisis Events Using Emb...
PDF
Presentation of Human and BDI-Agent Interaction via KQML messages over IMAP a...
A Spin-off Version of Jason for IoT and Embedded Multiagent Systems - BRACIS ...
Direção assistida por agentes cognitivos: Uma análise de viabilidade para o c...
Aplicando Sistemas Multi-agentes Embarcados no monitoramento de deslizamentos
Detecção de Incêndio apoiada por Agentes Cognitivos
Presentation of A Decentralized Agent-based Model for Crisis Events Using Emb...
Presentation of Human and BDI-Agent Interaction via KQML messages over IMAP a...
Ad

Recently uploaded (20)

PDF
Digital Strategies for Manufacturing Companies
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPT
Introduction Database Management System for Course Database
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
history of c programming in notes for students .pptx
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
ai tools demonstartion for schools and inter college
Digital Strategies for Manufacturing Companies
Computer Software and OS of computer science of grade 11.pptx
Designing Intelligence for the Shop Floor.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Introduction Database Management System for Course Database
Softaken Excel to vCard Converter Software.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Navsoft: AI-Powered Business Solutions & Custom Software Development
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Reimagine Home Health with the Power of Agentic AI​
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Design an Analysis of Algorithms II-SECS-1021-03
2025 Textile ERP Trends: SAP, Odoo & Oracle
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Operating system designcfffgfgggggggvggggggggg
Internet Downloader Manager (IDM) Crack 6.42 Build 41
history of c programming in notes for students .pptx
Odoo Companies in India – Driving Business Transformation.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
ai tools demonstartion for schools and inter college

Velluscinum: A Middleware for Using Digital Assets in Multi-agent Systems

  • 1. Velluscinum: A middleware for using digital assets in Multi-agent Systems Nilson Mori Lazarin1,2, Igor Machado Coelho1, Carlos Eduardo Pantoja1,2 and José Viterbo1 nilson.lazarin@cefet-rj.br 1 Institute of Computing (IC) -- Fluminense Federal University(UFF) 2 Federal Center for TechnologicalEducation Celso Suckow da Fonseca (Cefet/RJ) https://velluscinum.chon.group/
  • 2. • Composed by multiple agents; These agents can be cognitive, through the use of the Belief-Desire-Intention (BDI) [4] model; These agents can interact or compete to resolve a task; Then, conflicts and uncertainty can occur; So, it is essential to provide mechanisms for agents to cooperate by guaranteeing reliability in the acquiredinformation. Multi-agent System (MAS) 2 23. Sichman, J.S., Demazeau, Y., Boissier, O.: When can knowledge-based systems be called agents. In: Simpósio Brasileiro de Inteligência Artificial. vol. 9, pp. 172–185.SBC, Rio de Janeiro (1992) 25. Wooldridge, M.J.: Reasoning about rational agents. MIT press (2000)
  • 3. Distributed Ledger Technologies (DLT) • Have applications far beyond the financial sector; • Their characteristics: Decentralization; Security; Trust, Low cost of operation. • Then, have a great capacity to contribute in various domains . • They are classified as permissionless or permissioned. 3 9. El Ioini, N., Pahl, C.: A review of distributed ledger technologies. In: On the Move to Meaningful Internet Systems. OTM 2018 Conferences. pp. 277–288.Springer International Publishing, Cham (2018).https://doi.org/10.1007/978-3-030-02671-4_16
  • 4. Permissionless DLT • The access is unrestricted; • Members can join and leave the network at any time. 4
  • 5. Permissioned DLT • Provides an additional access control layer; • Allowing specific operations by authorized participants. 5
  • 6. MAS + DLT • Can facilitate the agreement between agents Taking what is registered in the Ledgeras accurate; • Can be helpful to: Manage trust relationships; Open MAS; Distributed scenarios. 6
  • 7. Problem • Many works integrating DLT + MAS are still in the theoretical stage [6]. • We found only one paper [16] implementing DLT in MAS using BDI agent. However, this implementation is in the environmental dimension of the MAS, making it necessary to create an institution in the organizational dimension. 7 6. Calvaresi, D., Calbimonte, J.P., Dubovitskaya, A., Mattioli, V., Piguet, J.G., Schumacher, M.: The good, the bad, and the ethical implications of bridging blockchain and multi-agent systems. Information 10(12) (2019).https://doi.org/10.3390/info10120363 16. Papi, F.G., Hübner, J.F., de Brito, M.: A blockchain integration to support transactions of assets in multi-agent systems. Engineering Applications of Artificial Intelligence 107,104534 (2022).https://doi.org/10.1016/j.engappai.2021.104534
  • 8. Mapping review 8 ((“DLT” OR “Distributed Ledger Technologies” OR “Blockchain”) AND (“BDI” OR “belief-desire-intention”) AND (“multi-agent oriented programming” OR “Jason” OR “Jacamo”)) 97 20 *titles and abstracts *involving DLT and MAS *complete reading of the papers 3 *involved DLT and MAS practical applications *search result
  • 9. Related Works - Calvaresi et al. (2019) Integration between the MAS and the Hyperledger Fabric. An agent reputation management using smart contract. • Prior registration is required to interact with other agents in the system or operate the ledger, • Use of a third membership service is mandatory. • Agent cannot create an asset in the ledger, only execute a pre-existing contract. • Does not use BDI agents. 9 6. Calvaresi, D., Calbimonte, J.P., Dubovitskaya, A., Mattioli, V., Piguet, J.G., Schumacher, M.: The good, the bad, and the ethical implications of bridging blockchain and multi-agent systems. Information 10(12) (2019).https://doi.org/10.3390/info10120363
  • 10. Related Works - Minarsch et al. (2022) A framework for Autonomous Economic Agents (AEA) to operate on Ethereum on behalf of an owner. Objective is to generate economic value for its owner. • Uses an abstraction based on behaviors and handler code. • It does not have BDI-based fundamentals and does not support content based on ontology, agent persistence, and agent mobility services. 10 14. Minarsch,D., Favorito, M., Hosseini, S.A., Turchenkov, Y., Ward, J.: Autonomous economic agent framework. In: Alechina, N., Baldoni, M., Logan, B. (eds.) Engineering Multi-Agent Systems. pp. 237–253.Springer International Publishing, Cham (2022).https://doi.org/10.1007/978-3-030-97457-2_14
  • 11. Related Works - Papi et al. (2022) Integration model between JaCaMo and Ethereum. Creating a centralized entity and standards allows BDI agents to request the execution of a smart contract on the blockchain. • the implementation is in the environmental dimension of the MAS; • it necessary to create an institution in the organizational dimension (following the Situated Artificial Institution [5] model) • the agents can access only one wallet in the DLT, limiting the competitiveness or autonomy of agents. • the DLT platform used has high latency and low performance. 11 16. Papi, F.G., Hübner, J.F., de Brito, M.: A blockchain integration to support transactions of assets in multi-agent systems. Engineering Applications of Artificial Intelligence 107, 104534 (2022). https://doi.org/10.1016/j.engappai.2021.104534
  • 12. Objective • Using digital assets in the relationships between cognitive agents: the transfer of funds; registration of ownership of artifacts; declarationof promises or agreements. • Allowing the agents to manipulateassets and wallets directly in the DLT. 12
  • 13. Related Works X Velluscinum • Unlike all related works we Integrating MAS with BigChainDB; • Unlike Calvaresi et al., this paper eliminates the need for a certifying authority; • Unlike Papi et al., creating a virtual institution is unnecessary, and each agent can manage digital assets directly; • Unlike Minarsch et al., this work allows BDI agents to generate economic value for their owners. 13
  • 14. Theoretical foundation • A DLT can be considered an append-only decentralized database because it provides a storage mechanism. • However, compared with a traditional database, its performance is much lower because it has a low download rate and a high latency [13]. • New approaches based on distributed databases have been used to improve the performance of permissioned DLT. 14 13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
  • 15. Theoretical foundation • When considering the number of transactions that a DLT can successfully execute per second: DLT permissionless (e.g., Bitcoin or Ethereum) • ranges between 3.45 and 4.69 TPS [24,15]; DLT permissioned (e.g., HyperLedger Fabric) • vary between 4.28 and 10.51 TPS [7, 15]; DLT permissioned distribution database-based (e.g., BigchainDB) • varies between 50.60 and 175 TPS [7, 10]. 15 7. Contreras, A.F.: Benchmarking of blockchain technologies used in a decentralized data marketplace. Grado en Ingenierı́a Informática, E.T.S de Ingenieros Informáticos (UPM), Madrid, España (Jun 2019), https://oa.upm.es/55775/ 10. Ge, Z., Loghin, D., Ooi, B.C., Ruan,P., Wang, T.: Hybrid blockchain database systems: Design and performance. Proc. VLDB Endow. 15(5),1092–1104 (may 2022). https://doi.org/10.14778/3510397.3510406 15. Nasir, Q., Qasse, I.A., Abu Talib, M., Nassif, A.B.: Performance Analysis of Hyperledger Fabric Platforms. Security and Communication Networks 2018,1–14 (2018). https://doi.org/10.1155/2018/3976093 24.Tikhomirov, S.: Ethereum: State of knowledge and research perspectives. In: Imine, A., Fernandez, J.M., Marion, J.Y., Logrippo, L., Garcia-Alfaro, J. (eds.) Foundations and Practice of Security. pp. 206–221. Springer International Publishing, Cham (2018).https://doi.org/10.1007/978-3-319-75650-9_14
  • 16. Theoretical foundation BigchainDB structures the data as an owner-controlled asset and only allows two types of operation [13]: • CREATE ASSET • TRANSFER ASSET 16 13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
  • 17. Theoretical foundation A transaction in the BigchainDBare made up of the following fields [13]: • ASSET is immutable information that represents a register in the DLT; 17 13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
  • 18. Theoretical foundation A transaction in the BigchainDB are made up of the following fields [13]: • METADATA is additional information that can be updated with each new transaction; 18 13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
  • 19. Theoretical foundation A transaction in the BigchainDBare made up of the following fields [13]: • INPUT specifies: which key an asset previously belonged; a proof that the conditions required to transfer ownership of that asset have been met; 19 13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
  • 20. Theoretical foundation A transaction in the BigchainDB are made up of the following fields [13]: • OUTPUT specifies the conditions that need to be met to change ownership of a specific asset; 20 13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
  • 21. Theoretical foundation A transaction in the BigchainDB are made up of the following fields [13]: • Also, a positive number called AMOUNT is defined in OUTPUT. • If AMOUNT = 1, the asset is indivisible, thus representing a non-fungibletoken. • If AMOUNT > 1, this asset is divisible, thus representing a token and how many instances there are; 21 13. McConaghy, T., Marques, R., Müller, A., De Jonghe, D., McConaghy, T., Mc-Mullen, G., Henderson, R., Bellemare, S., Granzotto, A.: Bigchaindb: a scalable blockchain database. white paper, BigChainDB (2016)
  • 22. Proposed Approach Use of digital assets to supporting the BDI agents’ relationship: Indivisible assets • as property record • as promise or agreement Divisible assets • as cryptocurrencies 22 Distributed ledger technology MAS - Agents Dimension Velluscinum
  • 23. Indivisible asset such as property record 23
  • 24. Indivisible asset such as property record 24 • The metadata of asset represents that the artifact can be observed by all agents and used only by agent Bob.
  • 25. Indivisible asset such as property record 25 • The asset was transferred to agent Alice, now the artifact could only be observed and used by agent Alice.
  • 26. Indivisible asset such as property record 26 • Finally, the asset was transferred to Eve. Now the artifact can be observed by all agents and used only by agent Eve, the current owner of the artifact.
  • 27. Indivisible asset such as promise or agreement 27
  • 28. Indivisible asset such as promise or agreement 28 • Bob deploy an asset representing a promisse of commitment;
  • 29. Indivisible asset such as promise or agreement 29 • Bob transfer the asset to Alice and promisse pay 10 beers;
  • 30. Indivisible asset such as promise or agreement 30 • When bob fulfills his commitment and Alice is satisfied, it returns the asset to bob;
  • 31. Indivisible asset such as promise or agreement 31 • Later, agent Bob can assume other commitment with Eve.
  • 33. Divisible asset such as cryptocurrency 33 • Bob created 100 units of the BobCoin;
  • 34. Divisible asset such as cryptocurrency 34 • Bob created 100 units of the BobCoin; • Bob sent 25 units to Alice;
  • 35. Divisible asset such as cryptocurrency 35 • Bob created 100 units of the BobCoin; • Bob sent 25 units to Alice; • Bob sent others 25 units to Eve;
  • 36. Divisible asset such as cryptocurrency 36 • Alice sent 5 units to Eve;
  • 37. Divisible asset such as cryptocurrency 37 • Alice sent 5 units to Eve; • Alice sent others 5 units to Charlie;
  • 38. Divisible asset such as cryptocurrency 38 • Eve sent 10 units to Charlie;
  • 39. Divisible asset such as cryptocurrency 39 Finally, remained: • Bob has 50; • Alice has 15; • Eve has 20 (5+15); • Charlie has 15 (5+10). Totaling the 100 BobCoins created and distributed by DLT.
  • 40. 40 https://velluscinum.chon.group/ Extends the Jason-lang [3] through integration with BigchainDB [13],providing new internal actions to enable the use of digital assets to support the relationship between BDI agents. Middleware Velluscinum
  • 47. Case Study We adapted the well-known Build-a-House example [1] for using digital assets in a BigchainDB Network. • Using the approach of indivisible assets as an agreement. • Using the approach of divisible assets as cryptocurrencies. To this, before the creating artifacts phase in the example, we added plans to deploy an asset for each stage of construction (representing contracts) • that are transferreds to the winners before the execution of the task, • and are returneds to the owner after the payment confirmation. 47 Video demonstration: https://youtu.be/qbAU3yD_YhU 1. Boissier, O., Bordini, R.H., Hübner, J.F., Ricci, A., Santi, A.: Multi-agent oriented programming with jacamo. Science of Computer Programming 78(6),747–761 (2013).https://doi.org/10.1016/j.scico.2011.10.004
  • 48. Conclusion • An approach for using digital assets in the relationships between cognitive agents, enabling the representation of: the transfer of funds, registration of property, declaration of promises. • Integration of a well-known example of MAS with DLT was presented using middleware for the agents’ dimension. • Developed and validated a Middleware that provide: each agent can create or transfer assets and sign its transaction through their asymmetric key pair directly in DLT. • Future works can analyze more complex scenarios involving transactions between different multi-agent systems, and the possibilities and implications of a specific permissionless DLT for intelligent agents. 48
  • 49. Image Credits https://pixabay.com/illustrations/emoticon-smiley-yellow-ball-happy-4824362/ https://pixabay.com/illustrations/emoji-smiley-face-happy-emoticon-4835770/ https://pixabay.com/illustrations/smiley-emoticon-emoji-comic-yellow-4832495/ https://pixabay.com/illustrations/puzzle-collaboration-together-1020427/ https://pixabay.com/illustrations/people-silhouettes-group-crowd-man-668298/ https://pixabay.com/illustrations/meeting-collaboration-meet-people-1015591/ https://pixabay.com/vectors/book-read-open-published-write-147292/ https://www.pngwing.com/pt/free-png-zxyra https://pixabay.com/pt/illustrations/quebra-cabe%C3%A7a-conceptual-projeto- 2891875/ https://pixabay.com/pt/vectors/lendo-livro-s%C3%ADmbolo-%C3%ADcone- leitor-310397/ https://pixabay.com/pt/vectors/lendo-estudando-advogado-pastor-297450/ 49 https://blog.bigchaindb.com/bigchaindb-2-0-is-byzantine-fault-tolerant- 5ffdac96bc44 https://pixabay.com/pt/vectors/promessa-de-mindinho-m%C3%A3os- gesto-6018855/ https://pixabay.com/pt/vectors/contrato-documento-papelada-7410444/ https://pixabay.com/pt/vectors/dinheiro-m%C3%A3o-pessoas- m%C3%A3os-moeda-38268/ https://pixabay.com/pt/vectors/papel-contrato-licen%C3%A7a-assinatura- 1976101/ https://pixabay.com/pt/vectors/bolsa-de-dinheiro-cifr%C3%A3o-saco- moeda-6633654/ https://pixabay.com/pt/vectors/carteira-pagar-poupan%C3%A7a-o- neg%C3%B3cio-1710848/ https://pixabay.com/pt/illustrations/emoticon-emoji-sorriso-rosto- %C3%ADcone-1610518/ https://pixabay.com/pt/vectors/fatura-recibo-comprar-shopping-1708867/ https://pixabay.com/pt/illustrations/confirmado-carimbo-aceitaram- 5254376/ View publication stats