Quick Start
fund and knowledge_graph are optional:
How It Works
Query Types
| Focus | Keywords | Scope |
|---|---|---|
risk | risk, exposure, drawdown, var, stress | VaR, drawdown, concentration, regime, stress test |
diagnosis | underperform, losing, decline, why is | Performance, execution, alpha decay, feeds, risk |
opportunity | opportunity, enter, should we | Universe, graph, hypotheses, correlations, regime |
health | health, status, overview, full | Everything |
correlations | correlation, cross-market, cluster | Correlations, graph clusters, positions |
alpha | alpha, edge, decay, signal | Alpha decay, hypotheses, performance |
general | (default) | Positions, performance, risk, strategies |
Tools
15 internal query tools. Each returns a dict or skips if its subsystem is missing.Fund tools
positions, markets, risk, performance, feeds, strategiesQuant tools
correlations, regime, hypotheses, alpha_decay, execution_quality, stress_testGraph tools
graph_context, graph_opportunities, graph_correlationsAnalyzers
12 analyzers with fixed thresholds. All thresholds are class attributes you can override.| Analyzer | What it checks | Thresholds |
|---|---|---|
fund_overview | Kill switch, fund drawdown, inactive strategies | 15% critical, 8% high, 3% medium |
risk_exposure | VaR budget | 90% critical, 70% high |
drawdown | Per-strategy drawdown | 20% critical, 10% high |
concentration | Correlation alerts | Any alert = high |
regime_risk | Market regime | Crisis = critical, stressed = high |
strategy_performance | NAV loss, paused strategies | NAV below 950 + 5% drawdown = high |
execution | Slippage, fill rate | 2% slippage = high, 50% fill rate = medium |
alpha_health | Edge decay | 30% remaining = high, 50% = medium |
feed_health | Stale feeds | 300s = high |
market_opportunities | Graph and hypothesis signals | 60% confidence = medium |
edge_signals | Hypothesis lifecycle | Validated = info, decaying = medium |
correlation_opportunities | Graph correlation clusters | Cluster found = medium |
Output
Every call returns a dict withfindings, data_sources, reasoning_trace, summary, duration_secs.
Each finding has:
| Field | Description |
|---|---|
category | risk, opportunity, anomaly, recommendation, insight |
severity | critical (0), high (1), medium (2), low (3), info (4) |
title | Short description |
detail | Context and suggested action |
evidence | Raw data backing the finding |