It is necessary an autonomous and proactive software agent capable of deciding how to combine its available Capabilities for addressing injected goals. The first result, presented in this work is MUSA, a Middleware for User-driven Service self-Adaptation that implements in a belief-desire-intention programming language an ontology-based algorithm for finding capabilities for addressing a generic goal.