cs.AIFeb 28, 2026

From Goals to Aspects, Revisited: An NFR Pattern Language for Agentic AI Systems

Authors: Yijun Yu

Organizations: The Open University, Milton Keynes, UK

Abstract

Agentic AI systems exhibit numerous crosscutting concerns -- security, observability, cost management, fault tolerance -- that are poorly modularized in current implementations, contributing to the high failure rate of AI projects in reaching production. The goals-to-aspects methodology proposed at RE 2004 demonstrated that aspects can be systematically discovered from i* goal models by identifying non-functional soft-goals that crosscut functional goals. This paper revisits and extends that methodology to the agentic AI domain. We present a pattern language of 12 reusable patterns organized across four NFR categories (security, reliability, observability, cost management), each mapping an i* goal model to a concrete aspect implementation using an AOP framework for Rust. Four patterns address agent-specific crosscutting concerns absent from traditional AOP literature: tool-scope sandboxing, prompt injection detection, token budget management, and action audit trails. We extend the V-graph model to capture how agent tasks simultaneously contribute to functional goals and non-functional soft-goals. We validate the pattern language through a case study analyzing an open-source autonomous agent framework, demonstrating how goal-driven aspect discovery systematically identifies and modularizes crosscutting concerns. The pattern language offers a principled approach for engineering reliable agentic AI systems through early identification of crosscutting concerns.

Explore similar work

CardsList
  1. Agent Security is a Systems Problem

    May 18, 2026Mihai Christodorescu, Earlence Fernandes, Ashish Hooda +11AI Agent Security

  2. Trustworthy Agentic AI: Failure Modes, Mitigation Strategies, and a Lifecycle Framework for Autonomous LLM Systems

    Sep 19, 2026Fayeq Jeelani Syed, Rehan Ahmad, Ali Al Bataineh +1LLM Agent SecurityLLM Agents

  3. Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges

    Sep 20, 2026Heewon Baek, Alsharif Abuadbba, Kristen Moore +2AI Agent SecurityAI Agent Evaluation