# Tropos（方法论）

**Tropos**是一种面向代理的软件开发方法论，以需求为驱动：它在整个开发过程中——从最早的组织环境分析直至实现阶段——始终使用源自i*建模框架的参与者、目标和依赖关系等概念<sup>[1](https://iris.unitn.it/handle/11572/74266)</sup>。该方法论由Jaelson Castro、Manuel Kolp和John Mylopoulos于2002年提出，并由Paolo Bresciani、Anna Perini、Paolo Giorgini、Fausto Giunchiglia和John Mylopoulos在2004年的一篇期刊论文中加以完善<sup>[2](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)</sup><sup> • </sup><sup>[3](https://apice.unibo.it/bin/view/Publication/TroposJaamas8)</sup>。

| 关键事实 | 详情 |
|---|---|
| 方法类型 | 用于开发社会技术系统的面向代理的软件工程方法论，其中软件与社会参与者（人和组织）被放在一起建模<sup>[4](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)</sup> |
| 建模基础 | Eric Yu的i*框架：参与者（代理、角色或职位）、目标、软目标、任务、资源，以及参与者之间的战略依赖关系<sup>[2](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)</sup> |
| 开发阶段 | 五个：早期需求、晚期需求、架构设计、详细设计和实现<sup>[4](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)</sup> |
| 核心思想 | 代理和心智概念（目标、计划）贯穿所有阶段，并且涵盖了需求分析的最早期阶段——在编写规定性需求之前<sup>[1](https://iris.unitn.it/handle/11572/74266)</sup> |
| 参考出版物 | Bresciani、Perini、Giorgini、Giunchiglia和Mylopoulos，*Autonomous Agents and Multi-Agent Systems* 8(3)，第203–236页，2004年，Kluwer Academic Publishers<sup>[3](https://apice.unibo.it/bin/view/Publication/TroposJaamas8)</sup> |
| 形式化支持 | Formal Tropos，一种时序规约语言，由基于NuSMV构建的T-Tool模型检查器进行检验<sup>[5](https://www.cs.toronto.edu/~afuxman/publications/re01.pdf)</sup> |
| 动机 | 缩小系统与其组织环境之间的语义鸿沟，因为传统方法论受编程概念而非组织概念启发<sup>[2](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)</sup> |

## 两个核心思想

2004年的期刊论文指出，Tropos建立在两个思想之上。第一个核心思想是：代理概念以及与之相关的心智概念——如目标和计划——适用于软件开发的每一个阶段，从早期分析一直贯穿到实现。其次，Tropos涵盖了需求分析的最早期阶段，这使得人们能够更深入地理解软件必须运行于其中的环境，以及软件与人类代理之间应当发生的交互<sup>[1](https://iris.unitn.it/handle/11572/74266)</sup>。综述章节的作者将这种对需求分析的强调描述为Tropos区别于其他面向代理的软件开发方法论的特征<sup>[6](https://disi.unitn.it/~pgiorgio/papers/MASM-bookchapter04.pdf)</sup>。

动机在创始论文中有所阐述：信息系统历来饱受阻抗失配之苦，因为其运行环境是以参与者、职责、目标、任务和资源来理解的，而系统本身却被构想为模块、数据结构和接口。Tropos之所以是需求驱动的，是因为它建立在用于建模早期需求的概念之上，采用i*及其参与者、目标和参与者依赖关系等概念作为所有后续阶段的基础<sup>[2](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)</sup>。

## 五个阶段

**早期需求。** 分析人员研究现有的组织环境，即所谓的“现状”环境——待建系统将在此环境中引入。利益相关者被识别并建模为社会参与者，他们彼此依赖以实现目标、执行计划和提供资源。输出是一个组织模型，通常是一张参与者（战略依赖）图和一张解释组织内部过程的战略理由图<sup>[2](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)</sup><sup> • </sup><sup>[4](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)</sup>。这一阶段解释了为什么要构建该软件，并为后续的设计和实现方案提供依据<sup>[7](https://www.isys.ucl.ac.be/ThesisHoangTTH.pdf)</sup>。

**晚期需求。** 待建系统作为新的参与者被引入模型，意图依赖关系的重构被提出并加以分析。输出描述了系统在其运行环境中的情况，以及其功能性和非功能性需求；对系统参与者进行手段-目的分析可以将其分解为多个参与者，且这些步骤可以迭代进行<sup>[4](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)</sup>。

**架构设计。** 系统的全局架构通过子系统之间的数据、控制和其他依赖关系来定义。Tropos利用NFR框架和一个组织架构风格库，从组织角度选择最合适的架构<sup>[8](https://www.cs.toronto.edu/~alexei/pub/MScThesis.pdf)</sup>。

**详细设计与实现。** 每个架构组件的行为被进一步详细规定，使用i*概念以及代理统一建模语言（AUML）图<sup>[7](https://www.isys.ucl.ac.be/ThesisHoangTTH.pdf)</sup>。该方法论包含从详细设计生成实现的技术，而面向代理的编程平台是自然的目标，因为设计已经以参与者、目标和相互依赖关系来表达；BDI代理编程语言（基于信念、愿望、意图的代理语言）被用于实现<sup>[2](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)</sup><sup> • </sup><sup>[7](https://www.isys.ucl.ac.be/ThesisHoangTTH.pdf)</sup>。

由于相同的概念和制品贯穿所有阶段，Tropos被提出来以促进整个生命周期的可追溯性：构建过程中出现的问题可以追溯到其原始需求，分析可以检验实现是否满足利益相关者的目标<sup>[4](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)</sup>。

## 目标分析与形式化扩展

目标分析具有核心地位。开发始于识别作为参与者的利益相关者及其根目标；这些目标被分析、精化并委托给现有或新的参与者，当足够多的目标被委托出去以至于履行所有参与者的职责即实现了所有根目标时，过程结束。形式化目标模型支持前向推理——检验被满足的叶目标是否蕴含被满足的根目标——和后向推理——找出一组叶目标，它们共同满足所有根目标<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0952197604001885)</sup>。

**Formal Tropos。** 由于i*图不是形式化规约，Formal Tropos语言被提出；它保留了参与者、目标和战略依赖关系等基本概念，但增加了一种受KAOS启发的丰富的时序规约语言。随后，模型检查自动验证早期需求规约的性质。T-Tool原型在NuSMV符号模型检查器之上实现了这一点，初步实验表明，形式化分析揭示了早期需求中非正式方法难以发现的不一致和缺口<sup>[5](https://www.cs.toronto.edu/~afuxman/publications/re01.pdf)</sup>。

## 工具支持

有多种工具支持该方法论：TAOM4E是一个基于Eclipse的图形化模型编辑器，覆盖整个开发周期，包括代码生成和测试；t2x支持生成面向代理的实现；T-Tool提供模型检查；GR-Tool支持对目标模型进行形式化推理；多代理规划工具支持在备选委托网络之间进行选择<sup>[4](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)</sup>。

## 应用与案例研究

Tropos从一开始就以案例研究加以说明，包括一个中等复杂度的贴近实际的电子商务系统<sup>[2](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)</sup>。在一项具有工业色彩的研究中，三名全职人员花了四个月时间采访Ice Co——特伦蒂诺一家乳制品公司——的员工，并完善Tropos模型，作为让特伦蒂诺企业获得基于网络的物流服务的项目的一部分<sup>[10](https://www.researchgate.net/publication/30530459_Applying_Tropos_Methodology_to_a_real_case_study_Complexity_and_Criticality_Analysis)</sup>。当时在特伦托大学工作的计算机科学家Marco Aiello和Paolo Giorgini展示了该方法论适用于Web服务，在一个零售业案例研究中用它来建模服务质量需求，如性能、成本、可靠性和安全性<sup>[11](https://pure.rug.nl/ws/portalfiles/portal/2986190/2004UpgradeAiello.pdf)</sup>。一种基于Tropos的开发可适应和开放服务系统的过程已被应用于供应链管理<sup>[12](https://onlinelibrary.wiley.com/doi/abs/10.1155/2021/1629419)</sup>，该方法论也被用于较小场景中的需求建模；一项对西爪哇TVRI广播电台作业信息系统的研究应用了Tropos的早期和晚期需求建模，报告了79.1%的验证准确率<sup>[13](https://openlibrarypublications.telkomuniversity.ac.id/index.php/engineering/en/article/view/9958)</sup>。

来自FBK特伦托以及特伦托、多伦多、鲁汶、海法和累西腓各大学的研究贡献在安全、规范、风险、代理测试、自适应系统、可追溯性、服务、形式化分析和模型交换等方向上扩展了该方法论<sup>[4](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)</sup>。

## 与其他面向代理方法论的比较

Tropos是几种著名的面向代理的软件工程（AOSE）方法论之一，与Gaia、MaSE、MESSAGE、PASSI、ADELFE、ASEME和[Prometheus](https://www.edgepedia.org/zh/prometheus)并列。皇家墨尔本理工大学的Khanh Hoa Dam和Michael Winikoff进行了一项比较，使用基于属性的框架评估了MaSE、Prometheus和Tropos，该框架涵盖概念、建模语言、过程和实用性，并结合了来自方法论作者的问卷回答和学生的实验评估<sup>[14](https://citeseerx.ist.psu.edu/document?doi=5cec229405f9fa6c55feaf26ebc5c3f28f479f2b&repid=rep1&type=pdf)</sup>。2021年《Complexity》上的一篇综述将“提出用于自动化模型转换的方法和工具”列为Tropos的优势之一，将“不针对特定类型的软件”列为其局限之一<sup>[12](https://onlinelibrary.wiley.com/doi/abs/10.1155/2021/1629419)</sup>。同一综述指出，AOSE方法论作为一个领域缺乏标准化，且很少有工具能自动生成代码<sup>[12](https://onlinelibrary.wiley.com/doi/abs/10.1155/2021/1629419)</sup>。

该方法论自己的作者在早期综述中承认了局限：当时Tropos仅应用于若干规模不大的案例研究，缺乏支持阶段间过渡的工具，且尚未用于开发成熟的多代理系统<sup>[6](https://disi.unitn.it/~pgiorgio/papers/MASM-bookchapter04.pdf)</sup>。

## Tropos与代理式AI

2026年一项关于目标导向需求工程的系统性映射认为，Tropos等经典方法建立在代理的符号模型之上，假设目标、推理结构和操作行为可以在设计时明确规约，并在部署后保持稳定。对于行为是概率性的、情境依赖的且通过学习而非设计获得的自适应AI系统而言，这些假设变得脆弱<sup>[15](https://link.springer.com/article/10.1007/s00766-026-00476-7)</sup>。

对此，Tropos方法论的作者们提出了一项扩展，在Tropos本体中增加两个概念：l-代理（代理体，即通过训练而非设计来实现其目标的代理，如基于大语言模型的系统）和l-目标（通过学习而非设计来满足的目标）。其主张是，这两个概念足以将大语言模型概念引入Tropos，以设计和训练未来的面向代理系统，使其兼顾传统代理和代理体<sup>[15](https://link.springer.com/article/10.1007/s00766-026-00476-7)</sup>。同一映射建议重新审视Tropos的经典概念如委托——它涉及参与者之间的目标分配，但在自适应AI系统中越来越多地涉及委托推理权威，即在情境依赖条件下在运行时将目标操作化的权力<sup>[15](https://link.springer.com/article/10.1007/s00766-026-00476-7)</sup>。

## References

1. [Bresciani, Perini, Giorgini, Giunchiglia, Mylopoulos (2004). TROPOS: an agent-oriented software development methodology. IRIS, University of Trento.](https://iris.unitn.it/handle/11572/74266)
2. [Castro, Kolp, Mylopoulos (2002). A Requirements-Driven Development Methodology. University of Toronto.](https://www.cs.toronto.edu/km/tropos/caiselncs.pdf)
3. [Tropos: An Agent-Oriented Software Development Methodology, APICe publication record, Autonomous Agents and Multi-Agent Systems 8(3), 2004.](https://apice.unibo.it/bin/view/Publication/TroposJaamas8)
4. [Morandini, Dalpiaz, Nguyen, Siena. The Tropos Software Engineering Methodology.](https://webspace.science.uu.nl/~dalpi001/papers/mora-dalp-nguy-sien-14-aose.pdf)
5. [Fuxman, Pistore, Mylopoulos, Traverso. Model Checking Early Requirements Specifications in Tropos.](https://www.cs.toronto.edu/~afuxman/publications/re01.pdf)
6. [Giorgini, Perini, Mylopoulos et al. The Tropos Methodology: An Overview.](https://disi.unitn.it/~pgiorgio/papers/MASM-bookchapter04.pdf)
7. [Hoang, T. T. H. Quality-Aware software development with Tropos, UCL thesis.](https://www.isys.ucl.ac.be/ThesisHoangTTH.pdf)
8. [M.Sc. thesis outlining Tropos phases adapted from Castro et al. 2002, University of Toronto.](https://www.cs.toronto.edu/~alexei/pub/MScThesis.pdf)
9. [Goal-oriented requirements analysis and reasoning in the Tropos methodology, Engineering Applications of Artificial Intelligence 18(2), 2005.](https://www.sciencedirect.com/science/article/abs/pii/S0952197604001885)
10. [Applying Tropos Methodology to a real case study: Complexity and Criticality Analysis.](https://www.researchgate.net/publication/30530459_Applying_Tropos_Methodology_to_a_real_case_study_Complexity_and_Criticality_Analysis)
11. [Aiello, Giorgini. Applying the Tropos Methodology for Analysing Web Services Requirements and Reasoning about Qualities of Services.](https://pure.rug.nl/ws/portalfiles/portal/2986190/2004UpgradeAiello.pdf)
12. [Abdalla (2021). Agent-Oriented Software Engineering Methodologies: Analysis and Future Directions. Complexity.](https://onlinelibrary.wiley.com/doi/abs/10.1155/2021/1629419)
13. [Penerapan Metode Tropos Pada Sistem Informasi Penugasan Di Bidang Program Tvri Stasiun Jawa Barat, eProceedings of Engineering.](https://openlibrarypublications.telkomuniversity.ac.id/index.php/engineering/en/article/view/9958)
14. [Dam, Winikoff. Comparing Agent-Oriented Methodologies, AOIS 2003 / LNAI 3030.](https://citeseerx.ist.psu.edu/document?doi=5cec229405f9fa6c55feaf26ebc5c3f28f479f2b&repid=rep1&type=pdf)
15. [A systematic mapping of goal-oriented requirements engineering: reflections, impact, and the way forward. Requirements Engineering, Springer.](https://link.springer.com/article/10.1007/s00766-026-00476-7)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Software engineering and development process › Development methodologies and project management

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/tropos-methodology

English original: https://www.edgepedia.org/tropos-methodology
