Open Source · v2.1.0 · Multi-Agent Architecture

CairnIQ

A self-hosted intelligence console for personal wealth research. 6 specialist agents, 70+ financial tools, real-time market data — all running locally. Your portfolio, your keys, your data.

CairnIQ Dashboard — Portfolio performance, Market Pulse, Asset Allocation

6

Specialist AI Agents

70+

Financial Tools

0

Cloud Persistence

Local Control

Multi-Agent System

Six Specialist Agents, One Unified Brain

Each agent is an expert in its domain. The Supervisor routes your queries to the right specialist, and the Deep Reasoning engine orchestrates multi-step analysis plans.

🧠

Deep Reasoning Engine

Breaks complex financial queries into multi-step execution plans. Selects from 40+ tools, runs them in parallel, and synthesizes institutional-grade reports.

plan → execute → synthesize parallel tools
📊

Market Analyst

Real-time market intelligence. Scans for golden crosses, oversold conditions, volume spikes, and sector rotation signals across your entire universe.

opportunity_scanner sector_rotation pattern_recognition
📰

News Analyst

Synthesizes breaking news, geopolitical events, and earnings catalysts into actionable intelligence reports with sentiment scoring.

sentiment_analysis gdelt_api
💼

Portfolio Manager

Aggregates holdings from multiple brokerages and CSV uploads into a unified view. Tracks performance vs. benchmarks and manages multi-currency positions.

portfolio_analytics correlation tax_loss
⚠️

Risk Manager

Monitors concentration risk, drawdown limits, and macro regime shifts. Runs Monte Carlo simulations and position-sizing calculations.

monte_carlo position_sizing simulation
🌍

Geopolitical Scanner

Maps geopolitical events to supply-chain disruptions and investable opportunities. Covers 30+ countries, 40+ commodities, and strategic chokepoints.

supply_chain_kb conflict_premium commodity_tickers
Command Center

Talk to Your Portfolio Like It Understands You

Natural language interface with context-aware intelligence panels. Ask complex questions and watch the AI break them into multi-step plans — live.

  • Quick Action bar: Analyze, Scan, Dip Plan, Health, News, Risk
  • Real-time Portfolio vs. S&P 500 benchmark overlay
  • Daily Market Pulse with regime detection (Bullish/Bearish/Neutral)
  • Streaming AI Intelligence Report with news synthesis
See it in action →
Chat interface with Quick Actions and intelligence panels
Investment Thesis

Track Your Thesis, Not Just Your Tickers

CairnIQ doesn't just track prices — it tracks why you own each position. Document your investment thesis, monitor catalysts, and let the AI alert you when your original assumptions break down.

  • Thesis Documentation: Record entry rationale, price targets, and exit conditions
  • Catalyst Tracking: Monitor earnings, product launches, regulatory events
  • Thesis Invalidation Alerts: AI flags when fundamentals diverge from your original case
  • Trade Journal: Post-mortem analysis of wins and losses with lessons learned

Example: "I bought NVDA at $450 because of AI datacenter buildout. Target: $600. Exit if gross margins fall below 60% or hyperscaler capex guidance drops."

Portfolio dashboard with thesis tracking and performance metrics
Persistent Memory

A Knowledge Graph That Remembers Everything

The terminal builds a persistent D3-powered knowledge graph from your conversations. It tracks your holdings, sectors, theses, and relationships — so the AI gets smarter over time.

  • Visual entity relationship mapping
  • User memory fragments with context injection
  • Automatic portfolio-to-graph synchronization
  • Strategic instructions and lessons learned log
D3 knowledge graph visualization with entity relationships
Tool Arsenal

70+ Specialized Financial Tools

Every tool the AI uses is a real, deterministic function — not a hallucinated answer. From RSI calculations to Monte Carlo simulations.

📡

Opportunity Scanner

4-phase pipeline: Universe → Technical Screen → Deep Fundamentals → Scoring

🌍

Geopolitical Scanner

Maps wars, sanctions & disasters to supply-chain investment opportunities

🛰️

Market Sentinel

Daily regime detection: Fear & Greed, VIX, yield curve, portfolio drawdown

🎯

Options Strategy

Covered calls, protective puts, spreads — with Greeks and max profit/loss

🔮

