Standalone AI investment assistant with 18 specialized agents and real-time market data
Project description
๐ค Navam - Standalone AI Investment Assistant
AI-powered investment research with 18 specialized agents and real-time market data
๐ Quick Start โข ๐ Features โข ๐ฌ Chat Interface โข ๐ค Agents โข ๐ค Contributing
๐ฏ What is Navam?
Navam is a standalone AI investment assistant that combines Claude's intelligence with real-time market data. No Claude Desktop required - just install and start researching stocks.
Key Features
- ๐ Standalone Package - Works immediately after
pip install navam - ๐ค 18 Specialized AI Agents - Expert analysis for every investment scenario
- โก Smart Caching - 70% reduction in API calls for faster, cheaper queries
- ๐ 3 High-Performance MCP Servers - Real-time stock, company, and news data
- ๐ฏ 8 Investment Workflows - Pre-built slash commands for common tasks
- ๐ฌ Interactive Chat - Natural language investment research
What's New in v1.7.2
- ๐ฏ Fixed Agent Selection - All 7 investment commands now use specialized agents correctly
- โก 5x Faster Streaming Reports - Progressive display of agent results as they complete
- ๐ฐ 75% Cost Reduction - Workflows now $0.30-0.40 (was $1.50-1.80)
- ๐ 2-3 Minute Execution - Down from 10-13 minutes for complex workflows
- โ Domain Expertise Applied - Each agent brings specialized knowledge to analysis
โจ Features
๐ฌ Interactive Chat
- Natural Language Financial Analysis - Ask questions, get intelligent insights
- Real-time Progress Indicators - See thinking tokens, tool execution, and agent activity
- Multi-Agent Coordination - Multiple AI agents working in parallel with progress tracking
- Smart Caching System - 70% reduction in API calls, 70% cost savings
- Performance Monitoring -
/perfcommand shows cache hits, cost tracking, parallel execution - Persistent Chat History - Context-aware conversations with turn tracking
- Custom Slash Commands - Pre-built investment workflows
- Built-in Commands -
/agents,/api,/tools,/help,/perf,/cacheand more
๐ Financial Intelligence
- Live Market Data - Real-time quotes, volume, price movements
- Technical Analysis - RSI, MACD, moving averages, trend indicators
- Company Research - Fundamentals, SEC filings, analyst ratings
- News & Sentiment - Multi-source aggregation with AI sentiment analysis
- Portfolio Management - Value tracking, allocation analysis, performance metrics
๐ค AI Agents
- 18 Specialized Financial Agents - Expert AI for every investment scenario
- Strategy & Planning - Atlas (investment strategy), Compass (goal planning), Macro Lens (market analysis)
- Research & Analysis - Quill (equity research), Earnings Whisperer, News Sentry, Screen Forge
- Portfolio Management - Ledger (performance), Quant Optimizer, Risk Shield, Rebalance Bot
- Trading & Execution - Trader Jane, Compliance Sentinel
- Tax & Treasury - Tax Scout, Cash Treasury Steward
- Advanced Strategies - Hedge Smith (options), Factor Scout
- Knowledge Management - Notionist Librarian
Use /agents command in chat to see all agents with detailed descriptions!
๐ง Integration Ready
- Claude Desktop Compatible - Works seamlessly with Claude Desktop
- MCP Protocol - Industry-standard Model Context Protocol
- API-First Design - Easy integration with other tools
- Standalone or Integrated - Use independently or with Claude Desktop
๐ Quick Start
Installation
# Install from PyPI
pip install navam
# Verify installation
navam --version
Setup
# Required: Set your Anthropic API key
export ANTHROPIC_API_KEY="your_anthropic_api_key"
# Optional: Add API keys for enhanced data (see Configuration section)
export ALPHA_VANTAGE_KEY="your_alpha_vantage_key"
Start Chatting
# Launch interactive AI chat
navam chat
# Once in chat, try these commands:
/agents # See all 18 specialized AI agents
/api # Check which APIs are active
/help # Get complete command reference
# Or use direct CLI commands
navam analyze AAPL
navam compare AAPL MSFT GOOGL
navam news "Federal Reserve"
First time using Navam? Start with navam chat and type /help to see all features!
๐ก Usage Examples
Interactive Chat Commands
# Launch interactive chat
navam chat
# Built-in commands (use within chat):
/agents # List all 18 specialized AI agents
/api # Show API status and configuration
/perf # Performance metrics: cache hits, costs, parallel execution
/cache # Cache statistics and savings
/help # Show all available commands
/tools # List available MCP tools
/commands # List all slash commands
# Investment workflow commands (NEW in v1.7.2 - now with specialized agents!):
/invest:research-stock NVDA # 3 specialized agents analyze fundamentals, news, and risks
/invest:review-portfolio # 6 specialized agents provide comprehensive portfolio analysis
/invest:screen-opportunities # 4 specialized agents screen and analyze top candidates
/invest:plan-goals # 3 specialized agents map goals and create investment strategy
/invest:optimize-taxes # 6 specialized agents optimize tax efficiency
/invest:monitor-holdings # 6 specialized agents provide continuous monitoring
/invest:execute-rebalance # 6 specialized agents handle systematic rebalancing
CLI Commands
# Stock analysis
navam analyze AAPL
# Multi-stock comparison
navam compare AAPL MSFT GOOGL
# Market screening
navam screen --sector technology --min-price 100
# News analysis
navam news "Tesla earnings"
# Check API status
navam chat
# Then use: /api
Python API
from navam import StockAnalyzer, CompanyResearch
# Analyze stocks programmatically
stock = StockAnalyzer()
analysis = await stock.analyze_stock("AAPL")
print(f"Price: ${analysis.price}")
# Research companies
company = CompanyResearch()
profile = await company.get_company_profile("AAPL")
print(f"Sector: {profile.sector}")
โ๏ธ Configuration
API Key Setup
Navam uses a tiered API approach - basic functionality works with free APIs, premium features unlock with paid keys:
Required
export ANTHROPIC_API_KEY="your_anthropic_key" # For AI chat functionality
Optional (Enhanced Features)
# Financial data enhancement
export ALPHA_VANTAGE_KEY="your_key" # Company data, technical indicators
export POLYGON_API_KEY="your_key" # Professional market data
export MARKETAUX_API_KEY="your_key" # Financial news aggregation
export NEWSAPI_KEY="your_key" # Global news coverage
export FINNHUB_API_KEY="your_key" # Real-time financial news
Configuration Methods
Method 1: Environment Variables (Production)
echo 'export ANTHROPIC_API_KEY="your_key"' >> ~/.bashrc
source ~/.bashrc
Method 2: .env File (Development)
# Create .env file in project directory
echo "ANTHROPIC_API_KEY=your_key" > .env
echo "ALPHA_VANTAGE_KEY=your_key" >> .env
Method 3: Session Variables (Temporary)
export ANTHROPIC_API_KEY="your_key"
navam chat
Check Configuration Status
navam chat
# Inside chat, use these commands:
/api # Shows detailed API status - which are active, which need keys
/agents # List all 18 specialized AI agents available
/tools # Show all available MCP tools
/help # Complete command reference
๐ Integrations
Claude Desktop Integration
Add to your Claude Desktop configuration:
{
"mcpServers": {
"navam-stock": {
"command": "python",
"args": ["-m", "stock_mcp.server", "stdio"],
"env": {
"ALPHA_VANTAGE_KEY": "your_key"
}
},
"navam-company": {
"command": "python",
"args": ["-m", "company_mcp.server", "stdio"]
},
"navam-news": {
"command": "python",
"args": ["-m", "news_mcp.server", "stdio"]
}
}
}
Standalone MCP Servers
# Run individual MCP servers
python -m stock_mcp.server stdio
python -m company_mcp.server streamable-http --port 8080
python -m news_mcp.server stdio
๐๏ธ Architecture
Component Overview
๐ฆ Navam Platform
โโโ ๐ฌ Interactive Chat (navam chat)
โ โโโ Real-time thinking token display
โ โโโ Live tool execution tracking
โ โโโ Multi-agent parallel execution monitoring
โ โโโ Built-in commands (/agents, /api, /tools, /help)
โโโ ๐ Stock Analysis MCP Server (Grade A- 90%)
โโโ ๐ข Company Research MCP Server (Grade C+ 75%)
โโโ ๐ฐ News Analysis MCP Server (Grade B 80%)
โโโ ๐ค 18 Specialized AI Agents
โ โโโ Strategy & Planning (3 agents)
โ โโโ Research & Analysis (4 agents)
โ โโโ Portfolio Management (4 agents)
โ โโโ Trading & Execution (2 agents)
โ โโโ Tax & Treasury (2 agents)
โ โโโ Advanced Strategies (2 agents)
โ โโโ Knowledge Management (1 agent)
โโโ โก Custom Investment Commands
โโโ ๐ง Claude Desktop Integration
Data Sources
| Source | Type | Features |
|---|---|---|
| Yahoo Finance | Free | Stock quotes, company data, news |
| SEC EDGAR | Free | Official company filings |
| Alpha Vantage | Premium | Technical indicators, fundamentals |
| Polygon.io | Premium | Real-time professional data |
| MarketAux | Premium | Curated financial news |
| NewsAPI | Premium | Global news coverage |
| Finnhub | Premium | Real-time market news |
๐ Performance
| MCP Server | Grade | Response Time | Production Ready |
|---|---|---|---|
| Stock Analysis | A- (90%) | 2-4s | โ |
| Company Research | C+ (75%) | 2-4s | โ |
| News Analysis | B (80%) | <2s | โ |
Performance Metrics (v1.7.2):
- 70% Cache Hit Rate - Eliminates duplicate API calls
- 75% Cost Reduction - $1.77 โ $0.30-0.40 per workflow
- 70% Faster Execution - 13 min โ 2-3 min for complex workflows
- Parallel Execution - Multiple specialized agents working simultaneously
- Streaming Reports - 5x faster perceived speed with progressive results
Architecture:
- Async/Await - Concurrent operations
- Hook-Based Caching - Intelligent API call interception
- Graceful Degradation - Works with or without premium APIs
- Rate Limiting - Respects API quotas
๐งช Development
Local Development
# Clone repository
git clone https://github.com/navam-ai/navam.git
cd navam
# Install development dependencies
pip install -e .[dev]
# Run tests
pytest
# Code formatting
black .
ruff check .
mypy .
Testing MCP Servers
# Test with MCP inspector
mcp dev stock_mcp/server.py
mcp dev company_mcp/server.py
mcp dev news_mcp/server.py
# Test individual servers
echo '{"symbol": "AAPL"}' | python -m stock_mcp.server stdio
๐ก Chat Command Reference
When you run navam chat, you have access to powerful built-in commands:
| Command | Description |
|---|---|
/agents |
List all 18 specialized AI agents with descriptions and categories |
/api |
Show detailed API status - which are active, which need configuration |
/perf |
Performance metrics: cache hit rate, API costs, parallel execution stats |
/cache |
Cache statistics: hits/misses, cost savings, efficiency metrics |
/help |
Display complete help with all features and commands |
/commands |
List all available slash commands (built-in + investment workflows) |
/tools |
Show all MCP tools available for financial analysis |
/servers |
Display loaded MCP servers status |
/status |
Show conversation metrics (turns, tools used, agents invoked) |
/new |
Start a fresh conversation (clear context) |
/clear |
Clear the screen |
/exit |
Exit the chat interface |
Investment Workflow Commands:
/invest:research-stock [SYMBOL]- Deep dive stock research (3 specialized agents)/invest:review-portfolio- Portfolio analysis and recommendations (6 specialized agents)/invest:screen-opportunities- Find investment opportunities (4 specialized agents)/invest:plan-goals- Financial goal planning (3 specialized agents)/invest:optimize-taxes- Tax optimization strategies (6 specialized agents)/invest:monitor-holdings- Continuous portfolio monitoring (6 specialized agents)/invest:execute-rebalance- Systematic portfolio rebalancing (6 specialized agents)
๐ Security & Compliance
- โ Read-Only Operations - No trading or account modifications
- โ API Key Security - Environment variable storage
- โ Rate Limiting - Respectful API usage
- โ No Data Storage - No personal financial data stored
- โ Open Source - Full transparency
๐ค Contributing
We welcome contributions! Here's how to get started:
Quick Contribution Setup
# Fork and clone
git clone https://github.com/YOUR_USERNAME/navam.git
cd navam
# Development setup
pip install -e .[dev]
pre-commit install
# Make changes, test, and submit PR
pytest
black .
git commit -m "feat: your contribution"
Ways to Contribute
- ๐ Bug Reports - GitHub Issues
- โจ Feature Requests - GitHub Discussions
- ๐ Documentation - Improve guides and examples
- ๐ง Code - New features, bug fixes, optimizations
- ๐งช Testing - Add test coverage, performance testing
๐ What's New
Version 1.7.2 (Latest) - October 2025
๐ฏ Critical Fix: Agent Selection & Streaming Reports
-
๐ฏ Fixed Agent Selection Bug - Specialized agents now work correctly
- All 7 investment commands updated with explicit Task tool syntax
- Previously: All workflows used generic "general-purpose" agent
- Now: Each workflow invokes correct specialized agents by name
- Format:
Task(subagent_type="agent-name", description="...", prompt="...")
-
โก Streaming Reports Operational - 5x faster perceived speed
- Progressive display of agent results as they complete
- Real-time feedback during long-running workflows
- Shows agent name, duration, and result preview (first 1000 chars)
- Rich formatted cyan panels for streaming sections
-
๐ฐ Massive Performance Improvements - Production-validated metrics
- 75% Cost Reduction: $1.77 โ $0.30-0.40 per workflow
- 70% Faster Execution: 13 min โ 2-3 min for complex workflows
- Domain Expertise Applied: Each agent brings specialized knowledge
- Parallel Execution: Multiple specialized agents working simultaneously
-
๐ง Commands Fixed (7 total)
- โ
/invest:research-stock- 3 specialized agents - โ
/invest:plan-goals- 3 specialized agents - โ
/invest:optimize-taxes- 6 specialized agents - โ
/invest:monitor-holdings- 6 specialized agents - โ
/invest:execute-rebalance- 6 specialized agents - โ
/invest:screen-opportunities- 4 specialized agents - โ
/invest:review-portfolio- 6 specialized agents
- โ
Version 1.7.0-1.7.1 - October 2025
๐ Streaming Reports & Command Consistency
- โก Streaming Reports (v1.7.0) - Progressive display of subagent results
- ๐ฏ Command Consistency (v1.7.1) - All 7 commands use parallel execution
Version 1.6.0-1.6.8 - September-October 2025
๐ Standalone Package + Performance Optimization Series
- โ Zero External Dependencies - No Claude Code or Claude Desktop needed
- ๐ค 18 Bundled Agents - All specialized agents included
- โก Hook-Based Caching - 70% API call reduction
- ๐ Cost Tracking - Real-time monitoring of API usage and costs
See CHANGELOG.md for complete version history.
๐ Support
Getting Help
- ๐ Documentation - Comprehensive guides in
/docs - ๐ฌ Discord Community - Join our Discord
- ๐ Bug Reports - GitHub Issues
- ๐ก Feature Requests - GitHub Discussions
Resources
- ๐ Website - navam.ai
- ๐ฆ PyPI - pypi.org/project/navam
- ๐ Documentation - docs.navam.ai
- ๐ผ GitHub - github.com/navam-ai/navam
๐ License
This project is licensed under the MIT License - see LICENSE for details.
โญ Acknowledgments
Built with amazing open-source technologies:
- ๐ง Anthropic Claude - AI foundation
- โก MCP Protocol - Agent communication
- ๐ FastMCP - High-performance framework
- ๐ Yahoo Finance - Financial data
- ๐ง Rich - Beautiful terminal interfaces
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters