read codebase. I need to understand this agent concept deeply. Can you write related documents (.md files) that will help me understand the agent and save in "/home/ton/docker-apps/sommpanion/YiemAgent/learning" folder? I'm learning best in **Top-Down** style so I know how each component are synchonized. P.S. use diagram to show how process flow and relationship