Modeling biological memory network by an autonomous and adaptive multi-agent system | Synapse