Ambient Intelligence (AmI) is a very active topic of research that is gaining more and more attention because of its characteristics, transparency and intelligence. Older people is one of the collectives that can take advantage of the use of AmI systems because, thanks to these characteristics, AmI systems can focus on older adults' real needs so that they satisfy one of their main motivations to adapt technological innovations: perceived benefits. And, perhaps, everything related to healthcare and home care is perceived by them as both valuable and beneficial. In this paper, it is presented the Multi-Agent architecture (MAS) of a healthcare AmI system to treat older people' motor impairment problems by using specific devices to control the patient's movements. In this way, the natural relationship between AmI and MAS is being widely exploited. AmI proposes the development of context-aware systems that integrate different devices to recognize the context and act accordingly. Agents provide an effective way to develop such systems since agents are reactive, proactive and exhibit an intelligent and autonomous behavior. One of the main differences of our system is that it provides therapist with support to design new therapies, to adapt them to each specific person and to control their execution instead of using a fixed set of exercises.