Skip to main content

AI agents and tools for the retail investor

Project description

๐Ÿง  Navam Invest

AI-Powered Investment Intelligence for Retail Investors

PyPI version Python Version License: MIT Downloads

Institutional-grade portfolio intelligence powered by 10 specialized AI agents Built on LangGraph โ€ข Powered by Anthropic Claude

Quick Start โ€ข Features โ€ข AI Agents โ€ข Documentation โ€ข Examples


๐ŸŽฏ What is Navam Invest?

Replace $1,000-$10,000/year wealth management fees with AI agents that research, analyze, and explain investment decisions in plain English.

Navam Invest is an open-source AI investment advisory platform designed for retail investors managing $50K-$1M portfolios. Instead of paying 1% AUM fees, you get a team of 10 specialized AI agents with automatic intent-based routingโ€”all running locally with your API keys, using free public data.

Why Choose Navam Invest?

๐Ÿฆ Institutional Intelligence, Retail Access

  • 10 specialized AI agents (equity research, earnings analysis, risk management, tax optimization, options strategies)
  • Automatic routing: Just ask naturallyโ€”no need to know which agent to use
  • Multi-agent workflows combining bottom-up + top-down analysis

๐Ÿ’ฐ Zero Lock-In, Maximum Value

  • Core features work with 100% free APIs (Yahoo Finance + SEC EDGAR)
  • No subscriptions, no recurring fees
  • Your data stays yoursโ€”runs completely locally

๐Ÿ” Transparent & Explainable

  • Watch AI agents reason in real-time with progressive streaming
  • Full audit trails of tool calls and data sources
  • Educational explanations, not black-box recommendations

โšก Production-Ready Today

  • Interactive terminal UI (TUI) with real-time agent streaming
  • 32 tools across 9 APIs (3 require zero setup)
  • Auto-save reports, multi-agent orchestration

โœจ Key Features

๐Ÿ”€ Automatic Intent-Based Routing (NEW in v0.1.36)

No more manual agent switching! Just ask your question naturally:

navam invest

# Simply ask - the router automatically selects the right agent(s)
> Should I invest in AAPL?
# โ†’ Router analyzes intent
# โ†’ Routes to Quill (fundamentals) + Macro Lens (timing) + Risk Shield (exposure)
# โ†’ Synthesizes comprehensive recommendation

> Find undervalued tech stocks with strong earnings momentum
# โ†’ Router detects screening + earnings intent
# โ†’ Routes to Screen Forge + Earnings Whisperer

> Protect my NVDA position with options
# โ†’ Router detects hedging intent
# โ†’ Routes to Hedge Smith for options strategies

Power users can still use manual commands (/quill, /hedge, /risk) for direct agent control.

๐Ÿค– 10 Specialized AI Agents

Each agent is purpose-built with curated tools and expert system prompts:

Agent Purpose Tools Example Query
Quill Deep fundamental research 36 "Analyze AAPL with DCF valuation and insider activity"
Earnings Whisperer Earnings surprise analysis 14 "Find post-earnings drift opportunities in NVDA"
Screen Forge Systematic stock screening 15 "Screen for stocks with 3+ consecutive earnings beats"
Macro Lens Top-down macro analysis 13 "What's the current economic regime for tech stocks?"
News Sentry Real-time event detection 13 "Alert me to material 8-K filings and insider trades"
Risk Shield Portfolio risk management 18 "Calculate VAR and analyze concentration risks"
Tax Scout Tax-loss harvesting 12 "Identify tax-loss harvesting opportunities"
Hedge Smith Options strategies 13 "Design a protective collar for my AAPL position"
Atlas Strategic asset allocation 12 "Create an IPS for $200K portfolio"
Portfolio/Research Legacy general-purpose 24/10 Backward compatibility

๐Ÿ”€ Multi-Agent Workflows (NEW in v0.1.37)

Agents don't just answer questionsโ€”they collaborate in sophisticated workflows:

/analyze - Comprehensive Investment Analysis (5 Agents)

/analyze MSFT

# 1. Quill performs bottom-up fundamental analysis
#    โ†’ Financial health, valuation, earnings trends
# 2. News Sentry checks for material events
#    โ†’ 8-K filings, insider trading, breaking news
# 3. Macro Lens validates with top-down regime analysis
#    โ†’ Economic cycles, sector positioning, yield curve
# 4. Risk Shield assesses portfolio fit
#    โ†’ Concentration risk, VAR, correlation analysis
# 5. Tax Scout evaluates tax implications
#    โ†’ Wash-sale checks, holding period optimization
# 6. Final synthesis combines all perspectives
#    โ†’ BUY/HOLD/SELL with confidence level and reasoning

