IOT technology and a self-directed learning algorithm based on artificial intelligence pet houses are introduced. To this end, the present invention provides a cage comprising a side panel, a front panel and a rear panel, the cage having a predetermined space formed therein; An upper panel that is selectively openable on top of the cage; A connection part having a predetermined length slot for fixing the front panel and the rear panel magnetically to the connection part between the front panel and the side panel and the connection part between the side panel and the rear panel; And a slurry receiver selectively slidable under the cage; Wherein the front panel, the rear panel, and the side panel are formed with protrusions formed on both sides of the front panel, the rear panel, and the side panel, the insertion holes being made of metal that can be inserted into the slot, Is a slot groove made of a magnetic material so as to be inserted and magnetically fixed.IoT 기술과 자기주도형 학습 알고리즘기반의 인공지능 애완동물용 하우스가 소개된다.이를 위해 본 발명은 양 측면을 이루는 측면패널과 전방에 위치한 전면패널 및 후방에 위치한 후면패널로 이루어지고 그 내부에 일정한 공간이 형성된 케이지; 상기 케이지의 상부에 선택적으로 안착된 채 개폐 가능한 상부패널; 상기 전면패널과 측면패널의 연결부위 및 상기 측면패널과 후면패널의 연결부위에는 상기 전면패널 및 상기 후면패널이 자석식으로 고정될 수 있는 소정 길이의 슬롯홈이 마련된 연결부; 및 상기 케이지의 하부로 선택적으로 슬라이딩 될 수 있는 배설물받이부; 를 포함하되, 상기 전면패널과 상기 후면패널 및 상기 측면패널에는 상기 슬롯홈의 형상에 대응되어 삽입될 수 있는 금속으로 이루어진 삽입구가 각각의 양 측면에 돌출 형성되고, 상기 연결부의 슬롯홈은 상기 삽입구가 삽입되어 자석식으로 고정될 수 있도록 자석물질로 이루어진 슬롯홈인 것을 특징으로 한다.