This document describes an intrusion detection system (IDS) based on a multi-agent system that provides internal security for agents. The IDS uses different types of agents (collectors, transceivers, itinerants, monitors) organized in a hierarchical structure to monitor network traffic and detect intrusions. The system implements techniques like a matrix of marks and hash functions to verify the identity and integrity of agents and prevent attacks from within the platform. The IDS architecture is presented along with how the agents communicate and coordinate to correlate events, generate new signatures, and ensure internal security without affecting system performance. The document evaluates this agent-based IDS approach for providing security while maintaining flexibility and adaptability.