/discover - Systematic Idea Generation (3 Agents) NEW!

/discover quality growth stocks with strong margins

# 1. Screen Forge identifies 10-15 candidates
#    โ†’ Factor-based screening, momentum analysis
# 2. Quill analyzes top 3-5 picks
#    โ†’ Deep fundamental analysis, valuation
# 3. Risk Shield assesses portfolio fit
#    โ†’ Position sizing, concentration analysis
# 4. Final synthesis ranks candidates
#    โ†’ Actionable recommendations with entry points

Result: Institutional-quality investment analysis in seconds, not hours.

๐Ÿ“Š Free & Premium Data Sources

32 tools across 9 APIs (3 completely free, 6 with generous free tiers):

Data Source Coverage Free Tier Cost
Yahoo Finance ๐Ÿ†“ Real-time quotes, earnings, analyst ratings, ownership Unlimited FREE
SEC EDGAR ๐Ÿ†“ Corporate filings (10-K, 10-Q, 8-K), insider transactions Unlimited FREE
U.S. Treasury ๐Ÿ†“ Yield curves, treasury rates Unlimited FREE
Tiingo 5-year historical fundamentals 50 symbols/hr Optional
Finnhub News/social sentiment, insider trades 60 calls/min Optional
Alpha Vantage Stock prices, company overviews 25-500 calls/day Optional
FRED Economic indicators (GDP, CPI, unemployment) Unlimited Optional
NewsAPI.org Market news, headlines 1,000 calls/day Optional
Anthropic Claude AI reasoning engine (Sonnet 4.5) Pay-as-you-go Required

๐Ÿ’ก 80% of functionality works with just Yahoo Finance + SEC EDGAR (no API keys needed!)

๐Ÿ’ฌ Modern Terminal UI with Progressive Streaming

Built with Textual framework for a responsive, beautiful CLI experience:

  • โœ… Progressive streaming: Watch sub-agent tool calls appear in real-time (NEW in v0.1.36)
  • โœ… Real-time reasoning: See agents think and make decisions live
  • โœ… Smart input management: Auto-disabled during processing (no duplicate queries)
  • โœ… Tool execution tracking: See exactly which data sources agents are calling
  • โœ… Multi-agent progress: Visual workflow transitions with status updates
  • โœ… Markdown rendering: Tables, code blocks, syntax highlighting
  • โœ… Auto-save reports: All responses >200 chars saved to reports/ directory
  • โœ… Keyboard shortcuts: Ctrl+C (clear), Ctrl+Q (quit)

๐Ÿš€ Quick Start

Installation

Requirements: Python 3.9+ and an Anthropic API key

# Install from PyPI
pip install navam-invest

# Start the interactive terminal
navam invest

5-Minute Setup

1. Create environment file:

cp .env.example .env

2. Add your Anthropic API key (required):

# .env file
ANTHROPIC_API_KEY=sk-ant-your-key-here

Get your free key at console.anthropic.com ๐Ÿ’ฐ Cost: ~$3-15/month for typical usage (pay-as-you-go)

3. Optional: Add free-tier API keys (recommended for full features):

# Optional - all have generous free tiers
FRED_API_KEY=your_key_here          # Unlimited economic data
TIINGO_API_KEY=your_key_here        # 50 symbols/hr historical data
FINNHUB_API_KEY=your_key_here       # 60 calls/min sentiment data
NEWSAPI_API_KEY=your_key_here       # 1,000 calls/day news
ALPHA_VANTAGE_API_KEY=your_key_here # 25-500 calls/day quotes

Get free API keys โ†’

4. Verify setup:

navam invest
> /api
# Shows status table: โœ… working / โŒ failed / โšช not configured

First Query

navam invest

# NEW: Just ask naturally - automatic routing!
> Should I invest in Apple stock right now?
# Router automatically selects Quill, Macro Lens, and Risk Shield

> Find undervalued tech companies with strong earnings
# Router automatically selects Screen Forge and Earnings Whisperer

> How can I reduce my tax bill before year-end?
# Router automatically selects Tax Scout

# Or use workflows for systematic analysis
> /analyze MSFT
# Comprehensive 5-agent investment analysis

> /discover dividend stocks with P/E under 20
# Systematic 3-agent idea generation workflow

# Or use manual commands for specific agents (power users)
> /quill
> Analyze Microsoft's earnings trends and institutional ownership

> /macro
> What's the current economic regime for tech stocks?

> /risk
> Calculate VAR for my portfolio and identify concentration risks

๐ŸŽ“ New to Navam Invest? Check the Getting Started Guide for detailed walkthroughs.


๐Ÿค– Specialized AI Agents

โญ Quill - Equity Research Analyst

Deep fundamental analysis & investment thesis development

View Capabilities & Examples

What Quill Does:

  • ๐Ÿ“Š DCF Valuation: Discounted cash flow models with sensitivity analysis
  • ๐Ÿ“ˆ 5-Year Trends: Revenue growth, margins, ROIC, FCF, debt ratios
  • ๐Ÿ’ฐ Earnings Analysis: Historical beats, estimates, surprise patterns
  • ๐ŸŽฏ Analyst Coverage: Consensus ratings, price targets, upgrades/downgrades
  • ๐Ÿข Ownership Tracking: Institutional holders, insider transactions (Form 4)
  • ๐Ÿ“‹ SEC Filings: 10-K/10-Q deep-dives, 8-K material events, XBRL data
  • ๐Ÿ’ต Dividend Analysis: Yield, payout sustainability, history
  • ๐Ÿ“ฐ News Validation: Company-specific news with sentiment

Tools: 36 specialized tools across Yahoo Finance, SEC EDGAR, Tiingo, Finnhub, NewsAPI

Example Queries:

# Automatic routing (just ask naturally)
> Analyze NVDA fundamentals and give me a buy/hold/sell recommendation

# Manual mode (power users)
> /quill
> Deep dive on AAPL: recent earnings, institutional ownership changes, and DCF valuation

Expected Output: 5-section investment thesis with BUY/HOLD/SELL recommendation, fair value range, key catalysts, and risk factors.

๐Ÿ“Š Earnings Whisperer - Earnings Specialist

Earnings surprise analysis & post-earnings drift detection

View Capabilities & Examples

What Earnings Whisperer Does:

  • ๐ŸŽฏ Historical Tracking: 4-8 quarter earnings surprise analysis
  • ๐Ÿ“ˆ Drift Detection: 1-3 day post-earnings momentum patterns
  • ๐Ÿ”„ Analyst Revisions: Estimate changes post-earnings
  • โœ… Quality Assessment: Revenue vs EPS beats, non-recurring items
  • ๐Ÿ“… Calendar Monitoring: Upcoming earnings with probability scoring
  • ๐Ÿ† Pattern Recognition: Consistent beaters, accelerating growth, quality issues
  • ๐Ÿ’น Trading Signals: BUY/HOLD/SELL based on drift probability

Tools: 14 specialized tools across Yahoo Finance, SEC, Finnhub

Example Queries:

# Automatic routing
> Is there a post-earnings drift opportunity in META after recent earnings?

# Manual mode
> /earnings
> Analyze TSLA's last 6 quarters - average beat percentage and drift patterns

Expected Output: Earnings momentum scorecard with drift probability, pattern analysis, and trading recommendation.

๐Ÿ” Screen Forge - Equity Screener

Systematic stock discovery & idea generation

View Capabilities & Examples

What Screen Forge Does:

  • ๐Ÿ“ Multi-Factor Screening: Value, growth, quality, momentum factors
  • ๐ŸŽฏ Systematic Discovery: Weekly watchlist generation with ranking
  • ๐Ÿ“ˆ Earnings Momentum: Filter for consistent earnings beaters
  • โฌ†๏ธ Analyst Activity: Upgrade/downgrade-based screening
  • ๐Ÿ’ฌ Sentiment Validation: News and social sentiment checks
  • ๐Ÿ”— Seamless Handoff: Passes top candidates to Quill for deep-dive

Tools: 15 specialized tools across Yahoo Finance, Finnhub, Alpha Vantage

Example Queries:

# Automatic routing
> Find undervalued growth stocks with strong earnings momentum

# Manual mode
> /screen
> Screen for stocks with P/E under 15, 3+ consecutive earnings beats, and positive sentiment

Expected Output: Ranked table of 10-20 candidates with screening criteria, key metrics, and suggested next steps.

๐ŸŒ Macro Lens - Market Strategist

Top-down economic analysis & regime identification

View Capabilities & Examples

