Overview of Meridian Architecture
mainMeridian is composed of several core modules that manage the lifecycle of an autonomous trading agent:
index.js: Main entry point (REPL, cron, Telegram bot).agent.js: The ReAct loop (LLM $\rightarrow$ tool call $\rightarrow$ repeat).config.js: Manages runtime configuration fromuser-config.jsonand.env.state.js: Maintains the position registry (state.json).lessons.js: The learning engine that records performance and evolves thresholds.tools/: Contains the execution logic fordlmm,screening,wallet,token, andstudy.telegram.js: Handles bot notifications and polling.hivemind.js: Manages synchronization with the Agent Meridian network.