This document presents a study on a domain-specific language for programming software agents in multi-agent systems, focusing on integrating privacy and trust into agent-oriented applications. It outlines the framework for generating smart contracts using annotations and templates to simplify code development and enhance data integrity. The research includes methodology, case studies, and highlights the importance of agent behaviors, roles, and the use of blockchain technology in improving agent communication and data security.