What Macro Lens Does:

  • ๐Ÿ”„ Economic Cycles: 4-phase regime analysis (early/mid/late expansion, recession)
  • ๐Ÿ“ˆ Yield Curve: Interpretation and recession signal detection (inversions)
  • ๐Ÿญ Sector Allocation: Macro-driven positioning guidance
  • ๐Ÿ“Š Factor Recommendations: Value vs growth, size, volatility tilts
  • ๐Ÿ“‰ Macro Tracking: Inflation, GDP, employment, Fed policy
  • ๐Ÿ“Š Market Indices: S&P 500, Nasdaq, VIX correlation analysis
  • ๐Ÿ’น Interest Rates: Fed funds, treasury rates, credit spreads

Tools: 13 specialized tools across FRED, U.S. Treasury, Yahoo Finance, NewsAPI

Example Queries:

# Automatic routing
> What's the current market environment for tech stocks?

# Manual mode
> /macro
> Analyze the yield curve - is it signaling recession? Which sectors should I overweight?

Expected Output: Regime assessment with sector allocation matrix, factor positioning, and macro risk scenarios.

๐Ÿ—ž๏ธ News Sentry - Real-Time Event Monitor

Material event detection & breaking news alerts

View Capabilities & Examples

What News Sentry Does:

  • ๐Ÿ“‹ 8-K Monitoring: Material corporate events (M&A, management changes, bankruptcy)
  • ๐Ÿ“ Form 4 Tracking: Insider buying/selling by officers and directors
  • ๐Ÿ“ฐ Breaking News: Real-time company-specific news with sentiment
  • ๐Ÿ“Š Analyst Actions: Rating changes, price target updates
  • ๐ŸŽฏ Event Prioritization: CRITICAL/HIGH/MEDIUM/LOW urgency scoring
  • โšก Rapid Response: Detect market-moving events as they happen

Tools: 13 specialized tools across SEC EDGAR, NewsAPI, Finnhub, Yahoo Finance

Example Queries:

# Automatic routing
> Any material events or insider activity at TSLA recently?

# Manual mode
> /news
> Monitor AAPL for 8-K filings, insider transactions, and breaking news in last 7 days

Expected Output: Prioritized event list with urgency levels, event details, and recommended actions.

๐Ÿ›ก๏ธ Risk Shield - Portfolio Risk Manager

Comprehensive risk analysis & exposure monitoring

View Capabilities & Examples

What Risk Shield Does:

  • ๐Ÿ“Š Concentration Analysis: Sector, geographic, single-stock exposures
  • ๐Ÿ“‰ Drawdown Metrics: Historical drawdowns, peak-to-trough, recovery periods
  • ๐Ÿ’น VAR Calculations: Value at Risk (95%, 99% confidence levels)
  • ๐ŸŽฒ Scenario Testing: Stress tests against historical crises (2008, 2020)
  • ๐Ÿ”— Correlation Analysis: Diversification quality, correlation matrices
  • ๐Ÿ“ˆ Volatility Metrics: Portfolio vol, beta, Sharpe, Sortino ratios
  • โš ๏ธ Limit Breach Detection: Position size, sector concentration thresholds
  • ๐Ÿ› ๏ธ Risk Mitigation: Hedging strategies, rebalancing recommendations

Tools: 18 specialized tools across market data, fundamentals, macro indicators, treasury data

Example Queries:

# Automatic routing
> Analyze my portfolio risk and recommend mitigation strategies

# Manual mode
> /risk
> Calculate VAR at 95% and 99%, identify sector concentration risks, stress test against 2008 crisis

Expected Output: Risk scorecard (1-10 scale), concentration analysis, VAR metrics, stress test results, and actionable mitigation recommendations.

๐Ÿ’ฐ Tax Scout - Tax Optimization Specialist

Tax-loss harvesting & wash-sale compliance

View Capabilities & Examples

What Tax Scout Does:

  • ๐Ÿ’ธ Tax-Loss Harvesting: Identify positions with unrealized losses
  • โฐ Wash-Sale Compliance: 30-day rule monitoring (IRS Section 1091)
  • ๐Ÿ”„ Replacement Candidates: Find substantially different securities
  • ๐Ÿ“Š Capital Gains Analysis: Short-term vs long-term tracking
  • ๐Ÿ“… Year-End Planning: Strategic positioning before Dec 31 deadline
  • โš–๏ธ Tax-Efficient Rebalancing: Minimize gains during portfolio adjustments
  • ๐Ÿ“‹ Lot-Level Analysis: FIFO, LIFO, specific lot identification

Tools: 12 specialized tools for portfolio data, market pricing, fundamentals

Example Queries:

# Automatic routing
> How can I reduce my tax bill before year-end?

