We built the multi-agent portfolio management system over 14 weeks. Agent team design (weeks 1-4): 6 specialised agents plus orchestrator. Market Intelligence Agent: monitoring real-time market data, economic indicators, and news — maintaining a continuous market view rather than periodic analysis. Tools: Bloomberg API, economic data feeds, and news aggregation. Output: current market assessment with sector views and risk signals. Performance Agent: analysing portfolio performance in real-time — daily P&L, attribution (asset allocation, security selection, currency, and timing), and comparison to benchmarks. Tools: portfolio management system API, benchmark data, and attribution engine. Output: performance summary with attribution detail for any time period. Risk Agent: modelling portfolio risk continuously — VaR, stress testing, concentration analysis, and liquidity assessment. Tools: risk calculation engine, scenario library, and correlation models. Output: current risk posture, limit utilisation, and stress test results.
Sharia Agent: monitoring Sharia compliance of all holdings — screening status, purification calculations, and compliance alerts. Tools: Sharia screening database, AAOIFI standards reference, and financial statement analysis. Output: portfolio Sharia status with non-compliant holding alerts. Tax Agent: analysing cross-border tax efficiency — withholding tax rates, treaty benefits, and entity-structure optimisation. Tools: tax treaty database, entity-structure model, and tax calculation engine. Output: tax efficiency score with optimisation recommendations. Suitability Agent: maintaining client profiles and checking investment alignment — risk tolerance, time horizon, liquidity needs, and restrictions. Tools: client CRM, suitability questionnaire data, and restriction register. Output: suitability confirmation or alerts for any proposed action. Portfolio Orchestrator: coordinating all agents — requesting analyses, synthesising results, identifying conflicts, and generating recommendations. The orchestrator: understanding the dependencies between agents (risk analysis depends on market view, Sharia screening depends on proposed changes, tax analysis depends on execution plan) and sequencing requests appropriately.
Agent integration and reasoning (weeks 3-8): collaborative intelligence. Parallel analysis: when a portfolio review is triggered, the orchestrator dispatches simultaneous requests to all 6 agents — each agent analysing its dimension of the portfolio using current data. Time: 15 minutes for all 6 agents to complete analysis (vs. 14 days manual). Iterative refinement: the orchestrator synthesising agent outputs into a preliminary recommendation, then routing the recommendation back to each agent for validation — the Risk Agent checking whether the proposed rebalancing creates unacceptable risk, the Sharia Agent screening proposed new holdings, the Tax Agent optimising the execution structure, and the Suitability Agent confirming alignment with client objectives. Iteration: typically 2-3 rounds of refinement before the recommendation converges — all agents satisfied that their constraints are met. Total time: 45 minutes to 2 hours (depending on complexity).
Conflict resolution: when agent constraints conflict — the Risk Agent wanting to reduce equity exposure while the Performance Agent noting that equities are the primary return driver — the orchestrator escalating the conflict to the portfolio manager with: both agents' reasoning, the specific trade-off, and quantified impact of each option. The portfolio manager: making the judgment call, with full transparency into the analytical basis. Arabic reporting: agent outputs compiled into client-ready reports in Arabic and English — the orchestrator generating bilingual portfolio review documents from agent analyses. Human approval workflow (weeks 6-12): compliant oversight. Recommendation review: multi-agent recommendations presented to the portfolio manager through a dashboard showing: the recommendation summary, each agent's analysis supporting the recommendation, any conflicts and how they were resolved, and proposed trade list with estimated market impact. The portfolio manager: reviewing, modifying if needed, and approving for client presentation.
Client presentation: generated automatically from approved recommendations — bilingual Arabic-English presentation with: portfolio performance summary, market context, proposed changes with rationale, risk impact, Sharia compliance impact, and tax efficiency. FSRA compliance: complete audit trail — every agent query, every response, every iteration, and every human decision recorded. FSRA examination: able to reconstruct exactly how any recommendation was derived, which data was used, and who approved it. Continuous monitoring (weeks 10-14): always-on agents. Beyond quarterly reviews: agents operating continuously — market agent monitoring for significant events, risk agent alerting when limits approach, Sharia agent flagging compliance changes, and the orchestrator triggering ad-hoc reviews when conditions warrant. Alert types: urgent (market crash, sanctions listing, Sharia non-compliance — immediate portfolio manager notification), important (approaching risk limits, tax deadline, client review due — daily briefing), and informational (market developments, regulatory changes, new opportunities — weekly digest).
The shift: from periodic review to continuous portfolio intelligence — the agents maintaining an always-current view of every portfolio.