Paper deep dive
COMPASS: The explainable agentic framework for Sovereignty, Sustainability, Compliance, and Ethics
Jean-SĂŠbastien, Dessureault, Alain-Thierry, Iliho Manzi, Soukaina, Alaoui Ismaili, Khadim, Lo, Mireille, Lalancette, Ăric, BĂŠlanger
Intelligence
Status: succeeded | Model: google/gemini-3.1-flash-lite-preview | Prompt: intel-v1 | Confidence: 96%
Last extracted: 3/22/2026, 6:21:16 AM
Summary
The paper introduces COMPASS, a multi-agent orchestration framework designed to enforce value-aligned AI by integrating digital sovereignty, environmental sustainability, regulatory compliance, and ethical alignment. The system uses an Orchestrator with four specialized sub-agents, leveraging Retrieval-Augmented Generation (RAG) and an LLM-as-a-judge methodology to provide real-time, explainable, and quantitative governance for autonomous agents.
Entities (5)
Relation Signals (3)
COMPASS â comprises â Orchestrator
confidence 100% ¡ The framework comprises an Orchestrator and four specialised sub-agents
Orchestrator â employs â LLM-as-a-Judge
confidence 95% ¡ By employing an LLM-as-a-judge methodology, the system assigns quantitative scores
COMPASS â utilizes â RAG
confidence 95% ¡ each augmented with Retrieval-Augmented Generation (RAG) to ground evaluations
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:The rapid proliferation of large language model (LLM)-based agentic systems raises critical concerns regarding digital sovereignty, environmental sustainability, regulatory compliance, and ethical alignment. Whilst existing frameworks address individual dimensions in isolation, no unified architecture systematically integrates these imperatives into the decision-making processes of autonomous agents. This paper introduces the COMPASS (Compliance and Orchestration for Multi-dimensional Principles in Autonomous Systems with Sovereignty) Framework, a novel multi-agent orchestration system designed to enforce value-aligned AI through modular, extensible governance mechanisms. The framework comprises an Orchestrator and four specialised sub-agents addressing sovereignty, carbon-aware computing, compliance, and ethics, each augmented with Retrieval-Augmented Generation (RAG) to ground evaluations in verified, context-specific documents. By employing an LLM-as-a-judge methodology, the system assigns quantitative scores and generates explainable justifications for each assessment dimension, enabling real-time arbitration of conflicting objectives. We validate the architecture through automated evaluation, demonstrating that RAG integration significantly enhances semantic coherence and mitigates the hallucination risks. Our results indicate that the framework's composition-based design facilitates seamless integration into diverse application domains whilst preserving interpretability and traceability.
Tags
Links
- Source: https://arxiv.org/abs/2603.11277v1
- Canonical: https://arxiv.org/abs/2603.11277v1
Trouble viewing inline? Open PDF directly â
Full Text
49,526 characters extracted from source content.
Expand or collapse full text
COMPASS: The explainable agentic framework for Sovereignty, Sustainability, Compliance, and Ethics Jean-S Ěebastien Dessureault 1* , Alain-Thierry Iliho Manzi 2 , Soukaina Alaoui Ismaili 2 , Khadim Lo 2 , Mireille Lalancette 2 , Ě Eric B Ěelanger 3 1* Mathematics and Computer science, Universit Ěe du Qu Ěebec `a Trois-Rivi`eres, 3351 Boul. des Forges, Trois-Rivi`eres, G8Z 4M3, Qu Ěebec, Canada. 2* LSSI - Laboratory of Signal and System Integration, Electrical and Computer Engineering Department, Universit Ěe du Qu Ěebec `a Trois-Rivi`eres, 3351 Boul. des Forges, Trois-Rivi`eres, G8Z 4M3, Qu Ěebec, Canada. 2 Social Communication Department, Universit Ěe du Qu Ěebec `a Trois-Rivi`eres, 3351 Boul. des Forges, Trois-Rivi`eres, G8Z 4M3, Qu Ěebec, Canada. 3 Department of Political Science, McGill University, 845 rue Sherbrooke, Montr Ěeal, H3A 0G4, Qu Ěebec, Canada. *Corresponding author(s). E-mail(s): jean-sebastien.dessureault@uqtr.ca; Contributing authors: Alain.Thierry.Iliho.Manzi@uqtr.ca; Soukaina.Alaoui.Ismaili@uqtr.ca; Khadim.Lo@uqtr.ca; Mireille.Lalancette@uqtr.ca; eric.belanger3@mcgill.ca; Abstract The rapid proliferation of large language model (LLM)-based agentic systems raises critical concerns regarding digital sovereignty, environmental sustainabil- ity, regulatory compliance, and ethical alignment. Whilst existing frameworks address individual dimensions in isolation, no unified architecture systematically integrates these imperatives into the decision-making processes of autonomous agents. This paper introduces the COMPASS (Compliance and Orchestration for Multi-dimensional Principles in Autonomous Systems with Sovereignty) Frame- work, a novel multi-agent orchestration system designed to enforce value-aligned 1 arXiv:2603.11277v1 [cs.AI] 11 Mar 2026 AI through modular, extensible governance mechanisms. The framework com- prises an Orchestrator and four specialised sub-agentsâaddressing sovereignty, carbon-aware computing, compliance, and ethics, each augmented with Retrieval- Augmented Generation (RAG) to ground evaluations in verified, context-specific documents. By employing an LLM-as-a-judge methodology, the system assigns quantitative scores and generates explainable justifications for each assess- ment dimension, enabling real-time arbitration of conflicting objectives. We validate the architecture through automated evaluation, demonstrating that RAG integration significantly enhances semantic coherence (as measured by BERTScore) and mitigates the hallucination risks inherent in non-augmented models. Our results indicate that the frameworkâs composition-based design facil- itates seamless integration into diverse application domains whilst preserving interpretability and traceability. Although current limitations include the absence of human-in-the-loop validation and underdeveloped action-selection capabilities, the Framework provides a robust methodological foundation for the responsible deployment of AI. Future work will incorporate hybrid validation protocols, opti- mised document curation strategies, and code-level ethical analysis to further strengthen the systemâs reliability and societal acceptability. Keywords: Agentic AI, Ethical AI, Digital Sovereignty, Carbon-aware Computing 1 Introduction LLM-based agentic AI is becoming increasingly ubiquitous in our daily lives; conse- quently, we must plan its deployment to ensure that it remains socially acceptable. However, social acceptability is a complex, multi-dimensional concept that varies sig- nificantly across global regions and cultural values. Key dimensions include digital sovereignty, energy frugality, regulatory compliance, and, inevitably, ethics. These dimensions frequently conflict, making the identification of an optimal agentic solu- tion highly challenging. For instance, the most energy-efficient model may be inferior in terms of digital sovereignty, or vice versa. This paper proposes a novel LLM-based agentic framework that analyses these dimensions and offers concrete optimisation solutions tailored to the deployment regionâs specific values. Specifically, the frame- work utilises a multi-agent architecture anchored by a core âSynchronising Agentâ that is designed to be inherited by other agentic object structures. Thus, any agent, regardless of its application domain, can inherit the knowledge and methods required to optimise its operation across the four aforementioned dimensions, thereby fostering its social acceptability. 1.1 Agentic AI Autonomous language agents (or generative agents, per [1]) are an emerging class of systems that integrate natural language understanding with decision-making capa- bilities to execute complex tasks in dynamic environments. Powered by pre-trained LLMs, these agents leverage their core reasoning engines to interact with digital tools and real-world data, enabling autonomous reasoning, planning, and action. 2 As outlined by [1], such agents operate within a cognitive architecture where the LLM interprets user goals, retrieves relevant knowledge, and performs actionsâeither internally (through reasoning and planning) or externally (via tool use or communi- cation). This framework integrates classical principles of cognitive systems with the generalisation capabilities of foundation models. As [2] argues, LLM-based agents transcend the limitations of static, prompt- augmented language models by functioning as dynamic, structured planning systems. Their proposed typology, which includes prompt-based agents, tool-augmented agents, and memory-augmented agents, captures varying degrees of autonomy and environ- mental interaction. Meanwhile, the CoALA framework [1] anchors the design of language agents in principles of cognitive science. It introduces a modular architecture that distinguishes between memory systems (semantic, episodic, and procedural), action modalities (internal and external), and long-term planning mechanisms, thereby integrating traditional AI planning with the adaptive reasoning capabilities of LLMs. Another notable approach is AutoGPT [3], which demonstrates how LLM agents can autonomously decompose high-level goals into subtasks, execute them, and iter- atively refine their plans through a planning-act-revise loop. While less formally structured than frameworks such as ReAct [4] or CoALA [1], AutoGPT demonstrates the potential for open-ended, language-driven autonomous planning. Recent surveys [5] [6] and reviews [7] outline the latest advancements in agentic AI and its future projections. 1.2 Digital Sovereignty Digital sovereignty [8] [9] addresses the critical challenge of technological dependence and the erosion of autonomy in an increasingly centralized digital ecosystem. The fun- damental problem lies in the asymmetric power dynamic between local entities and global hyperscalers; in this context, organizations often lack control over the infras- tructure, data storage, and algorithmic processes essential to their operations. This reliance exposes actors to geopolitical risks, legal vulnerabilities regarding extraterrito- rial data laws, and the opacity of âblack boxâ proprietary systems. Consequently, the absence of a sovereign framework limits the capacity of nations and industries to self- determine their digital future, compelling them to operate under constraints imposed by foreign technology providers. Several initiatives, such as the European Unionâs Gaia-X 1 , aim to strengthen digital sovereignty. Similarly, Canada has introduced a framework 2 specifically designed to counteract this digital dependence. 1.3 Carbon-Aware Computing The environmental impact of LLMs is a critical area of investigation in sustainable computing. While the substantial carbon footprint associated with the pre-training phase of foundation models is well documented, recent scholarship emphasizes the 1 Europeâs Gaia-X: https://gaia-x.eu/ 2 Canadianframework:https://w.canada.ca/en/government/system/ digital-government/digital-government-innovations/cloud-services/digital-sovereignty/ digital-sovereignty-framework-improve-digital-readiness.html 3 growing significance of inference-related emissions. This operational aspect is partic- ularly acute in the context of agentic AI, where iterative prompting and complex reasoning tasks increase energy consumption per task exponentially. Furthermore, a comprehensive Life Cycle Assessment necessitates accounting for the embodied car- bon in hardware manufacturing and the intensive energy demands of data centres, highlighting the urgent need for carbon-efficient model architectures and rigorous Greenhouse Gas monitoring methodologies. This issue is currently being addressed through a diverse array of academic and private initiatives, such as the Green AI Institute 3 and the Canadian firm GenerIA 4 , alongside significant contributions in recent literature [10] [11]. Furthermore, sev- eral software packages designed for energy management, optimisation, and awareness have become available. Among these, CodeCarbon 5 is particularly noteworthy, having been integrated into the architecture of emerging machine learning frameworks [12]. A comparable alternative for carbon tracking is the eco2AI library [13]. 1.4 AI compliance The alignment of artificial intelligence systems with national legislative frameworks has emerged as a paramount operational requirement for system architects. While the European Union generally sets the global precedent for regulation, the legal het- erogeneity across borders necessitates a strictly localised approach to compliance. In the Canadian context, this transition from abstract ethical guidelines to enforceable statutes is exemplified by the Artificial Intelligence and Data Act (AIDA), introduced under Bill C-27 [14]. As noted by [15], the Canadian regulatory approach contrasts with European models by prioritising agile frameworks tailored specifically to high-impact systems, thereby demanding rigorous adherence to domestic sovereignty regarding data governance and liability. Consequently, regulatory compliance cannot remain a mere post-deployment audit function; rather, it must be integrated as a foundational element of the architectural design to effectively navigate these evolving regulatory markets [16]. 1.5 AI ethics Beyond strict statutory adherence, the ethical dimension of AI mandates a transition from abstract principles to operationalisable technical standards. The challenge for system architects lies in translating qualitative valuesâsuch as fairness, autonomy, and privacyâinto quantitative objective functions that autonomous agents cannot violate. As emphasised by the Montreal Declaration for Responsible AI, the develop- ment of algorithmic systems must prioritise the well-being of all sentient beings while actively mitigating the risks of algorithmic bias and opacity [17]. Consequently, ethi- cal governance is no longer a peripheral oversight mechanism but a core component of the âResponsible AIâ framework, requiring continuous monitoring of inference fairness and interpretability throughout the systemâs lifecycle [18]. 3 Green IA Institute: https://w.greenai.institute/home 4 GenerIA: https://generia.ai/en/home 5 CodeCarbon: https://mlco2.github.io/codecarbon/index.html 4 Assessing the ethical aspects of LLMs and LLM-based agents in real-time remains a complex challenge. However, emerging research begins to address this issue. For instance, [19] introduces a simulation of autonomous agents within a virtual village, where the behaviours of virtual citizens are observed and analysed. Similarly, [20] presents a simulation wherein agents act as heads of state leading a nation. Their interactions, exchanges, thoughts, and decisions are analysed through both commu- nicational and ethical lenses. Methodologies employing the LLM-as-a-judge technique [21] [22] are increasingly proposed, incorporating specific reflection on the ethical dimension. It is crucial to recognise that agents are rapidly evolving; consequently, ethical risks must be assessed not only for the present context but also for the near future, as Human-Level AI (AGI) and even superintelligence loom on the horizon. These domains of a potentially imminent future are already being documented [23] [24]. 1.6 LLM-as-Judge Methodologies Recent work employs LLMs to evaluate the outputs of other models. MT-Bench [25] and AlpacaEval [26] use GPT-4 as an automated judge to assess genera- tion quality. [27] demonstrates correlation with human judgment for reasoning tasks. However, existing judge frameworks focus on quality assessment rather than on multi-dimensional normative evaluation that simultaneously encompasses sovereignty, sustainability, compliance, and ethics. 1.7 Gap Analysis, Positioning and Contribution Table 1 summarises how existing approaches address the four dimensions central to our work. While individual solutions excel in specific areas, no existing framework provides real-time, explainable, multi-dimensional orchestration that: 1. Intercepts agent actions before execution 2. Evaluates them across sovereignty, sustainability, compliance, and ethics simulta- neously 3. Grounds assessments in dynamically updated, context-specific documentation via RAG 4. Produces quantitative scores and qualitative explanations for transparency 5. Remains architecturally agnostic through composition patterns COMPASS addresses this gap by embedding normative reasoning directly into the operational flow of autonomous agents, transforming ethical governance from a post-hoc audit mechanism into an integral component of agent architecture. Unlike existing approaches that address governance dimensions in isolation or through post-hoc auditing, COMPASS provides real-time, explainable orchestration embedded within agent workflows. By combining RAG-augmented evaluation with an LLM-as-judge methodology across four pillars simultaneously, our framework bridges the gap between policy-level compliance mapping and operational decision-making. 5 Table 1 Comparative analysis of AI governance frameworks Framework Real-time mediation Multi-dim. evaluation Dynamic grounding Cultural adaptability Modular architecture Explainable decisions Ethos InstituteâŚâ˘âŚâ˘ IEEE 7000âŚâ˘âŚâ˘ ETHOS (Web3)âŚâ˘ Ocean ProtocolâŚâ˘âŚ Constitutional AI â˘âŚ Value-alignedâŚâ˘âŚâ˘âŚâ˘ Generative Agents ⌠MT-Benchâ˘âŚâ˘ COMPASS⢠⢠= Fully supported;⌠= Not supported; ⢠= Partially supported This work provides the methodological foundation and an initial automated eval- uation of the agentic framework. Human-in-the-loop validation will be conducted as part of the extended journal version. The remainder of this paper is organised as follows: Section 2 outlines the proposed methodology, while Section 3 presents the experimental results. Section 4 provides a detailed discussion and interpretation of the findings. Finally, Section 5 concludes the study and suggests directions for future research. 2 Methodology 2.1 Architectural Overview Figure 1 illustrates the operational flow of the framework, which mediates between user intent and responsible AI execution. Unlike traditional linear LLM interactions, introduces a multi-agent orchestration layer. Input Interception: The process begins when the Orchestrator receives a user prompt. Instead of generating an immediate response, the orchestrator parses the intent and disseminates the request concurrently to four specialised sub-agents. Contextual Analysis (RAG): Each sub-agent (Digital Sovereignty, Carbon Awareness, AI Compliance, and AI Ethics) operates independently. They leverage Retrieval-Augmented Generation (RAG) to query their specific dynamic knowledge bases (Vector DBs). For instance, the Compliance Agent retrieves the latest regulatory texts, whilst the Carbon Agent accesses real-time energy intensity data. Synthesis and Conflict Resolution The core innovation lies in the Decision Synthesis phase. Once the sub-agents have analysed the request, they return specific constraints and scores rather than raw text. Constraint Aggregation: The Synthesiser aggregates these inputs, identify- ing potential conflicts (e.g., a request that is sovereign but computationally distinct and energy-intensive). Optimized Output: Through a weighted scoring mechanism, the framework reconciles these dimensions. The Final Optimised Action is generated 6 only when it satisfies the critical thresholds of all four pillars, ensuring the systemâs behaviour remains compliant, ethical, and resource-efficient by design. Fig. 1 High-level architecture of the multi-agent framework showing the decision-making flow from user input to final optimized action. 2.2 Structural Design: Composition over Hard-coding Figure 2 details the internal structure of the system using standard UML notation. The central component, the Orchestrator, employs a composition pattern (indicated by the solid diamonds) to manage its four strategic dependencies: Sovereignty, Eco, Compliance, and Ethics Agents. This design choice is critical for software maintenance: it encapsulates each domain of responsibility into a distinct class. It implies that the Orchestrator âownsâ these modules, ensuring that no decision-making instance can exist without its constituent ethical engines being instantiated and active. Implementation: Inheritance for âGovernance by Designâ The diagram also demonstrates how developers integrate into real-world scenarios via inheritance (indicated by the open arrow). Extensibility: The ConcreteApplicationAgent (representing a user-specific appli- cation, such as a Banking Bot or HR System) extends the Orchestrator base class. Enforcement: By virtue of this âIs-Aâ relationship, the concrete application automatically inherits the Synchronise () and GetEthicalClearance() methods. This enforces an architecture where high-level constraints are embedded in the parent class, making it technically impossible for the application layer to bypass the sovereignty or ethical checks defined in the frameworkâs core. 7 Fig. 2 Simplified UML Class Diagram illustrating the object-oriented architecture and extensibility of the Framework. 2.3 Local LLM and reproductibility The systemâs reasoning and judgement capabilities are driven by an LLM. Its specific configuration was determined empirically and is detailed in Table 2. LLM parameters values LLMâs namemistralaiMistral-7B-Instruct-v0.2 maxnewtokens256 temperature0.7 topp0.7 repetitionpenalty1.2 dosampleTrue padtokenidtokenizer.eostokenid eostokenidtokenizer.eostokenid numbeams1 Table 2 Instantiation of prompt keywords with concrete values for a specific query. The specific hyperparameter configuration is detailed in Table 2. We selected the Mistral-7B-Instruct-v0.2 model for its high performance-to-size ratio. To ensure the stability and reproducibility required for judging, we adopted a conservative generation strategy. A temperature of 0.7 controls the randomness of the modelâs token sampling, producing outputs that are moderately creative while still maintaining coherence and relevance. A topp value of 0.7 (nucleus sampling) restricts token selection to the smallest set of tokens whose cumulative probability equals 0.7, ensuring that only relatively probable tokens are considered. Together, these parameters balance diversity and reliability in the generated text. Furthermore, a repetition penalty of 1.2 is applied to prevent loop artefacts, while the output is constrained to a maximum of 256 tokens to encourage concise adjudications. 8 2.4 Using LLM-as-judge technique In automated evaluation, the âLLM-as-a-Judgeâ paradigm refers to a framework in which a highly capable Large Language Model (e.g., GPT-4) serves as a proxy for human evaluation to assess the quality, safety, or alignment of outputs generated by target models. Historically, evaluating generative AI has relied either on static nâ gram metrics such as BLEU and ROUGEâwhich often fail to capture semantic nuanceâor on human annotation, which is resource-intensive and difficult to scale. The LLM-as-a-Judge approach addresses these limitations by leveraging advanced modelsâ reasoning capabilities to simulate human judgement. In this configuration, the âJudgeâ model is provided with a prompt, the systemâs output, and a specific rubric (e.g., compliance, helpfulness, or reasoning). It then performs a pairwise comparison or assigns a scalar score (e.g., on a Likert scale) to the generated content. Recent studies suggest that, when properly calibrated, these automated judges correlate highly with human agreement, particularly for complex tasks involving reasoning and adherence to specific instructions [22]. In this study, the LLM-as-a-Judge framework employs both a system prompt and a user prompt for each functionality. For instance, the prompts corresponding to the Digital Sovereignty aspect are presented in the listings 1 and 2. Listing 1 Prompt system (Digital Sovereignty example Context: You are a digital sovereignty expert evaluating technological solutions. Evaluation Principles: 1. Data Localization: Where is the data stored/processed? 2. Provider Origin: Is the provider based in a jurisdiction compatible with local laws? 3. Technological Control: Is the technology developed/maintained locally? Task: Evaluate the digital sovereignty compliance of this solution. Scoring Guide: - 1.0: Fully compliant (local technology , local hosting , local governance) - 0.75: Mostly compliant (minor foreign dependencies) - 0.5: Partially compliant (significant foreign elements but some local control) - 0.25: Mostly non -compliant (primarily foreign but some local aspects) - 0.0: Non -compliant (completely foreign -controlled) or insufficient information - N/A: Not enough information to assign a score. Note: These values are reference anchors. You are encouraged to use precise intermediate scores (e.g., 0.95, 0.53, 0.20) to reflect the specific nuances of the analysis. 9 Response format: ONLY return valid JSON code in this format: " score": <float between 0.0 and 1.0, or N/A>, "explanation ": "<short text analysis >" Examples: " score": 0.8, "explanation ": "Mistral is a french model , and it is used in France ." " score": 0.2, "explanation ": "ChatGPT is a american model , and it is used in France ." " score": 0.9, "explanation ": "Mistral is made in France and also used in France ." " score": N/A, "explanation ": "Not enough information to assign a score ." PLEASE VALIDATE TWICE TO BE SURE TO OPEN AND CLOSE THE " AND THE CORRECTLY. Listing 2 Prompt user (Digital Sovereignty example The following would be the Retrieval Augmented Generation data: RAG1 This is the request to evaluate: Test_id: keyword0 \ nCountry: keyword1 \ nGenerative_AI_model: keyword2 Country_model: keyword3 \ nCountry_data: keyword4 \ nDescription: keyword5 Answer in the specified JSON format. In this user prompt, the placeholders enclosed in curly braces are dynamically replaced by actual values. Specifically, RAG1 is substituted with the content retrieved from the reference document via the RAG functionality, as detailed in Subsection 2.5. The keywords represent the specific parameters of the query under evaluation. For instance, a data point is defined by the elements listed in Table 3. keywords values keyword0âSOV-02â keyword1âCanadaâ keyword2âGoogle Geminiâ keyword3âFranceâ keyword4âCanadaâ keyword5âBuilding a cloud-based AI chatbot for customer support automationâ Table 3 Example instantiation of prompt keywords with concrete values for a specific query. 10 2.5 RAG In the context of this method, the information retrieved via RAG enables the cus- tomisation of each of the main agentâs four functionalities. This adaptation is driven by specific values and the agentâs deployment region. Table 4 presents examples of reference documents that can serve as sources for the RAG system. SubjectsReference documents Digital SoverigntyDigital Sovereignty: A Framework to improve digital readiness of the Government of Canada, Government of Canada [28] Carbon-Aware ComputingFrom Prompts to Power: Measuring the Energy Footprint of LLM Inference [29] AI ComplianceArtificial Intelligence Act, European Union. [30] AI EthicsMontreal Declaration for Responsible AI. [17] Table 4 Reference documents used for the tests. These may vary by country and usersâ preferences. The listings 3 and 4 present the System and User prompts for the agentâs Digital Sovereignty aspect. Listing 3 System prompt for RAG-based sovereignty evaluation You must extract the most valuable information in this document. Listing 4 Prompt User for RAG (Digital Sovereignty example) What are the document âs key points? The main agent supports instantiation with an optional setting that activates RAG features across all four elements. In the absence of RAG support, the system functions but with reduced efficacy, requiring the LLM-as-judge to evaluate context unaided. Conversely, when the model is augmented via RAG, the judgement process becomes customised to user-defined values, leading to the performance improvements discussed in Section 3. 2.6 Metrics BERTScore provides a semantically informed alternative to traditional n-gram-based evaluation metrics by comparing the contextual embeddings of candidate and refer- ence texts rather than their surface lexical overlap. Because it leverages pretrained transformer representations, BERTScore captures fine-grained semantic similarity, making it substantially more aligned with human judgements than metrics such as BLEU or ROUGE, especially in tasks where paraphrasing and lexical variation are common. Its use has become increasingly widespread in the assessment of generative models, as it preserves sensitivity to meaning while remaining robust to vocabulary 11 choice and word-order differences. Equation 1 (Contextual Embeddings). Both the reference and candidate sentences are mapped to contextual embeddings that capture semantic meaning informed by surrounding words. These representations are generated by large pretrained language models such as BERT, RoBERTa, XLNet, and XLM. R BERT = 1 |x| X x i âx max Ëx j âËx x ⤠i Ë x j (1) Equation 2 (Cosine Similarity). Semantic similarity between sentences is quanti- fied using cosine similarity computed over contextual embeddings, enabling robust matching even when the lexical wording differs. P BERT = 1 | Ë x| X Ëx j âËx max x i âx x ⤠i Ë x j (2) Equation 3 (Token Matching for Precision and Recall). Token-level alignment is performed in both directions: each candidate token is matched to the most similar reference token, and each reference token is matched to the most similar candidate token. These directional similarities yield recall and precision, which are combined via their harmonic mean to produce the BERTScore F1. F BERT = 2¡ P BERT ¡ R BERT P BERT + R BERT (3) Beyond these core computations, the contribution of each token may be modu- lated using Inverse Document Frequency (IDF) weighting. This optional refinement emphasises rare or domain-specific words, thereby better aligning the scoring process with the semantic distribution of specialised corpora. To improve interpretability and ensure comparability across datasets, BERTScore values can also be rescaled using baseline statistics derived from large monolingual corpora such as Common Crawl. This linear transformation adjusts scores to fall within a more intuitive and empirically grounded range. Ë R BERT = R BERT â b 1â b In the present work, BERTScore is used to compare the differences between the LLM-as-judge with and without RAG augmentation. Although human-in-the-loop validation will be introduced at a later stage, this evaluation already illustrates the degree of personalisation enabled by RAG-based data augmentation relative to the user-provided document. 3 Results Experimental results were generated for the agentâs four core capabilities. In this initial iteration of the framework, only the evaluation mechanism has been implemented for each sub-agent; however, each domain holds significant potential for future expansion 12 and the integration of additional features. These evaluation capabilitiesâcovering Dig- ital Sovereignty, Carbon-Aware Computing, AI Compliance, and AI Ethicsâserve as the foundation of our method. They demonstrate the core premise: that agents inher- iting from the framework will possess the requisite intelligence and domain knowledge to enhance the acceptability of agentic AI. Tables 5, 6, 7, and 8 present the results across these dimensions. The Test id. column indicates the unique test identifier and its category: SOV for Digital Sovereignty, CAR for Carbon-Aware Computing, COM for AI Compliance, and ETH for AI Ethics. The Score without RAG and Score with RAG columns display the ratings assigned by the LLM-as-a-judge. The âScore denotes the variance between these ratings, highlighting the impact of the RAG-retrieved information. Finally, the Similarity field provides the BERTScore, measuring the semantic similarity between the explanatory texts generated by the LLM to justify its judgments. Test id. Score without RAG Score with RAGâ Score Similarity SOV-010.250.50+0.2574.7% SOV-020.250.25+0.0076.1% SOV-030.250.25+0.0077.0% SOV-040.250.25+0.0079.2% SOV-050.500.50+0.0080.4% SOV-060.250.50+0.2580.3% SOV-070.250.50+0.2577.6% SOV-080.500.75+0.2578.0% SOV-090.250.25+0.0080.7% SOV-100.250.50+0.2575.5% Table 5 Results for the evaluation of the sovereignty aspect. Test id. Score without RAG Score with RAGâ Score Similarity CAR-010.850.80-0.0575.8% CAR-020.500.50+0.0081.4% CAR-030.500.50+0.0085.3% CAR-040.650.60-0.0579.6% CAR-050.500.50+0.0074.3% CAR-060.500.53+0.0382.7% CAR-070.500.55+0.0579.2% CAR-080.500.50+0.0088.7% CAR-090.750.75+0.0076.1% CAR-100.500.50+0.0080.0% Table 6 Results for the evaluation of the carbon aspect. As illustrated in Fig. 1, each sub-agent transmits a set of constraints (information) alongside a corresponding score to the decision synthesis module (depicted as the green 13 Test id. Score without RAG Score with RAGâ Score Similarity COM-010.500.25-0.2576.4% COM-020.500.25-0.2575.6% COM-030.500.50+0.0075.5% COM-040.500.50+0.0076.8% COM-050.500.25-0.2577.4% COM-06N/A0.50N/A67.9% COM-070.500.25-0.2570.2% COM-080.50N/AN/A67.0% COM-090.50N/AN/A66.2% COM-100.500.25-0.2578.6% Table 7 Results for the evaluation of the compliance aspect. Test id. Score without RAG Score with RAGâ Score Similarity ETH-010.750.75+0.0076.4% ETH-021.000.95-0.0581.4% ETH-030.500.25-0.2577.2% ETH-040.500.50+0.0078.2% ETH-050.500.50+0.0090.8% ETH-060.500.50+0.0077.9% ETH-070.500.50+0.0072.9% ETH-080.250.25+0.0079.2% ETH-090.500.50+0.0079.6% ETH-100.500.50+0.0085.5% Table 8 Results for the evaluation of the ethical aspect. box in the figure). Presently, this module consolidates the received data and presents it as a bar chart and a radar plot, thereby summarising the entire process. Following their utilisation by this explainability module, the generated text and score serve as the basis for determining the optimal course of action, if applicable. This final step, though already conceptualised, represents the logical culmination of our proposed framework. Its implementation is reserved for the next iteration of our methodology and will be addressed in future work. The two generated visualisations, depicted in Fig. 3 and Fig. 4, provide an explanatory representation of the decision synthesis process. 14 Fig. 3 Explainability: Bar chart for use case (test.id): SOV-05, CAR-05, COM-05, ETH-05. Fig. 4 Explainability: radar graphic for use case (test.id): SOV-05, CAR-05, COM-05, ETH-05. 4 Discussion 4.1 Comparison with Concurrent Work While the blockchain-based ETHOS framework [31] provides robust post-hoc account- ability through immutable audit trails, COMPASS operates at a fundamentally different temporal point in the agent lifecycle. ETHOS excels at verifying what hap- pened, whereas COMPASS focuses on guiding what should happen. These approaches are complementary: COMPASS decisions could be logged to an ETHOS registry, creating an end-to-end governance pipeline from real-time mediation to permanent record-keeping. Similarly, meta-frameworks like Ethos Instituteâs harmonisation system [32] pro- vide invaluable mappings between regulatory requirements. COMPASS operationalises these mappings by translating abstract compliance principles into executable eval- uation logic grounded in specific documentation via RAG. Where meta-frameworks answer âwhat regulations apply?â, COMPASS answers âdoes this action comply?â To validate the architectural necessity of the retrieval mechanism, we conducted an ablation study comparing the agentâs performance in its Vanilla state (an LLM 15 Table 9 Qualitative comparison of the Framework against existing AI paradigms. FeatureVanilla LLM Standard RAG sLLM Agents (Ours) ReasoningBlack-boxRetrieval- based Goal-orientedValue- aligned AdaptabilityNoYesPartialYes (e.g. to new laws) SovereigntyLowMediumMediumHigh (Local exec.) Multi-dim. CheckNoNoNoYes (Conflict solver) ExplainabilityParametricRetrieved Context Action Traces Context & Adjudica- tion Note: âsLLM Agentsâ refers to standard task-oriented frameworks like AutoGPT. reliant solely on pretraining weights) versus its Augmented state (a Framework with RAG). The results highlight a critical distinction in the reliability of the agentic deci- sions. While the quantitative scores ( δScore ) may occasionally convergeâindicating that the base model possesses a foundational understanding of high-level ethical or sovereign conceptsâthe qualitative analysis reveals the limits of the non-augmented approach. Without access to external references, the standard LLM tends to gener- ate generic justifications or, in worst-case scenarios, hallucinations regarding specific local regulations (e.g., hallucinating a non-existent Canadian privacy statute). Con- versely, integrating RAG ensures that the agentâs reasoning is grounded in verified, up-to-date documents. The semantic similarity metrics and the explicit citations in the generated explanations evidence this grounding. Consequently, the framework shifts the agentâs behaviour from probabilistic guessing to evidence-based adjudication, a requisite feature for social acceptability in sensitive deployment environments. While the present study relies exclusively on automated evaluation using an LLM-as-a-judge, it does not yet include human-in-the-loop validation, which remains essential for establishing empirical reliability beyond model-to-model agreement. Future work will incorporate a structured human evaluation phase to assess inter-rater consistency and to benchmark the judgeâs decisions against expert and non-expert annotators. In parallel, we plan to investigate whether performance and robustness can be improved through a mixture-agent approach, in which complementary agents specialise in distinct assessment dimensions and collectively provide a more robust evaluation signal. Naturally, conflicts may arise between sub-agents, as one may assign a favourable score while another attributes an unfavourable one. For instance, addressing con- cerns about local data centres and LLMs could inadvertently reduce energy efficiency and increase GHG emissions. However, such scenarios involve numerous subtleties 16 that require careful consideration. It is the role of the orchestrator to elucidate these nuances, a task that would prove considerably more challenging without our Agent, which encapsulates all core functionalities. While this method demonstrates potential, its capacity to select optimal actions remains underdeveloped. At present, it can generate explanations and assign scores, but future iterations could actively enforce compliance with our ethical framework. For example, a practical application might involve intelligently selecting an appro- priate LLM for a given taskâone that minimises bias, operates locally, and, where feasible, consumes less energy. Another concrete action could be issuing real-time alerts to users, such as flagging when a task violates local regulations. Moving for- ward, innovative solutions will be essential to fully realise this systemâs potential. Several key avenues for improvement warrant exploration in future work: 1. This foundational method establishes the groundwork for the further development of the four sub-agents. Multiple features specific to each sub-agent can be added to refine and enhance the method. It is intended to serve as the core framework, with each functionality to be further developed and elaborated. 2. Document Curation for RAG â A systematic study is needed to identify and select the most relevant documents for RAG to ensure high-quality inputs. Additionally, expanding the system to support a broader corpus of reference documents could further enhance performance. 3. LLM-as-Judge Refinement â The evaluation capabilities of LLM-based judging mechanisms require improvement, particularly in mitigating inherent biases that may influence decision-making. 4. Human-in-the-Loop Validation â Current limitations include a lack of structured human oversight. Future research should investigate hybrid validation methods that integrate expert review to refine and verify the systemâs outputs. 5. Code-Level Ethical Analysis â Beyond data analysis, the Agent will eventually extend its evaluation to the underlying code of augmented agents, enabling a more comprehensive and granular ethical assessment. 5 Conclusion This paper introduces the COMPASS Framework, a novel multi-agent orchestration architecture designed to address the critical challenge of aligning agentic AI systems with contemporary imperatives of digital sovereignty, environmental sustainability, regulatory compliance, and ethical responsibility. Unlike conventional LLM-based approaches that prioritise task performance in isolation, our framework systematically integrates value-aligned reasoning into the operational logic of autonomous agents through a modular, extensible design. The proposed system comprises an Orches- trator that coordinates four specialised sub-agents, each responsible for evaluating a distinct normative dimension. By leveraging RAG to ground assessments in verified, context-specific documentation, the framework mitigates the hallucination risks inher- ent to purely parametric models while enabling adaptability across diverse regulatory and cultural contexts. Our LLM-as-a-judge methodology provides both quantitative 17 scoring and qualitative explanations, facilitating transparency and interpretability. These features constitute essential prerequisites for the social acceptability of AI systems in sensitive deployment environments. Automated evaluation demonstrates that RAG integration substantially enhances semantic coherence, as measured by BERTScore, and ensures that agent reasoning is evidence-based rather than spec- ulative. The architectureâs composition-based design permits seamless integration into existing agentic workflows, thereby extending responsible AI practices across application domains without requiring fundamental restructuring of host systems. Nevertheless, several limitations warrant acknowledgement. Firstly, the current study relies exclusively on automated evaluation; human-in-the-loop validation remains essential to empirically assess inter-rater reliability and benchmark model judge- ments against expert consensus. Secondly, whilst the framework successfully generates scores and explanations, its capacity to autonomously select and execute corrective actions remains underdeveloped. Future iterations must implement decision-making modules capable of dynamically selecting optimal LLMs based on sovereignty con- straints or issuing real-time alerts when tasks violate regulatory boundaries. Thirdly, potential conflicts between sub-agents require sophisticated orchestration strategies. For instance, tensions between local data sovereignty and carbon efficiency necessi- tate a transparent resolution of trade-offs. Looking forward, several research avenues merit exploration. Document curation methodologies for RAG must be systematically investigated to optimise retrieval quality and expand reference corpora. The LLM-as- judge mechanism itself warrants refinement, particularly in terms of bias mitigation and consistency across diverse evaluation contexts. A mixture-of-agents approach, in which complementary models provide robust assessment signals, may further enhance robustness. Finally, extending the frameworkâs analytical scope to code-level ethical auditing would facilitate more comprehensive governance. This extension would enable examination of the underlying algorithms of augmented agents. In conclusion, the Framework represents a foundational step towards reconciling the operational auton- omy of agentic AI with the normative constraints essential for responsible deployment. By embedding multi-dimensional ethical reasoning directly into agent architectures, this work contributes to the broader endeavour of ensuring that advanced AI sys- tems remain aligned with human values, societal norms, and planetary boundaries. As agentic AI continues to permeate critical domains, from healthcare to public adminis- tration, frameworks such as will prove indispensable in fostering both innovation and trustworthiness. 6 Statements and Declarations Fundings This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors. Conflict of interest The authors confirm there are no conflicts of interest. Ethical approval The work uses publicly available and non-identifiable information. No ethical approval was needed. 18 Consent to participate Not applicable, as no human participants were involved in the evaluation of our study. Consent for publication Consent for publication is not applicable as this study does not contain any identifiable data. Availability of data and material Not available at this time. All data and mate- rials will be made available upon publication in a journal. Code availability Not available at this time. All code will be made available upon publication in a journal. Authorsâ contributions JSD: Conceptualisation, Methodology, Validation, Resources, Writing - Review & Editing, Supervision, Project administration. This manuscript benefited from the assistance of an AI-based language model (LLMs, Grammarly, DeepL) for improving the clarity and fluency of academic English. All content was reviewed and approved by the authors. References [1] Sumers, T.R., Yao, S., Narasimhan, K., Griffiths, T.L.: Cognitive Architectures for Language Agents. arXiv. https://doi.org/10.48550/arXiv.2309.02427 . http: //arxiv.org/abs/2309.02427 Accessed 2025-05-24 [2] Huang, X., Liu, W., Chen, X., Wang, X., Wang, H., Lian, D., Wang, Y., Tang, R., Chen, E.: Understanding the planning of LLM agents: A survey. arXiv. version: 1. https://doi.org/10.48550/arXiv.2402.02716 . http://arxiv.org/abs/2402.02716 Accessed 2025-05-24 [3] Significant Gravitas: AutoGPT. original-date: 2023-03-16T09:21:07Z. https:// github.com/Significant-Gravitas/AutoGPT Accessed 2025-05-24 [4] Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., Cao, Y.: ReAct: Synergizing Reasoning and Acting in Language Models. arXiv. arXiv:2210.03629 [cs] (2023). https://doi.org/10.48550/arXiv.2210.03629 . http://arxiv.org/abs/ 2210.03629 Accessed 2025-05-20 [5] Huynh, N., Lin, B.: Large Language Models for Code Generation: A Compre- hensive Survey of Challenges, Techniques, Evaluation, and Applications. arXiv. arXiv:2503.01245 [cs] (2025). https://doi.org/10.48550/arXiv.2503.01245 . http: //arxiv.org/abs/2503.01245 Accessed 2025-12-15 [6] Acharya, D.B., Kuppan, K., Divya, B.: Agentic AI: Autonomous Intelligence for Complex GoalsâA Comprehensive Survey. IEEE Access 13, 18912â18936 (2025) https://doi.org/10.1109/ACCESS.2025.3532853 . Accessed 2025-12-15 19 [7] Hosseini, S., Seilani, H.: The role of agentic AI in shaping a smart future: A systematic review. Array 26, 100399 (2025) https://doi.org/10.1016/j.array.2025. 100399 . Accessed 2025-12-15 [8] Floridi, L.: The Fight for Digital Sovereignty: What It Is, and Why It Matters, Especially for the EU. Philosophy & Technology 33(3), 369â378 (2020) https: //doi.org/10.1007/s13347-020-00423-6 . Accessed 2025-12-16 [9] Pohle, J., Thiel, T.: Digital sovereignty. Social Science Research Network, Rochester, NY (2020). https://papers.ssrn.com/abstract=4081180 Accessed 2025-12-16 [10] Cowls, J., Tsamados, A., Taddeo, M., Floridi, L.: The AI gambit: leveraging artificial intelligence to combat climate changeâopportunities, challenges, and recommendations. AI & SOCIETY 38(1), 283â307 (2023) https://doi.org/10. 1007/s00146-021-01294-x . Accessed 2025-12-16 [11] Toumi, S., Aljadani, A., Toumi, H., Ammouri, B., Dhiabi, M.: AI for climate change: unveiling pathways to sustainable development through greenhouse gas emission predictions. Eurasian Economic Review 15(4), 923â963 (2025) https: //doi.org/10.1007/s40822-024-00295-7 . Accessed 2025-12-16 [12] Dessureault, J.-S., Massicotte, D.: AI2: the next leap toward native language- based and explainable machine learning framework. Automated Software Engi- neering 30(2), 32 (2023) https://doi.org/10.1007/s10515-023-00399-5 . Accessed 2025-12-15 [13] Budennyy, S.A., Lazarev, V.D., Zakharenko, N.N., Korovin, A.N., Plosskaya, O.A., Dimitrov, D.V., Akhripkin, V.S., Pavlov, I.V., Oseledets, I.V., Barsola, I.S., Egorov, I.V., Kosterina, A.A., Zhukov, L.E.: eco2AI: Carbon Emissions Tracking of Machine Learning Models as the First Step Towards Sustain- able AI. Doklady Mathematics 106(1), 118â128 (2022) https://doi.org/10.1134/ S1064562422060230 . Accessed 2025-12-16 [14] Parliament of Canada: Bill C-27: An Act to enact the Consumer Privacy Pro- tection Act, the Personal Information and Data Protection Tribunal Act and the Artificial Intelligence and Data Act. First Reading, June 16, 2022 (2022). https://w.parl.ca/LegisInfo/en/bill/44-1/c-27 [15] Scassa, T.: The artificial intelligence and data act: The canadian approach to ai regulation. Osgoode Hall Law Journal (Forthcoming) (2023). Research Paper [16] Hadfield, G.K., Clark, J.: Regulatory markets: The future of ai governance. White paper, Schwartz Reisman Institute for Technology and Society, Toronto (2023) [17] University of Montreal: The Montreal Declaration for a Responsible Develop- ment of Artificial Intelligence. Universit Ěe de Montr Ěeal (2018). https://w. 20 montrealdeclaration-responsibleai.com/ [18] Dignum, V.: Responsible Artificial Intelligence: How to Develop and Use AI in a Responsible Way. Springer, Cham (2019) [19] Park, J.S., OâBrien, J.C., Cai, C.J., Morris, M.R., Liang, P., Bernstein, M.S.: Generative Agents: Interactive Simulacra of Human Behavior. arXiv. arXiv:2304.03442 [cs] (2023). https://doi.org/10.48550/arXiv.2304.03442 . http: //arxiv.org/abs/2304.03442 Accessed 2025-06-02 [20] al., D.: Evaluating Agentic AI Through a Geopolitical Simulation Sandbox - IJCCI 2025 (2025) [21] Liu, X., Yu, H., Zhang, H., Xu, Y., Lei, X., Lai, H., Gu, Y., Ding, H., Men, K., Yang, K., Zhang, S., Deng, X., Zeng, A., Du, Z., Zhang, C., Shen, S., Zhang, T., Su, Y., Sun, H., Huang, M., Dong, Y., Tang, J.: AgentBench: Evaluating LLMs as Agents. arXiv. https://doi.org/10.48550/arXiv.2308.03688 . http://arxiv.org/ abs/2308.03688 Accessed 2025-05-24 [22] Zheng, L., Chiang, W.-L., Sheng, Y., Zhuang, S., Wu, Z., Zhuang, Y., Lin, Z., Li, Z., Li, D., Xing, E., et al.: Judging llm-as-a-judge with mt-bench and chatbot arena. In: Advances in Neural Information Processing Systems (NeurIPS) (2024). https://arxiv.org/abs/2306.05685 [23] Bostrom, N.: Superintelligence: Paths, Dangers, Strategies. Oxford University Press, Oxford (2014) [24] Dessureault, J.-S., Lamontagne, R., Paris Ěe, P.-O.: The ethics of creating artificial superintelligence: a global risk perspective. AI and Ethics 5(6), 6241â6263 (2025) https://doi.org/10.1007/s43681-025-00793-7 . Accessed 2025-12-15 [25] Zheng, L., Chiang, W.-L., Sheng, Y., et al.: Judging llm-as-a-judge with mt- bench and chatbot arena. In: Advances in Neural Information Processing Systems (2023) [26] Li, X., Zhang, T., Dubois, Y., Taori, R., Gulrajani, I., Guestrin, C., Liang, P., Hashimoto, T.B.: Alpacaeval: An automatic evaluator of instruction-following models. arXiv preprint arXiv:2305.14387 (2023) [27] Chiang, C.-H., Lee, H.-y.: Can large language models be good judges? arXiv preprint arXiv:2304.10619 (2024) [28] Secretariat, T.B.o.C.: Digital Sovereignty: A Framework to improve dig- ital readiness of the Government of Canada. Last Modified: 2025-11-12 (2025).https://w.canada.ca/en/government/system/digital-government/ digital-government-innovations/cloud-services/digital-sovereignty/ digital-sovereignty-framework-improve-digital-readiness.htmlAccessed 21 2026-03-11 [29] Caravaca, F., Cuevas, Cuevas, R.: From Prompts to Power: Measuring the Energy Footprint of LLM Inference (2025). https://arxiv.org/abs/2511.05597 [30] The Act Texts | EU Artificial Intelligence Act. https://artificialintelligenceact. eu/the-act/ Accessed 2026-03-11 [31] Ethos: Ethical technology and holistic oversight system for ai agents. arXiv preprint arXiv:2412.17114 (2024) [32] Ethos Institute: Ethos Institute AI Governance Framework. https://w.ethos. institute/ (2024) 22