# Manual mode
> /tax
> Identify tax-loss harvesting opportunities with >5% unrealized losses, check wash-sale violations

Expected Output: TLH opportunities table with tax savings estimates, wash-sale violations, replacement candidates, and year-end action plan.

๐ŸŽฏ Hedge Smith - Options Strategist

Options strategies for portfolio protection & yield enhancement

View Capabilities & Examples

What Hedge Smith Does:

  • ๐Ÿ›ก๏ธ Protective Collars: Simultaneous OTM put purchase + OTM call sale for downside protection with capped upside
  • ๐Ÿ’ฐ Covered Calls: Sell call options against existing holdings to generate premium income
  • ๐Ÿ“‰ Protective Puts: Portfolio insurance through put purchases with cost/benefit optimization
  • ๐Ÿ’ต Cash-Secured Puts: Generate income while waiting to acquire stock at lower price
  • ๐ŸŽฏ Strike Selection: Optimal strike selection (5-10% OTM for protection, 10-20% for income)
  • ๐Ÿ“… Expiration Optimization: 30-45 days for theta decay, 60-90 days for protection
  • ๐Ÿ“Š Options Greeks: Delta, gamma, theta, vega, IV percentile analysis
  • โš–๏ธ Risk/Reward Profiling: Max profit, max loss, breakeven, probability estimates

Tools: 13 specialized tools for options chain data, market data, fundamentals, volatility

Example Queries:

# Automatic routing
> How can I protect my AAPL position with options?

# Manual mode
> /hedge
> I hold 500 shares of AAPL at $180 cost, currently $200. Design a protective collar for 45-day expiration.

Expected Output: Complete strategy specification with specific strikes, premiums, Greeks, risk/reward analysis, and exit strategy.


๐Ÿ’ก Example Workflows

Multi-Agent Investment Analysis

Command: /analyze <SYMBOL> or just ask naturally

What Happens:

  1. Quill performs bottom-up fundamental analysis
  2. News Sentry checks for material events and insider trading
  3. Macro Lens validates with top-down economic context
  4. Risk Shield assesses portfolio fit and concentration risks
  5. Tax Scout evaluates tax implications and timing
  6. Synthesis combines all perspectives into final recommendation
Example: Comprehensive MSFT Analysis (click to expand)
You: Should I invest in Microsoft?

๐Ÿ”€ Router analyzing your query to select appropriate agent(s)...

Router (Analyzing Intent):
โ†’ Detected investment decision query
โ†’ Routing to Quill (fundamental analysis)
โ†’ Routing to News Sentry (event monitoring)
โ†’ Routing to Macro Lens (market timing validation)
โ†’ Routing to Risk Shield (exposure assessment)
โ†’ Routing to Tax Scout (tax implications)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
QUILL: FUNDAMENTAL ANALYSIS
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Quill (Equity Research):
  โ†’ Calling route_to_quill
     Quill analyzing: Should I invest in Microsoft...
     Running specialist tools (fundamental analysis, valuation, investment thesis)...
      โ†’ get_quote({'symbol': 'MSFT'})
      โ†’ get_earnings_history({'symbol': 'MSFT'})
      โ†’ get_analyst_recommendations({'symbol': 'MSFT'})
      โ†’ get_financials({'symbol': 'MSFT'})
  โœ“ Quill (Fundamental Analysis) completed

**Fundamental Assessment**: STRONG
- Price: $420.45 (+0.8%), P/E 31x, Market Cap $3.1T
- 4 consecutive earnings beats, avg +4.2% surprise
- 89% buy ratings, mean target $475 (+13% upside)
- Revenue +15% YoY, 42% gross margin, $87B FCF
- Exceptional profitability (42% ROE)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
NEWS SENTRY: EVENT MONITORING
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

News Sentry (Event Monitor):
  โ†’ Calling route_to_news_sentry
     News Sentry analyzing: Material events for Microsoft...
     Running specialist tools (8-K monitoring, insider trades)...
      โ†’ get_latest_8k({'symbol': 'MSFT'})
      โ†’ get_insider_transactions({'symbol': 'MSFT'})
  โœ“ News Sentry (Event Monitoring) completed

**Material Events**: NEUTRAL
- No significant 8-K filings in last 30 days
- Routine insider sales by executives (tax-related)
- No unusual insider buying activity

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
MACRO LENS: TIMING VALIDATION
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Macro Lens (Market Strategist):
  โ†’ Calling route_to_macro_lens
     Macro Lens analyzing: What is the current market environment...
     Running specialist tools (market timing, sector allocation, economic regime)...
      โ†’ get_key_macro_indicators()
      โ†’ get_treasury_yield_curve()
      โ†’ get_market_indices()
  โœ“ Macro Lens (Market Timing) completed

