Go back to the fundamentals and read society of mind from Marvin Minsky or anything cybernetics from Norbert Wiener