AI 套利工具箱

Part 3: From Theory to Practice - The Toolkit

In Part 1 we defined the cognitive architecture, and in Part 2 we outlined the lightweight and DeFi layers. This final part reveals the source code structure, template library, and operational guide for the Personal AI Arbitrage Toolkit.


Repository Structure

ai-arbitrage-toolkit/
├── README.md                                          # Project entry & quick start
├── n8n_templates/                                     # Visual workflow templates
│   ├── gov_monitor.json                               # County gov policy monitoring
│   ├── sentiment_scanner.json                         # Reddit/Twitter sentiment collection
│   └── arbitrage_scanner.json                         # Funding rate / cross-exchange arbitrage
├── agent_prompts/                                     # Standardized Agent Prompt library
│   ├── analyst_prompt.md                              # Analyst Agent: signal extraction
│   ├── executor_prompt.md                             # Executor Agent: on-chain operations
│   ├── risk_manager_prompt.md                         # Risk Manager: circuit breaker
│   └── coordinator_prompt.md                          # Coordinator Agent: multi-agent collaboration
├── monitoring_dashboard/                              # Personal ops dashboard
│   ├── daily_summary.py                               # Daily auto summary script
│   └── weekly_report.py                               # Weekly report generator
├── risk_parameters.json                               # Configurable risk parameters
└── README_DEPLOY.md                                   # Deployment guide