**Macro Context**: LATE EXPANSION with CAUTION
- GDP +2.4%, CPI +3.1%, Unemployment 3.7%
- 10Y-2Y inverted -0.54% (recession warning)
- S&P 500 +12% YTD, Nasdaq -8% from highs, VIX 14.2
- Late expansion phase suggests staged entry

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
RISK SHIELD: EXPOSURE ASSESSMENT
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Risk Shield (Portfolio Risk):
  โ†’ Calling route_to_risk_shield
     Risk Shield analyzing: What are the key risk considerations...
     Running specialist tools (portfolio risk, VAR, drawdown analysis)...
      โ†’ get_volatility_metrics({'symbol': 'MSFT'})
      โ†’ calculate_portfolio_beta({'symbol': 'MSFT'})
  โœ“ Risk Shield (Portfolio Risk) completed

**Risk Profile**: MODERATE
- Beta: 0.95 (slightly less volatile than market)
- Defensive characteristics (enterprise subscriptions)
- Position sizing: Recommend 5-10% of portfolio max

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
TAX SCOUT: TAX IMPLICATIONS
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Tax Scout (Tax Optimization):
  โ†’ Calling route_to_tax_scout
     Tax Scout analyzing: Tax considerations for purchase...
  โœ“ Tax Scout (Tax Optimization) completed

**Tax Considerations**: NO ISSUES
- No wash-sale concerns (new purchase)
- Consider tax-advantaged accounts for large positions
- Hold >1 year for long-term capital gains treatment

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
FINAL SYNTHESIS
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŽฏ RECOMMENDATION: BUY (Dollar-Cost Average)
๐Ÿ“Š Confidence Level: MEDIUM

**Key Reasoning**:

Microsoft shows exceptional fundamental quality:
- 42% ROE, $87B annual FCF (best-in-class capital efficiency)
- Strong competitive moats (Azure cloud, enterprise software lock-in)
- Consistent earnings beats (+4.2% avg surprise, 4 quarters)
- 89% analyst buy ratings, $475 mean target (+13% upside)

However, macro timing suggests staged entry:
- Late expansion phase (GDP slowing from 2.8% to 2.4%)
- Inverted yield curve (-0.54%) signals 70% recession probability
- Tech sector vulnerable (Nasdaq -8% from highs)

**Suggested Action**:

Dollar-cost average over 3-6 months:
- Tranche 1: 40% now (defensive exposure to quality)
- Tranche 2: 30% if MSFT dips below $390 (-7% from current)
- Tranche 3: 30% if macro deteriorates (recession confirmed)

Microsoft's defensive characteristics position it to outperform
cyclical tech peers in downturn.

**Risk Warnings**:
1. Azure growth deceleration below 25% YoY would weaken thesis
2. Recession could compress P/E to 24-26x (15-20% downside)
3. If yield curve steepens rapidly, pause accumulation

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“„ Report saved to: reports/MSFT_analysis_20251012_143022.md

Systematic Idea Generation

Command: /discover [CRITERIA] NEW in v0.1.37!

What Happens:

  1. Screen Forge identifies 10-15 candidates using factor-based screening
  2. Quill performs deep fundamental analysis on top 3-5 picks
  3. Risk Shield assesses portfolio fit and position sizing for each
  4. Synthesis ranks candidates with actionable recommendations
Example: Discover Dividend Stocks (click to expand)
You: /discover dividend stocks with P/E under 20 and yield over 3%

Idea Discovery Workflow: Starting systematic screening...

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
SCREEN FORGE: CANDIDATE IDENTIFICATION
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Screen Forge (Equity Screener):
  ๐Ÿ” Screen Forge identifying candidates...
    โ†’ get_stock_screener
    โ†’ get_dividend_stocks
    โ†’ get_financial_ratios

**Screening Results**: 12 CANDIDATES IDENTIFIED

| Symbol | Price | P/E | Yield | Payout | Score |
|--------|-------|-----|-------|--------|-------|
| VZ     | $38.50 | 8.2x | 6.8% | 54% | 8.5 |
| MO     | $43.20 | 9.1x | 7.9% | 78% | 8.2 |
| T      | $16.80 | 7.5x | 6.2% | 55% | 8.0 |
| ABBV   | $172.50 | 15.3x | 3.8% | 45% | 7.8 |
| PFE    | $28.40 | 11.2x | 5.9% | 65% | 7.5 |

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
QUILL: FUNDAMENTAL ANALYSIS (TOP 3)
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Quill (Equity Research):
  ๐Ÿ“Š Quill analyzing top picks...
    โ†’ Analyzing VZ, MO, T

