Multi-Agent Architecture for Halal Crypto Trading Compliance
说明与用途
HalalCrypto 团队开发了一种多智能体 AI 交易系统以确保符合伊斯兰教法。与处理所有任务的单一模型不同,四个专门的智能体——筛选器、信号、风险和执行——独立运作。这种分离确保了程序合规性,防止单点故障,并为每个交易决策提供可审计的记录。
问题
Single-model AI trading systems risk 'prompt collisions' where the same model handles price analysis, halal compliance checks, and order execution, leading to probabilistic rather than procedural compliance and potential inclusion of haram assets.
结果
The multi-agent split ensures that the halal gate lives upstream of the trade gate on a different clock. It provides an auditable paper trail for every decision, allowing users to trace why specific trades were made or rejected, and prevents single-point-of-failure bugs like cache poisoning or implicit leverage.
工作流
- Screener Agent runs a 4-gate halal filter (riba, gharar, maysir, haram-sector) every 24 hours to generate a permitted-coin list.
- Signal Agent generates entry hypotheses only on the permitted list, analyzing on-chain flow, momentum, and volatility.
- Risk Agent acts as a veto, checking position-size caps, exposure limits, and drawdown state; it kills candidates that breach rules.
- Execution Agent places spot-only orders on Binance via read+spot-only API keys, refusing any order that did not pass the previous three stages.
- Each agent writes inputs and outputs to a local audit log for traceability.
证据
The right architecture is multi-agent: a Screener that holds the halal gate, a Signal agent that generates entry hypotheses, a Risk agent that vetoes oversized positions, and an Execution agent that places only what survives.
Fix: per-agent caches with hard TTLs, and a cold-start verification on every run.
- 记录日期: 2026-09-06T10:06:55.189Z