Monte Carlo Simulation

10,000-path probability engine for portfolio projections

📉

Tax-Loss Harvesting

Identifies wash-sale-safe swap candidates to reduce your tax burden

📊

Pattern Recognition

Head & shoulders, double bottoms, cup-and-handle with confidence scores

🏦

FRED Macro Data

GDP, CPI, unemployment, yield curves — direct from the Federal Reserve

💰

Wealth Management

Retirement projections, income analytics, and savings rate calculations

🔄

Sector Rotation

Tracks capital flow between sectors to identify emerging leadership

🕵️

Insider & Dark Pool

Tracks insider buying clusters and unusual institutional activity

Portfolio Intelligence

Unified Portfolio Command Center

Aggregate holdings from multiple brokerages, track performance against benchmarks, and maintain a complete audit trail of every decision.

Multi-Brokerage Sync

Connect your brokerage accounts via API or upload CSV. Live sync and manual tracking coexist seamlessly. Automatic deduplication handles overlapping accounts.

Performance Attribution

Track returns by position, sector, and time period. Compare against S&P 500, sector ETFs, and custom benchmarks. Identify what's working and what's not.

Trade Journal & Post-Mortems

Document every entry and exit. Record what you expected vs. what happened. Build a personal playbook of patterns that work for your style.

Risk Analytics

Real-time concentration risk, correlation matrices, and drawdown monitoring. Monte Carlo simulations for portfolio stress testing.

Thesis Monitoring

Set alerts for thesis invalidation triggers: earnings misses, margin compression, management changes, or macro regime shifts.

Event Calendar

Track upcoming earnings, ex-dividend dates, option expirations, and economic releases. Never miss a catalyst again.

Zero-Trust Architecture

Your Data. Your Machine. Period.

We built this for ourselves first. Every API key, every holding, and every memory fragment stays on your local disk. While AI inference is performed via encrypted API calls, your sensitive financial data is never persisted or trained upon by third parties.

100% Local Storage

All data lives in user_data/ on your machine. Credentials, portfolios, memory graphs — everything.

Bring Your Own Keys

You connect YOUR API keys to YOUR brokerage. We never see your credentials or your net worth.

Open Source Audit

Every line of code is inspectable. No telemetry, no analytics, no phone-home behavior. Fork it. Verify it.

Quick Start

Deploy in Under 5 Minutes

Clone, install, and launch. The guided setup wizard handles the rest.

01

Clone & Install

One script installs all dependencies, creates your data directory, and migrates existing config.

git clone ... && ./install.sh
02

Configure Keys

The interactive Setup Wizard walks you through connecting your AI provider and brokerage accounts.

Settings → Commit Infrastructure Sync
03

Launch CairnIQ

Double-click the launcher or run the command. Your private intelligence console opens at localhost:8000.

./CairnIQ.command

Frequently Asked Questions

What LLM providers are supported?
Claude (Anthropic or via AWS Bedrock), GPT-4 (OpenAI), and any OpenAI-compatible endpoint. The terminal uses a provider-agnostic abstraction layer, so switching is a single config change.
What brokerages can I connect?
Multiple brokerages are supported via API integration for live portfolio sync. You can also manually track any holdings via CSV upload. Live sync and manual tracking can coexist in the same portfolio.
Is my financial data safe?
Yes. All API keys and portfolio data are stored locally in user_data/. No financial data is persisted in the cloud. The terminal communicates directly with your brokerage and AI providers via encrypted channels. Unlike consumer chatbots, your data is never used for training or stored on external servers.
How does the Opportunity Scanner work?
A 4-phase pipeline: (1) Universe Assembly from sector-tagged JSON, (2) Batch Technical Screen via single yfinance download for RSI/golden crosses/momentum, (3) Deep Fundamentals on top candidates only, (4) Forward Outlook Scoring with analyst revision tracking and news catalyst detection. Full scan completes in 20-35 seconds.
Can I use this commercially?
No. This is licensed strictly for personal, non-commercial use. You may manage your own portfolio, learn about markets, and conduct personal research. Use within hedge funds, family offices, or commercial advisory is prohibited.

Take Cairn Intelligence

Your wealth intelligence. Your infrastructure. Your rules.

GitHub (Coming Soon) Contact for Access