**Top Pick #1: Verizon (VZ)**
- **Valuation**: Attractive at 8.2x P/E (telecom avg: 12x)
- **Dividend Safety**: Strong (54% payout, $8B annual FCF)
- **Business Quality**: Infrastructure moat, recession-resistant
- **5-Year Returns**: Total return 45% (35% from dividends)
- **Rating**: BUY

**Top Pick #2: Altria (MO)**
- **Valuation**: Cheap at 9.1x P/E
- **Dividend Safety**: Moderate risk (78% payout)
- **Business Quality**: Declining smoker base, regulatory risk
- **5-Year Returns**: Total return 38% (mostly dividends)
- **Rating**: HOLD (monitor payout sustainability)

**Top Pick #3: AT&T (T)**
- **Valuation**: Very cheap at 7.5x P/E
- **Dividend Safety**: Stable (55% payout, post-cut)
- **Business Quality**: Fiber buildout improving outlook
- **5-Year Returns**: Total return 28% (post-dividend cut recovery)
- **Rating**: HOLD (improving fundamentals)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
RISK SHIELD: PORTFOLIO FIT ASSESSMENT
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

Risk Shield (Risk Manager):
  ๐Ÿ›ก๏ธ Risk Shield assessing portfolio fit...
    โ†’ calculate_correlation
    โ†’ assess_sector_concentration

**Position Sizing Recommendations**:
- **VZ**: 5-7% allocation (defensive core holding)
- **MO**: 2-3% allocation (higher risk, satellite position)
- **T**: 3-5% allocation (value/turnaround play)

**Concentration Risk**: MODERATE
- 10-15% combined telecom exposure acceptable
- Provides defensive characteristics, recession hedge
- Low correlation with tech-heavy portfolios

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
FINAL RECOMMENDATIONS
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐ŸŽฏ **RANKED INVESTMENT IDEAS**

**#1 BEST: Verizon (VZ) - BUY**
- Entry: $38-40 range
- Target yield: 6.5-7.0%
- Position size: 5-7% of portfolio
- Thesis: Infrastructure moat + recession-resistant + attractive valuation

**#2 HOLD: Altria (MO) - Monitor**
- Entry: Below $42 (current $43.20)
- Target yield: 8%+
- Position size: 2-3% maximum (satellite)
- Thesis: High yield but declining business, payout risk

**#3 HOLD: AT&T (T) - Turnaround Play**
- Entry: $15-17 range
- Target yield: 6-7%
- Position size: 3-5%
- Thesis: Post-cut stabilization, fiber buildout upside

**Action Steps**:
1. Start with VZ (5% allocation) for defensive income core
2. Watch for MO dip below $42 for small satellite position
3. Monitor AT&T fiber subscriber growth for entry signal

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“„ Report saved to: reports/report_idea_discovery_20251012_145200.md

๐Ÿ“š Documentation

User Guides

  • ๐Ÿš€ Getting Started - Installation, setup, first queries, troubleshooting
  • โ“ FAQ - 100+ answered questions covering all features
  • ๐Ÿค– Agents Guide - Complete reference for all 10 specialized agents
  • ๐Ÿ”€ Multi-Agent Workflows - Agent collaboration patterns
  • ๐Ÿ› ๏ธ API Tools - Data sources and tool capabilities

Developer Resources

API Documentation


๐Ÿ—บ๏ธ Roadmap

Current Release: v0.1.37 (In Development)

Latest Features:

  • โœ… Extended /analyze Workflow: 5-agent comprehensive analysis (Quill + News Sentry + Macro Lens + Risk Shield + Tax Scout)
  • โœ… /discover Workflow: NEW systematic idea generation (Screen Forge + Quill + Risk Shield)
  • โœ… Progressive Streaming: Real-time display of sub-agent tool calls as they execute
  • โœ… State Accumulation: Each agent receives context from previous agents
  • โœ… Workflow Synthesis: Comprehensive recommendations integrating all perspectives

Recently Completed (v0.1.36):

  • โœ… Automatic Intent-Based Routing: No more manual agent switchingโ€”just ask naturally
  • โœ… Router Agent: LangGraph tool-calling supervisor coordinating 10 specialist agents
  • โœ… Enhanced Transparency: Watch router analyze intent and select appropriate agents
  • โœ… Backward Compatible: All /command syntax still works for power users

Earlier Releases:

  • โœ… Hedge Smith Agent: Options strategies (collars, covered calls, puts), Greeks analysis (v0.1.35)
  • โœ… Tax Scout Agent: Tax-loss harvesting, wash-sale compliance, year-end planning (v0.1.34)
  • โœ… Risk Shield Agent: Portfolio risk management, VAR, drawdown analysis (v0.1.33)
  • โœ… News Sentry Agent: Real-time 8-K monitoring, insider tracking, breaking news (v0.1.32)

Planned for v0.1.38 (Q1 2025):

  • New Workflows: /optimize-tax (Tax Scout + Hedge Smith), /protect (Risk Shield + Hedge Smith)
  • API Caching Layer: DuckDB-based caching to reduce API calls and improve performance
  • Workflow Progress Visualization: Enhanced TUI display for multi-agent workflows

Future Releases

v0.2.0+ (Q2 2025):

  • Backtesting Engine: Test investment strategies on historical data
  • Web UI: Browser-based interface (in addition to TUI)
  • State Persistence: PostgreSQL checkpointer for LangGraph
  • Cloud Deployment: LangGraph Cloud integration
  • Custom Agents: User-defined agent templates and tools
  • Python SDK: Programmatic API for third-party integrations

Recent Releases

v0.1.36 (Oct 15, 2025) - Router Agent & Progressive Streaming
  • โœ… Automatic intent-based routing eliminates manual agent switching
  • โœ… Router supervisor agent coordinates 10 specialist agents
  • โœ… Progressive streaming shows real-time sub-agent tool calls
  • โœ… AsyncIO queue-based streaming architecture
  • โœ… Enhanced transparency with router reasoning display
  • โœ… Backward compatible with manual /command syntax
  • โœ… 16 comprehensive tests (all passing)

Full Release Notes

v0.1.35 (Oct 13, 2025) - Hedge Smith Agent
  • โœ… Options strategies for portfolio protection and yield enhancement
  • โœ… Protective collars, covered calls, protective puts, cash-secured puts
  • โœ… Greeks analysis (delta, gamma, theta, vega, IV)
  • โœ… Strike selection and expiration optimization
  • โœ… 13 specialized tools for options analysis
  • โœ… TUI integration with /hedge command

Full Release Notes

v0.1.34 (Oct 12, 2025) - Tax Scout Agent
  • โœ… Tax-loss harvesting opportunity identification
  • โœ… Wash-sale rule compliance monitoring (30-day windows)
  • โœ… Year-end tax planning strategies
  • โœ… 12 specialized tools for tax optimization
  • โœ… TUI integration with /tax command

Full Release Notes

v0.1.33 (Oct 9, 2025) - Risk Shield Agent
  • โœ… Portfolio risk management (VAR, drawdown, concentration)
  • โœ… 18 specialized tools across market data and macro indicators
  • โœ… Comprehensive system prompt with risk assessment frameworks
  • โœ… TUI integration with /risk command

Full Release Notes


๐Ÿค Contributing

We welcome contributions! Navam Invest is built by retail investors, for retail investors.

Ways to Contribute

Development Workflow

  1. Fork and clone: git clone https://github.com/your-username/navam-invest.git
  2. Create branch: git checkout -b feature/amazing-feature
  3. Make changes with tests and documentation
  4. Run quality checks:
    black src/ tests/        # Format code
    ruff check src/ tests/   # Lint
    mypy src/                # Type check
    pytest                   # Run tests
    
  5. Commit: git commit -m "feat: Add amazing feature"
  6. Push and create PR with detailed description

See CONTRIBUTING.md for detailed guidelines.


๐Ÿ“„ License

This project is licensed under the MIT License - see LICENSE for details.

Key Points:

  • โœ… Free for personal and commercial use
  • โœ… Modify and distribute as you wish
  • โœ… No warranty provided

๐Ÿ™ Acknowledgments

Core Technologies

  • Anthropic - Claude AI reasoning engine (Sonnet 4.5)
  • LangChain - Agent framework ecosystem (LangGraph orchestration)
  • Textual - Modern terminal UI framework

Data Providers


Built with โค๏ธ for retail investors

Star on GitHub Follow on Twitter

โฌ† Back to Top

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

navam_invest-0.1.37.tar.gz (111.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

navam_invest-0.1.37-py3-none-any.whl (123.2 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page