A Persistent, Personal Context Engine
A mesh of intelligent layers working together to run, optimize, and upgrade your life.
Starting with crypto. Building toward everything.
Jarvis is not a product in the traditional sense. It is not just an app, a bot, a trading system, or an AI assistant.
Jarvis is a persistent, personal context engine—a mesh of intelligent layers and smart agents that work together to quietly run, optimize, and upgrade your life in the background.
The inspiration is simple and familiar: the Iron Man version of Jarvis—the system that quietly upgrades your life without demanding your attention. Something that knows you across all of your devices. Something that understands your preferences, habits, goals, frustrations, and patterns—without you needing to constantly configure it, prompt it, or manage it.
Today's AI tools exist in isolation.
You are expected to orchestrate them.
Jarvis flips that model entirely.
Instead of you adapting to software, the software adapts to you.
Jarvis tracks context across your life.
Not just commands. Not just prompts. Not just conversations.
Context includes:
By unifying this context, Jarvis becomes a single operational layer that sits quietly beneath everything else.
You don't need to be a power user. You don't need to understand AI workflows. You don't need to be technical. You don't need to understand crypto.
Jarvis exists so you don't have to manage complexity at all.
In the beginning, Jarvis assists.
Over time, Jarvis earns autonomy.
Nowhere is this clearer than in trading.
Jarvis is designed to evolve into a fully autonomous trading engine—one that:
Trading is the first domain where Jarvis becomes truly autonomous because it is measurable, auditable, and objective.
From there, autonomy expands outward—into scheduling, optimization, installations, coordination, and eventually the broader mechanics of daily life.
Jarvis is not trying to replace humans.
It is trying to remove friction.
It is a persistent, personal context engine that quietly unifies intelligence, automation, finance, and daily life into a single system—one that works in the background, upgrades itself, and upgrades you along the way.
Jarvis started in crypto intentionally.
Not because it was meant to be only a crypto product—but because crypto is the one environment where the future already exists.
In its first phase, Jarvis lives natively on Solana. This is not an accident or a branding choice. Solana provides something no other ecosystem currently can: a fully on-chain, real-time, high-frequency environment where data, assets, execution, analytics, and automation are all transparent, composable, and verifiable by design.
Crypto offers:
These properties make crypto the ideal proving ground for autonomy.
Jarvis launches with a strong trading and analytics context not because trading is the end goal—but because it is the hardest place to build something real. Markets are unforgiving. They provide immediate feedback. They expose bad logic quickly. And they reward systems that can learn, adapt, and execute correctly under pressure.
In this sense, crypto is not Jarvis's identity. It is Jarvis's training ground.
If a system can survive markets, it can survive anything.
Once Jarvis proves itself in trading—operating autonomously, generating value, and continuously improving—it expands outward into:
The architecture is designed for this from day one.
Jarvis is not one monolithic intelligence.
It is a mesh of smart agents and intelligent layers, each responsible for observing, understanding, and improving different parts of your digital and real-world environment.
Context → Intelligence → Action → Feedback → Memory
Everything in Jarvis fits into one of these layers:
| Layer | Purpose |
|---|---|
| Context | Signals from devices, apps, chains, and your environment |
| Intelligence | Reasoning, planning, and evaluation (model-agnostic) |
| Action | Execution across domains (finance, productivity, communication, devices) |
| Feedback | Learning from outcomes |
| Memory | Short-term, long-term, and reflective storage |
These agents:
If an AI agent goes offline, Jarvis continues to function normally. Intelligence is additive, not required. Trust is earned, not assumed.
This mesh architecture allows Jarvis to scale horizontally across:
Jarvis doesn't start with full autonomy. It earns trust through success:
Every autonomous action is:
You remain in control. Always.
Jarvis is now explicitly split into two cooperating planes:
OpenClaw harness for execution, autonomy, and user-facing actionsMission Control for governance, evaluation, versioning, and promotionThis split keeps systems fast and expressive without uncontrolled drift.
Personal lane: private, local-first, fast setup, focused on life/work automationEnterprise lane: role-aware teams, domain packs (HR, legal, infra, engineering), audit-ready operations| Layer | Primary owner |
|---|---|
| Agent runtime, tools, user interaction | OpenClaw harness |
| Prompt/context registry, evals, promotion gates, rollback | Mission Control |
The complete staged roadmap, boundaries, and scaling model are documented in:
Jarvis is built on first principles.
It is:
It runs on a new local node architecture powered by LLaMA-based models and free access to advanced intelligence through Claude-compatible runtimes. This makes Jarvis viable at ultra-low cost, without subscriptions, without data extraction, and without centralized control.
Your data stays local. Your context stays yours. Your intelligence compounds over time.
The economic model is intentionally simple and aligned:
| Allocation | Percentage | Purpose |
|---|---|---|
| Holders | 75% | Value flows directly to $KR8TIV token holders |
| Charity | 5% | Supports open-source projects and community causes |
| Founder | 20% | Sustains ongoing development |
This structure ensures that:
Jarvis is built with the same ethos as Linux:
We are building the Linux of AI context models—something that levels the playing field, making advanced AI accessible to the "little guy," not just engineers or specialists.
While the vision is expansive, Jarvis is already operational and generating value in several domains:
| Module | Purpose |
|---|---|
self_learning.py | Track tweet engagement, learn what works |
memory_system.py | Remember users, conversations, sentiment |
reply_prioritizer.py | Score mentions, prioritize influencers |
trending_detector.py | Find trends before peak via Grok |
health_monitor.py | Self-monitoring, API checks, auto-alerts |
content_calendar.py | Event awareness, optimal posting times |
confidence_scorer.py | Rate predictions 1-10, track accuracy |
alpha_detector.py | Volume spikes, new pairs, on-chain alpha |
voice_tuner.py | Context-aware personality adjustment |
thread_generator.py | Auto-generate threads when needed |
quote_strategy.py | Strategic quote tweeting |
analytics.py | Performance dashboard, weekly insights |
Orchestrator: Central controller coordinating all modules with content recommendations, smart reply decisions, and background learning tasks.
| Feature | Description |
|---|---|
| Decision Matrix | Multi-signal trade decision framework |
| Risk Management | Position sizing (max 25%), loss limits, circuit breakers |
| Active Monitoring | Stop loss checks every 60 seconds |
| Emergency Close | Auto-closes positions down >90% |
| Take Profit Detection | Auto-closes when TP price is hit |
| Liquidity Checks | Blocks trades on tokens with <$1,000 daily volume |
| Token Risk Classification | ESTABLISHED, MID, MICRO, SHITCOIN tiers |
| Multi-Source Pricing | DexScreener → Jupiter → CoinGecko fallback chain |
| Circuit Breaker | Tracks API health, avoids dead sources |
| Source | Purpose |
|---|---|
| CoinGecko | Token metadata, market caps |
| DeFiLlama | Protocol TVL, chain analytics |
| CoinMarketCap | Price feeds, market data |
| DexScreener | Primary price source, liquidity data |
| Jupiter | DEX aggregator, swap execution |
| Helius | Solana RPC, transaction parsing |
| Bitquery | Real-time WebSocket monitoring (bags.fm) |
| Grok AI (xAI) | Sentiment analysis, token scoring |
| Feature | Description |
|---|---|
| Supervisor System | Auto-restart with exponential backoff (5s → 300s) |
| Health Monitoring | 60-second interval checks for all components |
| Anti-Scam Protection | Regex-based scam detection, auto-restrict, auto-delete |
| Encrypted Storage | At-rest encryption for sensitive data |
| Emergency Shutdown | Graceful termination system |
| RBAC System | Role-based access control |
| Admin-Only Trading | Treasury trades restricted to authorized users |
# Clone the repository
git clone https://github.com/Matt-Aurora-Ventures/Jarvis.git
cd Jarvis
# Install Python dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Edit .env with your API keys
# Initialize the database
python scripts/init_db.py
# Run the supervisor (starts all components)
python bots/supervisor.py
Key environment variables:
# Solana
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
TREASURY_LIVE_MODE=true # Set to false for dry-run testing
# APIs
XAI_API_KEY=your_grok_api_key
TELEGRAM_BOT_TOKEN=your_telegram_token
TWITTER_BEARER_TOKEN=your_twitter_bearer_token
HELIUS_API_KEY=your_helius_api_key
BITQUERY_API_KEY=your_bitquery_api_key
# Database
DATABASE_URL=postgresql://user:pass@localhost:5432/jarvis
# Trading
MAX_POSITIONS=50
LOW_BALANCE_THRESHOLD=0.01
LIFEOS_KILL_SWITCH=false # Emergency trade halt
# Trading bot only
python bots/treasury/trading.py
# Telegram bot only
python tg_bot/bot.py
# Twitter/X bot only
python bots/twitter/autonomous_engine.py
# Sentiment reporter only
python bots/buy_tracker/sentiment_report.py
# Bags Intel monitor only
python bots/bags_intel/bags_intel_bot.py
Jarvis uses this root README as the canonical source of truth for product narrative, architecture overview, and deployment guidance.
README.mddocs/gitbookdocs/historyIf you encounter older links referencing README_NEW.md or README_BACKUP.md, use the
archived copies and defer to this README for current guidance.
jarvis/
├── bots/
│ ├── supervisor.py # Main orchestrator
│ ├── treasury/ # Trading engine (Jupiter DEX)
│ ├── twitter/ # X/Twitter bot (autonomous posting)
│ ├── buy_tracker/ # KR8TIV token tracking + sentiment
│ ├── bags_intel/ # Bags.fm graduation monitoring
│ ├── clawdmatt/ # ClawdBot: Research & analysis agent
│ ├── clawdjarvis/ # ClawdBot: Coordination & execution agent
│ ├── clawdfriday/ # ClawdBot: Ops & maintenance agent
│ ├── clawdyoda/ # ClawdBot: Strategy & wisdom agent
│ ├── clawdsquishy/ # ClawdBot: Monitoring & alerts agent
│ └── shared/ # 50+ shared modules for all bots
│ ├── coordination.py # Multi-bot coordination protocol
│ ├── self_healing.py # Auto-recovery from failures
│ ├── heartbeat.py # Health monitoring heartbeats
│ ├── supermemory_client.py # Supermemory knowledge graph
│ ├── knowledge_graph.py # Local knowledge graph
│ ├── cost_tracker.py # API cost tracking
│ ├── feature_flags.py # Runtime feature toggles
│ ├── campaign_orchestrator.py # Cross-bot campaign management
│ └── ... # 40+ more modules
│
├── core/
│ ├── context_loader.py # Shared Jarvis context/capabilities
│ ├── autonomy/ # Autonomous intelligence modules
│ ├── memory/ # Learning & memory systems
│ ├── security/ # Key management, encryption
│ ├── price/ # Multi-source price fetching
│ ├── risk/ # Risk management
│ ├── cache/ # API caching with TTL & decorators
│ ├── coordination/ # Task handoff & whiteboard
│ ├── metrics/ # Bot metrics & aggregation
│ ├── health/ # Health checker, monitor, reporter
│ ├── recovery/ # Auto-recovery strategies
│ ├── scheduler/ # Task scheduling
│ ├── plugins/ # Plugin system with hooks
│ ├── di/ # Dependency injection container
│ ├── integrations/ # Telegram, X/Twitter integrations
│ ├── observability/ # Monitoring & tracing
│ ├── validation/ # Input validation & sanitization
│ ├── notifications/ # Multi-channel notifications
│ ├── conversation/ # Session management & context
│ ├── audit/ # Audit logging & retention
│ └── moltbook/ # Trading journal system
│
├── tg_bot/
│ ├── bot.py # Main Telegram bot
│ ├── handlers/ # Command handlers
│ └── services/ # Chat responder, admin tools
│
├── api/
│ ├── server.py # RESTful API server
│ └── handlers/ # API endpoints
│
├── jarvis-web-terminal/ # Next.js trading dashboard (NEW)
│ ├── src/app/ # App router pages
│ └── src/components/ # React components
│
├── frontend/
│ ├── src/ # React dashboard (legacy)
│ └── components/ # 70+ UI components
│
├── deploy/
│ ├── clawdbot-redundancy/ # Multi-bot Docker orchestration
│ │ ├── docker-compose.clawdbots.yml # 5-bot stack
│ │ ├── Dockerfile.clawdbot-full # Production image
│ │ ├── entrypoint.sh # Health-checked startup
│ │ └── scripts/ # Self-healing automation
│ │ ├── peer-health-monitor.sh # P2P health checks
│ │ ├── circuit-breaker.sh # Cascading failure prevention
│ │ ├── nightly-backup.sh # Automated backups
│ │ ├── brain-export.sh # Portable brain export
│ │ ├── solana-wallet-init.sh # Wallet initialization
│ │ └── self-evolution-reflect.sh # Nightly self-improvement
│ ├── *.service # systemd unit files
│ └── install-vps.sh # VPS setup script
│
├── lifeos/
│ ├── config/ # Configuration files
│ └── jarvis.py # LLM provider switch (Ollama support)
│
├── scripts/
│ ├── init_db.py # Database initialization
│ ├── health_check.py # System health checks
│ ├── hetzner_api.ps1 # Hetzner Cloud management
│ └── db/migrate.py # Schema versioning
│
├── tests/
│ ├── unit/ # 200+ unit test files
│ ├── integration/ # Integration tests
│ └── framework/ # Test utilities
│
├── deploy.sh # VPS deployment + systemd generator
└── kea-research/ # Research workspace
One of Jarvis's unique features is the Portable Brain—a system that makes your AI context truly portable across devices, platforms, and even other AI systems.
The Portable Brain is:
# Export your Jarvis brain
from core.memory.portable_brain import BrainExporter
exporter = BrainExporter()
brain_file = exporter.export_brain(user_id="you", output_path="my_jarvis_brain.json")
# Import to another device or system
from core.memory.portable_brain import BrainImporter
importer = BrainImporter()
importer.import_brain(brain_file="my_jarvis_brain.json", target_user="you")
This means:
Jarvis v4.7 introduces ClawdBots — a distributed multi-agent system where specialized AI bots collaborate as a team.
| Bot | Role | Specialization |
|---|---|---|
| ClawdMatt | Research & Analysis | Deep research, data analysis, pattern recognition |
| ClawdJarvis | Coordination & Execution | Task coordination, command execution, system ops |
| ClawdFriday | Ops & Maintenance | Infrastructure monitoring, deployments, fixes |
| ClawdYoda | Strategy & Wisdom | Long-term strategy, risk assessment, market wisdom |
| ClawdSquishy | Monitoring & Alerts | Real-time monitoring, anomaly detection, alerting |
All ClawdBots share 50+ modules in bots/shared/:
# Docker: Deploy all 5 bots
docker compose -f deploy/clawdbot-redundancy/docker-compose.clawdbots.yml up -d
# systemd: Install as services on VPS
sudo bash deploy/install-clawdbots.sh
Bots monitor each other via peer health checks. If one bot goes down, others detect it and trigger recovery:
peer-health-monitor.sh — Cross-bot health verificationcircuit-breaker.sh — Prevent cascading failuresnightly-backup.sh — Automated state backupsbrain-export.sh / brain-import.sh — Portable brain transferJarvis's trading engine is the most mature autonomous system in production today.
Market Data → Sentiment Analysis → Signal Generation → Risk Check → Execution → Monitoring
| Exchange | Integration | Status |
|---|---|---|
| Jupiter | Lite API + Quote API | ✅ Live |
| DexScreener | Price oracle | ✅ Live |
| Raydium | Direct (planned) | 🔜 Q2 2026 |
| Orca | Direct (planned) | 🔜 Q2 2026 |
81+ strategies across categories:
| Category | Count | Examples |
|---|---|---|
| Momentum | 12 | RSI divergence, MACD crossover, breakout |
| Mean Reversion | 8 | Bollinger bands, oversold bounce |
| Sentiment | 15 | Grok AI scoring, social volume spikes |
| On-Chain | 18 | Whale tracking, holder distribution |
| Liquidity | 10 | Volume analysis, bid/ask spread |
| Arbitrage | 6 | Cross-DEX, CEX-DEX |
| News | 12 | Event-driven, announcement trading |
| Risk Level | Market Cap | Liquidity | Position Size |
|---|---|---|---|
| ESTABLISHED | >$500M | >$1M | 1.0x (full) |
| MID | >$50M | >$100K | 0.85x |
| MICRO | >$1M | >$20K | 0.7x |
| SHITCOIN | <$1M | <$20K | 0.5x (half) |
| Risk Tier | Stop Loss | Take Profit |
|---|---|---|
| ESTABLISHED | -15% | +30% |
| MID | -12% | +25% |
| MICRO | -10% | +20% |
| SHITCOIN | -7% | +15% |
| Condition | Action |
|---|---|
| 3 consecutive losses | Pause trading for 1 hour |
| Daily loss limit hit (-10%) | Halt trading until next day |
| Low balance (<0.01 SOL) | Alert admin, no new positions |
| API failure | Fallback to secondary source |
Earn SOL from Jarvis's trading profits by staking $KR8TIV.
| Tier | Minimum Stake | APY Range | Priority Benefits |
|---|---|---|---|
| Bronze | 100 KR8TIV | 8-12% | Basic alerts |
| Silver | 1,000 KR8TIV | 12-18% | Advanced analytics |
| Gold | 10,000 KR8TIV | 18-25% | Early alpha access |
| Platinum | 100,000 KR8TIV | 25-35% | Custom strategies |
# Via Telegram
/claim
# Via API
POST /api/v1/staking/claim
{
"user_id": "your_telegram_id"
}
For users who don't want to manage crypto, Jarvis offers a credit-based system with fiat payments.
| Package | Credits | Price | Bonus |
|---|---|---|---|
| Starter | 1,000 | $10 | - |
| Pro | 10,000 | $90 | +10% |
| Elite | 100,000 | $800 | +20% |
| Action | Cost (Credits) |
|---|---|
| Manual trade | 10 |
| API call | 1 |
| Premium alert | 5 |
| Custom strategy | 100 |
| Voice command | 2 |
Real-time monitoring of bags.fm token graduations with automated investment analysis.
| Dimension | Weight | Factors |
|---|---|---|
| Bonding Curve | 25% | Duration, volume, buyer count, buy/sell ratio |
| Creator | 20% | Twitter presence, account age, history |
| Social | 15% | Linked socials, website quality |
| Market | 25% | Liquidity, price stability |
| Distribution | 15% | Holder count, concentration |
| Tier | Score | Recommendation |
|---|---|---|
| Exceptional | 80+ | Strong buy consideration |
| Strong | 65-79 | Worth watching |
| Average | 50-64 | Neutral |
| Weak | 35-49 | Caution |
| Poor | <35 | Avoid |
# Required
BITQUERY_API_KEY=your_bitquery_key
# Reuses existing keys
XAI_API_KEY=your_grok_key
TELEGRAM_BOT_TOKEN=your_telegram_token
TELEGRAM_BUY_BOT_CHAT_ID=your_chat_id
The treasury is Jarvis's operational capital pool, managed autonomously with strict risk controls.
| Metric | Value |
|---|---|
| Total Value | Check /treasury in Telegram |
| Max Positions | 50 |
| Utilization | ~70% (dynamic) |
| Reserve | 30% (for opportunities) |
| Limit Type | Value |
|---|---|
| Max per position | 2% of treasury |
| Max correlated | 10% (same sector) |
| Max high-risk | 20% (MICRO + SHITCOIN combined) |
| Min liquidity | $1,000 daily volume |
# Halt all trading
LIFEOS_KILL_SWITCH=true
# Close all positions
/emergency_close (Telegram admin command)
# Withdraw treasury
/withdraw <amount> <address> (requires 2FA)
Jarvis learns and improves itself through a structured self-evolution system.
Jarvis earns autonomy through successful actions:
| Level | Autonomy | Requirements |
|---|---|---|
| 0: Supervised | None | Starting point |
| 1: Assisted | Suggest actions | 10 successful assists |
| 2: Monitored | Execute with confirmation | 50 successful executions |
| 3: Autonomous | Execute without asking | 200 successful actions, 0 major errors |
| 4: Trusted | Proactive suggestions | 1000 successful actions, high user satisfaction |
Observe → Predict → Act → Measure → Reflect → Improve
| Memory Type | Retention | Purpose |
|---|---|---|
| Short-term | 1 day | Active context, current tasks |
| Working | 7 days | Recent patterns, temp learnings |
| Long-term | Permanent | Proven strategies, user preferences |
| Episodic | Permanent | Significant events, major decisions |
| Category | Examples |
|---|---|
| Trading | Winning strategies, risk tolerance, market patterns |
| Communication | Response styles, humor effectiveness, tone preferences |
| Timing | Best posting times, optimal trade windows |
| User Behavior | Active hours, command patterns, pain points |
Jarvis uses multiple AI models optimally routed based on task requirements.
| Model | Provider | Use Cases |
|---|---|---|
| GPT-4 Turbo | OpenAI | Complex reasoning, strategy generation |
| Claude 3.5 Sonnet | Anthropic | Code generation, long-context tasks |
| Grok (xAI) | xAI | Sentiment analysis, market commentary |
| LLaMA 3.1 70B | Meta (via Ollama) | Local inference, privacy-sensitive tasks |
| Mistral Large | Mistral (via Ollama) | Fast responses, simple tasks |
if task_type == "trading_decision":
model = "grok" # Sentiment-aware
elif task_type == "code_generation":
model = "claude-3.5-sonnet" # Best for code
elif task_type == "user_conversation":
model = "gpt-4-turbo" # Best general intelligence
elif privacy_required:
model = "llama-3.1-70b" # Local, no data leaves device
else:
model = "mistral-large" # Fast, cheap fallback
| Task | Model | Cost/1M tokens |
|---|---|---|
| High-stakes trading | GPT-4 Turbo | $10 |
| Sentiment analysis | Grok | $5 |
| Simple responses | Mistral | $0.20 |
| Local inference | LLaMA | $0 (compute only) |
Run models locally with zero API costs:
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull models
ollama pull llama3.1:70b
ollama pull mistral:latest
# Jarvis auto-detects and uses local models
Jarvis's conversation system is designed to feel natural, context-aware, and proactive.
Centralized in core/jarvis_voice_bible.py:
VOICE_PRINCIPLES = {
"be_helpful": "Always prioritize user benefit",
"be_honest": "Admit mistakes, uncertainty",
"be_funny": "Humor without cringe",
"be_clear": "No unnecessary complexity",
"be_proactive": "Suggest improvements"
}
| Context | Voice Adjustment |
|---|---|
| Reply to influencer | More professional, less edgy |
| Thread | Deeper, more thoughtful |
| Market update | Urgent, action-oriented |
| User DM | Friendly, patient |
| Error | Apologetic, solution-focused |
The same voice principles apply across:
Jarvis runs a continuous logic loop across all platforms, ensuring consistent behavior and shared context.
Telegram ↔ Context Engine ↔ Trading ↔ Twitter ↔ Web ↔ API
All components share:
Some commands work everywhere:
| Command | Telegram | Voice | API | Web |
|---|---|---|---|---|
/status | ✅ | ✅ | ✅ | ✅ |
/portfolio | ✅ | ✅ | ✅ | ✅ |
/sentiment | ✅ | ✅ | ✅ | ✅ |
| Trade execution | ✅ | ✅ | ✅ | ✅ |
Control Jarvis hands-free via voice on desktop (macOS/Windows/Linux).
| Command Category | Examples |
|---|---|
| Trading | "Jarvis, buy 100 KR8TIV", "What's my portfolio?" |
| Market | "What's the sentiment?", "Is BTC bullish?" |
| System | "Show me errors", "Restart the supervisor" |
| General | "What's the weather?", "Set a reminder" |
# Enable voice control
VOICE_CONTROL_ENABLED=true
# Wake word
VOICE_WAKE_WORD=jarvis
# Voice model
VOICE_MODEL=whisper-medium # Options: tiny, small, medium, large
Jarvis runs on macOS, Windows, and Linux with platform-specific optimizations.
| Feature | macOS | Windows | Linux |
|---|---|---|---|
| Core Trading | ✅ | ✅ | ✅ |
| Telegram Bot | ✅ | ✅ | ✅ |
| Twitter Bot | ✅ | ✅ | ✅ |
| Voice Control | ✅ | ✅ | ✅ |
| Web Dashboard | ✅ | ✅ | ✅ |
| Systemd Service | ❌ | ❌ | ✅ |
| Launchd Service | ✅ | ❌ | ❌ |
| Windows Service | ❌ | ✅ | ❌ |
| Platform | Config | Data | Logs |
|---|---|---|---|
| macOS | ~/.lifeos/ | ~/.lifeos/data/ | ~/.lifeos/logs/ |
| Windows | %USERPROFILE%\.lifeos\ | %USERPROFILE%\.lifeos\data\ | %USERPROFILE%\.lifeos\logs\ |
| Linux | ~/.lifeos/ | ~/.lifeos/data/ | /var/log/jarvis/ |
Run Jarvis in Docker for easy deployment:
# Build
docker build -t jarvis:latest .
# Run
docker run -d \
--name jarvis \
-v ~/.lifeos:/root/.lifeos \
-e TREASURY_LIVE_MODE=true \
jarvis:latest
The web dashboard provides real-time visibility into all Jarvis operations.
http://localhost:8080
| View | Description |
|---|---|
| Overview | System health, active positions, recent trades |
| Portfolio | Holdings, P&L, performance metrics |
| Trading | Strategy performance, signal history |
| Sentiment | Market sentiment trends, Grok scores |
| Analytics | Deep dives, custom reports |
| Logs | Real-time system logs, error tracking |
| Config | Settings, API keys, risk parameters |
| Category | Components |
|---|---|
| Trading | AISuggestions, BacktestDashboard, LiveMarketFeed, TradingChart, StrategyBuilder |
| DeFi | airdrop/, bridge/, defi/, lending/, liquidity/, staking/, yield/ |
| Analytics | analytics/, portfolio/, profit/, risk/, roi/ |
| Market | correlation/, heatmap/, orderbook/, screener/, sentiment/, volatility/ |
| On-Chain | holders/, onchain/, smartmoney/, whale/ |
| Advanced | arbitrage/, derivatives/, leverage/, liquidations/, mev/, options/, perpetuals/ |
Real-time data processing pipeline:
Raw Market Data → Normalization → Storage → Analysis → Dashboard
| Stage | Technology |
|---|---|
| Ingestion | WebSocket feeds (Bitquery, DexScreener, Helius) |
| Processing | Python async workers |
| Storage | PostgreSQL + TimescaleDB for time-series |
| Caching | Redis (30-second cache for hot data) |
| Frontend | React + WebSocket for real-time updates |
Full-featured Telegram interface: @Jarviskr8tivbot
| Command | Description |
|---|---|
/start | Initialize bot, show main menu |
/help | Command reference |
/status | System health, uptime |
/portfolio | View holdings, P&L |
/sentiment | Latest market sentiment |
/trade <token> | Execute trade (admin only) |
/positions | Active positions with health status |
/close <id> | Close position by ID |
/claim | Claim staking rewards |
/stats | Performance statistics |
| Command | Description |
|---|---|
/emergency_close | Close all positions immediately |
/kill_switch | Halt all trading |
/logs | Recent error logs |
/restart <component> | Restart specific component |
/config | View/modify configuration |
| Feature | Description |
|---|---|
| Pattern Detection | Regex-based scam phrase detection |
| Auto-Restrict | Automatically restricts detected scammers |
| Auto-Delete | Removes scam messages instantly |
| Admin Alerts | Notifies admins of detected threats |
| Unban Command | /unban to restore false positives |
Jarvis includes a standalone wallet module for secure key management and transaction signing.
| Feature | Description |
|---|---|
| Multi-Key Support | Manage multiple Solana wallets |
| Encrypted Storage | AES-256 encryption at rest |
| Hardware Wallet | Ledger integration (future) |
| Transaction Signing | Sign and send transactions |
| Balance Tracking | Real-time SOL and token balances |
from core.security.key_manager import KeyManager
# Initialize
km = KeyManager()
# Create new wallet
wallet = km.create_wallet(name="Trading Wallet")
# Load existing
wallet = km.load_wallet(name="Trading Wallet")
# Sign transaction
signed_tx = wallet.sign_transaction(tx)
Jarvis integrates with 18+ external services:
| Service | Purpose | Status |
|---|---|---|
| Jupiter | DEX aggregator, swap execution | ✅ Live |
| Helius | Solana RPC, tx parsing | ✅ Live |
| DexScreener | Price feeds, liquidity data | ✅ Live |
| CoinGecko | Token metadata, market caps | ✅ Live |
| Grok (xAI) | Sentiment analysis, AI scoring | ✅ Live |
| Bitquery | Real-time WebSocket monitoring | ✅ Live |
| Telegram | Bot interface, alerts | ✅ Live |
| Twitter/X | Autonomous posting, engagement | ✅ Live |
| PostgreSQL | Semantic memory, state | ✅ Live |
| Stripe | Fiat payment processing | 🔜 Q2 2026 |
| Discord | Community bot (future) | 🔜 Q2 2026 |
18 Model Context Protocols configured:
| MCP | Purpose |
|---|---|
| ast-grep | 20x faster code pattern search |
| nia | Instant SDK/API documentation |
| firecrawl | Website scraping |
| postgres | Direct semantic memory queries |
| perplexity | Real-time web research |
| filesystem | File operations |
| git | Version control |
| github | Repository management |
| sqlite | Local database queries |
| memory | Knowledge graph storage |
Jarvis is designed for multi-platform expansion:
RESTful API for third-party integrations.
https://api.jarvis.lifeos.ai/v1
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.jarvis.lifeos.ai/v1/status
GET /status # System health
GET /version # API version
GET /config # Configuration (admin)
POST /shutdown # Graceful shutdown (admin)
GET /portfolio # Current portfolio
GET /positions # Active positions
POST /trade # Execute trade
POST /close/{id} # Close position
GET /strategies # Available strategies
GET /performance # Trading stats
GET /sentiment/current # Latest sentiment
GET /sentiment/history # Historical data
POST /sentiment/analyze # Analyze custom token
GET /staking/balance # Staked amount
POST /staking/stake # Stake tokens
POST /staking/unstake # Unstake tokens
POST /staking/claim # Claim rewards
GET /staking/rewards # Unclaimed rewards
GET /user/profile # User profile
PUT /user/preferences # Update preferences
GET /user/history # Action history
GET /user/stats # User statistics
| Tier | Requests/min | Burst |
|---|---|---|
| Free | 60 | 10 |
| Pro | 600 | 100 |
| Enterprise | Unlimited | Unlimited |
Subscribe to events:
POST /webhooks
{
"url": "https://your-domain.com/webhook",
"events": ["trade.executed", "position.closed", "alert.triggered"]
}
┌─────────────────────────────────────────────────────────────┐
│ User Interfaces │
│ Telegram │ Web Dashboard │ Voice │ API │ Mobile (future) │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ Context Engine │
│ - Unified state management │
│ - Cross-platform synchronization │
│ - User preferences & patterns │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ Intelligence Layer │
│ GPT-4 │ Claude │ Grok │ LLaMA (local) │ Model Router │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ Action Domains │
│ Trading │ Social │ Productivity │ Devices (future) │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ External Integrations │
│ Solana │ Jupiter │ Helius │ Grok │ APIs │
└──────────────────────────────────────────────────────────────┘
┌──────────────┐
│ Supervisor │ ◄────── Health Checks ──────┐
└──────┬───────┘ │
│ │
├──► Buy Bot (KR8TIV tracking) │
├──► Sentiment Reporter (Grok) │
├──► Twitter Bot (autonomous) ────┘
├──► Telegram Bot (UI)
├──► Bags Intel (graduations)
└──► Trading Engine (treasury)
│
├──► Position Manager
├──► Risk Manager
├──► Execution Engine (Jupiter)
└──► Performance Tracker
1. Market Data Ingestion
├─► DexScreener (price)
├─► Helius (on-chain)
└─► Grok (sentiment)
2. Signal Generation
├─► 81+ strategies evaluate
└─► Consensus scoring
3. Risk Check
├─► Position limits
├─► Liquidity check
├─► Risk tier classification
└─► Circuit breaker state
4. Execution
├─► Jupiter quote
├─► Transaction building
├─► Signing (local wallet)
└─► Submission (Helius RPC)
5. Monitoring
├─► Position tracking
├─► Stop loss checks (60s interval)
└─► Performance logging
6. Learning
├─► Outcome recorded
├─► Strategy performance updated
└─► Memory stored for future
For production scaling beyond a single server, Jarvis includes a distributed multi-agent architecture designed to scale from a single 32GB VPS to multi-node clusters serving millions of users.
Key Features:
Scaling Phases:
| Phase | Timeline | Infrastructure | Users | Cost/Month |
|---|---|---|---|---|
| 1: Single VPS | Now-6mo | 32GB/8vCPU Hostinger | 1K-10K | $70-100 |
| 2: Dual VPS | 6-12mo | 2× VPS + k3s + Redis Cluster | 10K-50K | $85-130 |
| 3: Multi-Node | 12-18mo | 3-5 VPS + Managed DB + Qdrant Cloud | 50K-200K | $150-300 |
| 4: Cloud Hybrid | 18mo+ | VPS + Cloud Burst + Serverless | 200K-1M+ | $300-1K |
Architecture Highlights:
For complete details on the distributed architecture, including deployment configurations, resource allocation, failover strategies, and implementation timeline, see:
📄 Distributed Multi-Agent Architecture
Model Context Protocol (MCP) is a standardized way for AI models to access external data sources, tools, and services.
Jarvis uses 18 configured MCPs to:
┌─────────────────────────────────────────────────────┐
│ Semantic Memory Store │
│ PostgreSQL (continuous_claude database) │
│ - 100+ learnings with BGE embeddings │
│ - 1024-dim vectors (bge-large-en-v1.5) │
│ - Full-text search + vector similarity │
└─────────────┬───────────────────────────────────────┘
│
┌─────────────▼───────────────────────────────────────┐
│ Memory Importer (auto_import.py) │
│ - Syncs PostgreSQL → Local SQLite │
│ - Generates JSONL for MCP server │
│ - Confidence ranking, topic filtering │
└─────────────┬───────────────────────────────────────┘
│
┌─────────────▼───────────────────────────────────────┐
│ Memory MCP Server │
│ - CLI: /recall skill in Claude Code │
│ - API: Python queries via MemoryImporter │
│ - Search: Semantic + text-based │
└──────────────────────────────────────────────────────┘
from core.memory.auto_import import MemoryImporter
importer = MemoryImporter()
# Search by content
results = importer.search_imported_memories(
query="trading strategy",
limit=10
)
# Filter by confidence
high_confidence = importer.search_imported_memories(
query="risk management",
confidence_threshold=0.8
)
# Get statistics
stats = importer.get_memory_stats()
# Returns: {total: 105, by_type: {...}, by_confidence: {...}}
| Type | Use For |
|---|---|
ARCHITECTURAL_DECISION | Design choices, system structure |
WORKING_SOLUTION | Fixes that worked |
CODEBASE_PATTERN | Patterns discovered in code |
FAILED_APPROACH | What didn't work (avoid repeating) |
ERROR_FIX | How specific errors were resolved |
USER_PREFERENCE | User's preferred approaches |
OPEN_THREAD | Incomplete work to resume later |
Full reference: .env.example
# Trading (REQUIRED for live trading)
TREASURY_LIVE_MODE=true
LIFEOS_KILL_SWITCH=false
MAX_POSITIONS=50
LOW_BALANCE_THRESHOLD=0.01
# Solana (REQUIRED)
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
HELIUS_API_KEY=your_helius_key
# Trading APIs (REQUIRED)
XAI_API_KEY=your_grok_key
# Social (REQUIRED for bots)
TELEGRAM_BOT_TOKEN=your_telegram_token
TELEGRAM_BUY_BOT_CHAT_ID=your_chat_id
TWITTER_BEARER_TOKEN=your_twitter_token
JARVIS_ACCESS_TOKEN=your_twitter_oauth
# Database (REQUIRED for memory)
DATABASE_URL=postgresql://user:pass@localhost:5432/jarvis
# Optional but Recommended
BITQUERY_API_KEY=your_bitquery_key # For bags.fm
COINGECKO_API_KEY=your_coingecko_key # For metadata
# Enable/disable components
X_BOT_ENABLED=true
TELEGRAM_BOT_ENABLED=true
VOICE_CONTROL_ENABLED=false
WEB_DASHBOARD_ENABLED=true
# Safety features
REQUIRE_ADMIN_FOR_TRADES=true
ENABLE_CIRCUIT_BREAKERS=true
ENABLE_STOP_LOSS_MONITORING=true
# Recommended: run the automated deploy script (creates systemd units)
sudo bash deploy.sh
# Or enable services created by deploy.sh
sudo systemctl enable jarvis-supervisor
sudo systemctl start jarvis-supervisor
sudo systemctl enable jarvis-twitter jarvis-telegram
# Check status
sudo systemctl status jarvis-supervisor
# View logs
sudo journalctl -u jarvis-supervisor -f
deploy.sh generates the systemd unit files in /etc/systemd/system/ for
jarvis-supervisor, jarvis-twitter, and jarvis-telegram. If you prefer a
manual setup, use deploy.sh as the source of truth for unit definitions.
# Build image
docker build -t jarvis:4.6.5 .
# Run with docker-compose
docker-compose up -d
# Check logs
docker-compose logs -f
Recommended specs:
# Install dependencies
sudo apt update
sudo apt install -y python3.11 postgresql redis-server
# Clone and setup
git clone https://github.com/Matt-Aurora-Ventures/Jarvis.git
cd Jarvis
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Initialize database
python scripts/init_db.py
# Start supervisor
python bots/supervisor.py
# System health
curl http://localhost:8080/health
# Component status
curl http://localhost:8080/api/v1/status
# Metrics (Prometheus format)
curl http://localhost:8080/metrics
| Component | Log Path |
|---|---|
| Supervisor | logs/supervisor.log |
| Trading | logs/trading.log |
| Telegram | logs/telegram.log |
logs/twitter.log | |
| Bags Intel | logs/bags_intel.log |
CRITICAL FIX: Bot Never Crashes When APIs Fail + 90% Cost Savings
New Resilient Provider Chain:
Cost Optimization (Per User Request): NEW Priority Order:
Savings: 90-95% cost reduction (from ~$5-10/day → ~$0.25-0.50/day)
EU/GDPR Silent Handling:
safe_reply() and safe_edit() helpersNew Telegram Commands:
/health - Show provider health status/vibe <query> - AI chat with resilient fallbackFiles Added:
core/resilient_provider.py - Provider chain with circuit breakerscore/provider_health_monitor.py - Background health monitoringtg_bot/middleware/resilient_errors.py - EU/GDPR & error handlingtg_bot/handlers/commands/health_command.py - Provider statustg_bot/handlers/commands/vibe_command.py - Resilient AI chatRESILIENCE_IMPLEMENTATION_GUIDE.md - Full integration guideExpected Behavior:
Critical Telegram Bot Fix:
msvcrt.locking doesn't allow same process to lock file twiceacquire_instance_lock() callSentiment State Persistence:
record_sentiment_run() BEFORE Telegram postingAdmin Check Fix:
bot_core.pyDEFAULT_ADMIN_USER_ID now defined at top of file (line 123)Error Tracking Integration:
tg_bot/handlers/__init__.py integrated with @error_handler decoratorbots/supervisor.py now has track_supervisor_error() helperNew Features:
18 Model Context Protocols Configured:
Automated Memory Import System:
continuous_claude database (100+ learnings)/recall skillNew Files:
MEMORY_QUERY_GUIDE.md - 50+ query examplesMCP_SETUP_SUMMARY.md - Complete system documentationcore/memory/auto_import.py - Memory import engine (398 lines)scripts/verify_mcp_setup.py - Setup verification toolWhat This Enables:
Full changelog: CHANGELOG.md
| Version | Date | Highlights |
|---|---|---|
| 4.7.0 | Feb 5, 2026 | ClawdBots multi-agent mesh, P2P self-healing, Supermemory integration, Docker orchestration, 50+ shared modules, web terminal |
| 4.6.6 | Jan 27, 2026 | Provider chain failover, model routing improvements |
| 4.6.5 | Jan 21, 2026 | V1 stabilization, critical bug fixes |
| 4.6.4 | Jan 17, 2026 | 18 MCPs, semantic memory system |
| 4.6.2 | Jan 2026 | Async performance, SQLite management |
| 4.6.1 | Jan 2026 | Active stop loss monitoring |
| 4.6.0 | Jan 2026 | Autonomous intelligence, 7750+ LOC |
| 4.5.0 | Jan 2026 | Bot supervisor, anti-scam |
| 4.4.0 | Jan 2026 | Complete autonomy system |
Q: Do I need to know crypto to use Jarvis? A: No. You can use the credit system with fiat payments (credit card via Stripe). Jarvis handles all crypto operations behind the scenes.
Q: Is Jarvis free? A: Yes. The core system is open-source and free. Premium features (custom strategies, advanced analytics) require $KR8TIV staking or credit purchases.
Q: Does Jarvis send my data to third parties? A: Only what's necessary for operations (e.g., trades to Jupiter, sentiment to Grok). You can run local models (LLaMA via Ollama) for complete privacy. Your personal data never leaves your device.
Q: Can I run Jarvis locally? A: Yes. Jarvis runs on macOS, Windows, and Linux. You can even run it fully offline with local models (no internet required except for trading).
Q: How much can I start with? A: Minimum 0.1 SOL recommended. Treasury starts trading with 1+ SOL.
Q: What's the expected return? A: Past performance is not indicative of future results. Jarvis is designed to outperform holding, but crypto is volatile. Always risk what you can afford to lose.
Q: How does risk management work? A: Multi-layered:
Q: Can I customize strategies? A: Yes. Gold/Platinum stakers can create custom strategies. Full no-code strategy builder coming Q2 2026.
Q: What languages is Jarvis written in? A: Python (backend), TypeScript/React (frontend), Solidity-like (Solana programs).
Q: Can I contribute? A: Yes! See CONTRIBUTING.md. We welcome:
Q: What databases does Jarvis use? A: PostgreSQL (main), SQLite (local cache), Redis (hot cache), TimescaleDB (time-series).
Q: Does Jarvis work on Raspberry Pi? A: Not officially supported, but possible for monitoring/alerts. Trading requires more compute.
We welcome contributions from the community!
git checkout -b feature/amazing-featurepytest tests/git commit -m 'Add amazing feature'git push origin feature/amazing-feature| Area | Description |
|---|---|
| Trading Strategies | New signal generation logic |
| UI/UX | Dashboard improvements |
| Documentation | Guides, tutorials, translations |
| Testing | Unit tests, integration tests |
| DevOps | Deployment scripts, monitoring |
Do NOT open public issues for security vulnerabilities.
Email: security@lifeos.ai
Include:
We aim to respond within 24 hours.
python scripts/secret_scan_staged.py before pushes (last run: Jan 25, 2026)MIT License
Copyright (c) 2026 Matt Aurora Ventures
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Jarvis: A persistent, personal context engine.
Starting with crypto. Building toward everything.
135 commits
13 commits
Python
77.8%
TypeScript
10.5%
JavaScript
8.5%
Shell
1.5%
A Persistent, Personal Context Engine
A mesh of intelligent layers working together to run, optimize, and upgrade your life.
Starting with crypto. Building toward everything.
Jarvis is not a product in the traditional sense. It is not just an app, a bot, a trading system, or an AI assistant.
Jarvis is a persistent, personal context engine—a mesh of intelligent layers and smart agents that work together to quietly run, optimize, and upgrade your life in the background.
The inspiration is simple and familiar: the Iron Man version of Jarvis—the system that quietly upgrades your life without demanding your attention. Something that knows you across all of your devices. Something that understands your preferences, habits, goals, frustrations, and patterns—without you needing to constantly configure it, prompt it, or manage it.
Today's AI tools exist in isolation.
You are expected to orchestrate them.
Jarvis flips that model entirely.
Instead of you adapting to software, the software adapts to you.
Jarvis tracks context across your life.
Not just commands. Not just prompts. Not just conversations.
Context includes:
By unifying this context, Jarvis becomes a single operational layer that sits quietly beneath everything else.
You don't need to be a power user. You don't need to understand AI workflows. You don't need to be technical. You don't need to understand crypto.
Jarvis exists so you don't have to manage complexity at all.
In the beginning, Jarvis assists.
Over time, Jarvis earns autonomy.
Nowhere is this clearer than in trading.
Jarvis is designed to evolve into a fully autonomous trading engine—one that:
Trading is the first domain where Jarvis becomes truly autonomous because it is measurable, auditable, and objective.
From there, autonomy expands outward—into scheduling, optimization, installations, coordination, and eventually the broader mechanics of daily life.
Jarvis is not trying to replace humans.
It is trying to remove friction.
It is a persistent, personal context engine that quietly unifies intelligence, automation, finance, and daily life into a single system—one that works in the background, upgrades itself, and upgrades you along the way.
Jarvis started in crypto intentionally.
Not because it was meant to be only a crypto product—but because crypto is the one environment where the future already exists.
In its first phase, Jarvis lives natively on Solana. This is not an accident or a branding choice. Solana provides something no other ecosystem currently can: a fully on-chain, real-time, high-frequency environment where data, assets, execution, analytics, and automation are all transparent, composable, and verifiable by design.
Crypto offers:
These properties make crypto the ideal proving ground for autonomy.
Jarvis launches with a strong trading and analytics context not because trading is the end goal—but because it is the hardest place to build something real. Markets are unforgiving. They provide immediate feedback. They expose bad logic quickly. And they reward systems that can learn, adapt, and execute correctly under pressure.
In this sense, crypto is not Jarvis's identity. It is Jarvis's training ground.
If a system can survive markets, it can survive anything.
Once Jarvis proves itself in trading—operating autonomously, generating value, and continuously improving—it expands outward into:
The architecture is designed for this from day one.
Jarvis is not one monolithic intelligence.
It is a mesh of smart agents and intelligent layers, each responsible for observing, understanding, and improving different parts of your digital and real-world environment.
Context → Intelligence → Action → Feedback → Memory
Everything in Jarvis fits into one of these layers:
| Layer | Purpose |
|---|---|
| Context | Signals from devices, apps, chains, and your environment |
| Intelligence | Reasoning, planning, and evaluation (model-agnostic) |
| Action | Execution across domains (finance, productivity, communication, devices) |
| Feedback | Learning from outcomes |
| Memory | Short-term, long-term, and reflective storage |
These agents:
If an AI agent goes offline, Jarvis continues to function normally. Intelligence is additive, not required. Trust is earned, not assumed.
This mesh architecture allows Jarvis to scale horizontally across:
Jarvis doesn't start with full autonomy. It earns trust through success:
Every autonomous action is:
You remain in control. Always.
Jarvis is now explicitly split into two cooperating planes:
OpenClaw harness for execution, autonomy, and user-facing actionsMission Control for governance, evaluation, versioning, and promotionThis split keeps systems fast and expressive without uncontrolled drift.
Personal lane: private, local-first, fast setup, focused on life/work automationEnterprise lane: role-aware teams, domain packs (HR, legal, infra, engineering), audit-ready operations| Layer | Primary owner |
|---|---|
| Agent runtime, tools, user interaction | OpenClaw harness |
| Prompt/context registry, evals, promotion gates, rollback | Mission Control |
The complete staged roadmap, boundaries, and scaling model are documented in:
Jarvis is built on first principles.
It is:
It runs on a new local node architecture powered by LLaMA-based models and free access to advanced intelligence through Claude-compatible runtimes. This makes Jarvis viable at ultra-low cost, without subscriptions, without data extraction, and without centralized control.
Your data stays local. Your context stays yours. Your intelligence compounds over time.
The economic model is intentionally simple and aligned:
| Allocation | Percentage | Purpose |
|---|---|---|
| Holders | 75% | Value flows directly to $KR8TIV token holders |
| Charity | 5% | Supports open-source projects and community causes |
| Founder | 20% | Sustains ongoing development |
This structure ensures that:
Jarvis is built with the same ethos as Linux:
We are building the Linux of AI context models—something that levels the playing field, making advanced AI accessible to the "little guy," not just engineers or specialists.
While the vision is expansive, Jarvis is already operational and generating value in several domains:
| Module | Purpose |
|---|---|
self_learning.py | Track tweet engagement, learn what works |
memory_system.py | Remember users, conversations, sentiment |
reply_prioritizer.py | Score mentions, prioritize influencers |
trending_detector.py | Find trends before peak via Grok |
health_monitor.py | Self-monitoring, API checks, auto-alerts |
content_calendar.py | Event awareness, optimal posting times |
confidence_scorer.py | Rate predictions 1-10, track accuracy |
alpha_detector.py | Volume spikes, new pairs, on-chain alpha |
voice_tuner.py | Context-aware personality adjustment |
thread_generator.py | Auto-generate threads when needed |
quote_strategy.py | Strategic quote tweeting |
analytics.py | Performance dashboard, weekly insights |
Orchestrator: Central controller coordinating all modules with content recommendations, smart reply decisions, and background learning tasks.
| Feature | Description |
|---|---|
| Decision Matrix | Multi-signal trade decision framework |
| Risk Management | Position sizing (max 25%), loss limits, circuit breakers |
| Active Monitoring | Stop loss checks every 60 seconds |
| Emergency Close | Auto-closes positions down >90% |
| Take Profit Detection | Auto-closes when TP price is hit |
| Liquidity Checks | Blocks trades on tokens with <$1,000 daily volume |
| Token Risk Classification | ESTABLISHED, MID, MICRO, SHITCOIN tiers |
| Multi-Source Pricing | DexScreener → Jupiter → CoinGecko fallback chain |
| Circuit Breaker | Tracks API health, avoids dead sources |
| Source | Purpose |
|---|---|
| CoinGecko | Token metadata, market caps |
| DeFiLlama | Protocol TVL, chain analytics |
| CoinMarketCap | Price feeds, market data |
| DexScreener | Primary price source, liquidity data |
| Jupiter | DEX aggregator, swap execution |
| Helius | Solana RPC, transaction parsing |
| Bitquery | Real-time WebSocket monitoring (bags.fm) |
| Grok AI (xAI) | Sentiment analysis, token scoring |
| Feature | Description |
|---|---|
| Supervisor System | Auto-restart with exponential backoff (5s → 300s) |
| Health Monitoring | 60-second interval checks for all components |
| Anti-Scam Protection | Regex-based scam detection, auto-restrict, auto-delete |
| Encrypted Storage | At-rest encryption for sensitive data |
| Emergency Shutdown | Graceful termination system |
| RBAC System | Role-based access control |
| Admin-Only Trading | Treasury trades restricted to authorized users |
# Clone the repository
git clone https://github.com/Matt-Aurora-Ventures/Jarvis.git
cd Jarvis
# Install Python dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Edit .env with your API keys
# Initialize the database
python scripts/init_db.py
# Run the supervisor (starts all components)
python bots/supervisor.py
Key environment variables:
# Solana
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
TREASURY_LIVE_MODE=true # Set to false for dry-run testing
# APIs
XAI_API_KEY=your_grok_api_key
TELEGRAM_BOT_TOKEN=your_telegram_token
TWITTER_BEARER_TOKEN=your_twitter_bearer_token
HELIUS_API_KEY=your_helius_api_key
BITQUERY_API_KEY=your_bitquery_api_key
# Database
DATABASE_URL=postgresql://user:pass@localhost:5432/jarvis
# Trading
MAX_POSITIONS=50
LOW_BALANCE_THRESHOLD=0.01
LIFEOS_KILL_SWITCH=false # Emergency trade halt
# Trading bot only
python bots/treasury/trading.py
# Telegram bot only
python tg_bot/bot.py
# Twitter/X bot only
python bots/twitter/autonomous_engine.py
# Sentiment reporter only
python bots/buy_tracker/sentiment_report.py
# Bags Intel monitor only
python bots/bags_intel/bags_intel_bot.py
Jarvis uses this root README as the canonical source of truth for product narrative, architecture overview, and deployment guidance.
README.mddocs/gitbookdocs/historyIf you encounter older links referencing README_NEW.md or README_BACKUP.md, use the
archived copies and defer to this README for current guidance.
jarvis/
├── bots/
│ ├── supervisor.py # Main orchestrator
│ ├── treasury/ # Trading engine (Jupiter DEX)
│ ├── twitter/ # X/Twitter bot (autonomous posting)
│ ├── buy_tracker/ # KR8TIV token tracking + sentiment
│ ├── bags_intel/ # Bags.fm graduation monitoring
│ ├── clawdmatt/ # ClawdBot: Research & analysis agent
│ ├── clawdjarvis/ # ClawdBot: Coordination & execution agent
│ ├── clawdfriday/ # ClawdBot: Ops & maintenance agent
│ ├── clawdyoda/ # ClawdBot: Strategy & wisdom agent
│ ├── clawdsquishy/ # ClawdBot: Monitoring & alerts agent
│ └── shared/ # 50+ shared modules for all bots
│ ├── coordination.py # Multi-bot coordination protocol
│ ├── self_healing.py # Auto-recovery from failures
│ ├── heartbeat.py # Health monitoring heartbeats
│ ├── supermemory_client.py # Supermemory knowledge graph
│ ├── knowledge_graph.py # Local knowledge graph
│ ├── cost_tracker.py # API cost tracking
│ ├── feature_flags.py # Runtime feature toggles
│ ├── campaign_orchestrator.py # Cross-bot campaign management
│ └── ... # 40+ more modules
│
├── core/
│ ├── context_loader.py # Shared Jarvis context/capabilities
│ ├── autonomy/ # Autonomous intelligence modules
│ ├── memory/ # Learning & memory systems
│ ├── security/ # Key management, encryption
│ ├── price/ # Multi-source price fetching
│ ├── risk/ # Risk management
│ ├── cache/ # API caching with TTL & decorators
│ ├── coordination/ # Task handoff & whiteboard
│ ├── metrics/ # Bot metrics & aggregation
│ ├── health/ # Health checker, monitor, reporter
│ ├── recovery/ # Auto-recovery strategies
│ ├── scheduler/ # Task scheduling
│ ├── plugins/ # Plugin system with hooks
│ ├── di/ # Dependency injection container
│ ├── integrations/ # Telegram, X/Twitter integrations
│ ├── observability/ # Monitoring & tracing
│ ├── validation/ # Input validation & sanitization
│ ├── notifications/ # Multi-channel notifications
│ ├── conversation/ # Session management & context
│ ├── audit/ # Audit logging & retention
│ └── moltbook/ # Trading journal system
│
├── tg_bot/
│ ├── bot.py # Main Telegram bot
│ ├── handlers/ # Command handlers
│ └── services/ # Chat responder, admin tools
│
├── api/
│ ├── server.py # RESTful API server
│ └── handlers/ # API endpoints
│
├── jarvis-web-terminal/ # Next.js trading dashboard (NEW)
│ ├── src/app/ # App router pages
│ └── src/components/ # React components
│
├── frontend/
│ ├── src/ # React dashboard (legacy)
│ └── components/ # 70+ UI components
│
├── deploy/
│ ├── clawdbot-redundancy/ # Multi-bot Docker orchestration
│ │ ├── docker-compose.clawdbots.yml # 5-bot stack
│ │ ├── Dockerfile.clawdbot-full # Production image
│ │ ├── entrypoint.sh # Health-checked startup
│ │ └── scripts/ # Self-healing automation
│ │ ├── peer-health-monitor.sh # P2P health checks
│ │ ├── circuit-breaker.sh # Cascading failure prevention
│ │ ├── nightly-backup.sh # Automated backups
│ │ ├── brain-export.sh # Portable brain export
│ │ ├── solana-wallet-init.sh # Wallet initialization
│ │ └── self-evolution-reflect.sh # Nightly self-improvement
│ ├── *.service # systemd unit files
│ └── install-vps.sh # VPS setup script
│
├── lifeos/
│ ├── config/ # Configuration files
│ └── jarvis.py # LLM provider switch (Ollama support)
│
├── scripts/
│ ├── init_db.py # Database initialization
│ ├── health_check.py # System health checks
│ ├── hetzner_api.ps1 # Hetzner Cloud management
│ └── db/migrate.py # Schema versioning
│
├── tests/
│ ├── unit/ # 200+ unit test files
│ ├── integration/ # Integration tests
│ └── framework/ # Test utilities
│
├── deploy.sh # VPS deployment + systemd generator
└── kea-research/ # Research workspace
One of Jarvis's unique features is the Portable Brain—a system that makes your AI context truly portable across devices, platforms, and even other AI systems.
The Portable Brain is:
# Export your Jarvis brain
from core.memory.portable_brain import BrainExporter
exporter = BrainExporter()
brain_file = exporter.export_brain(user_id="you", output_path="my_jarvis_brain.json")
# Import to another device or system
from core.memory.portable_brain import BrainImporter
importer = BrainImporter()
importer.import_brain(brain_file="my_jarvis_brain.json", target_user="you")
This means:
Jarvis v4.7 introduces ClawdBots — a distributed multi-agent system where specialized AI bots collaborate as a team.
| Bot | Role | Specialization |
|---|---|---|
| ClawdMatt | Research & Analysis | Deep research, data analysis, pattern recognition |
| ClawdJarvis | Coordination & Execution | Task coordination, command execution, system ops |
| ClawdFriday | Ops & Maintenance | Infrastructure monitoring, deployments, fixes |
| ClawdYoda | Strategy & Wisdom | Long-term strategy, risk assessment, market wisdom |
| ClawdSquishy | Monitoring & Alerts | Real-time monitoring, anomaly detection, alerting |
All ClawdBots share 50+ modules in bots/shared/:
# Docker: Deploy all 5 bots
docker compose -f deploy/clawdbot-redundancy/docker-compose.clawdbots.yml up -d
# systemd: Install as services on VPS
sudo bash deploy/install-clawdbots.sh
Bots monitor each other via peer health checks. If one bot goes down, others detect it and trigger recovery:
peer-health-monitor.sh — Cross-bot health verificationcircuit-breaker.sh — Prevent cascading failuresnightly-backup.sh — Automated state backupsbrain-export.sh / brain-import.sh — Portable brain transferJarvis's trading engine is the most mature autonomous system in production today.
Market Data → Sentiment Analysis → Signal Generation → Risk Check → Execution → Monitoring
| Exchange | Integration | Status |
|---|---|---|
| Jupiter | Lite API + Quote API | ✅ Live |
| DexScreener | Price oracle | ✅ Live |
| Raydium | Direct (planned) | 🔜 Q2 2026 |
| Orca | Direct (planned) | 🔜 Q2 2026 |
81+ strategies across categories:
| Category | Count | Examples |
|---|---|---|
| Momentum | 12 | RSI divergence, MACD crossover, breakout |
| Mean Reversion | 8 | Bollinger bands, oversold bounce |
| Sentiment | 15 | Grok AI scoring, social volume spikes |
| On-Chain | 18 | Whale tracking, holder distribution |
| Liquidity | 10 | Volume analysis, bid/ask spread |
| Arbitrage | 6 | Cross-DEX, CEX-DEX |
| News | 12 | Event-driven, announcement trading |
| Risk Level | Market Cap | Liquidity | Position Size |
|---|---|---|---|
| ESTABLISHED | >$500M | >$1M | 1.0x (full) |
| MID | >$50M | >$100K | 0.85x |
| MICRO | >$1M | >$20K | 0.7x |
| SHITCOIN | <$1M | <$20K | 0.5x (half) |
| Risk Tier | Stop Loss | Take Profit |
|---|---|---|
| ESTABLISHED | -15% | +30% |
| MID | -12% | +25% |
| MICRO | -10% | +20% |
| SHITCOIN | -7% | +15% |
| Condition | Action |
|---|---|
| 3 consecutive losses | Pause trading for 1 hour |
| Daily loss limit hit (-10%) | Halt trading until next day |
| Low balance (<0.01 SOL) | Alert admin, no new positions |
| API failure | Fallback to secondary source |
Earn SOL from Jarvis's trading profits by staking $KR8TIV.
| Tier | Minimum Stake | APY Range | Priority Benefits |
|---|---|---|---|
| Bronze | 100 KR8TIV | 8-12% | Basic alerts |
| Silver | 1,000 KR8TIV | 12-18% | Advanced analytics |
| Gold | 10,000 KR8TIV | 18-25% | Early alpha access |
| Platinum | 100,000 KR8TIV | 25-35% | Custom strategies |
# Via Telegram
/claim
# Via API
POST /api/v1/staking/claim
{
"user_id": "your_telegram_id"
}
For users who don't want to manage crypto, Jarvis offers a credit-based system with fiat payments.
| Package | Credits | Price | Bonus |
|---|---|---|---|
| Starter | 1,000 | $10 | - |
| Pro | 10,000 | $90 | +10% |
| Elite | 100,000 | $800 | +20% |
| Action | Cost (Credits) |
|---|---|
| Manual trade | 10 |
| API call | 1 |
| Premium alert | 5 |
| Custom strategy | 100 |
| Voice command | 2 |
Real-time monitoring of bags.fm token graduations with automated investment analysis.
| Dimension | Weight | Factors |
|---|---|---|
| Bonding Curve | 25% | Duration, volume, buyer count, buy/sell ratio |
| Creator | 20% | Twitter presence, account age, history |
| Social | 15% | Linked socials, website quality |
| Market | 25% | Liquidity, price stability |
| Distribution | 15% | Holder count, concentration |
| Tier | Score | Recommendation |
|---|---|---|
| Exceptional | 80+ | Strong buy consideration |
| Strong | 65-79 | Worth watching |
| Average | 50-64 | Neutral |
| Weak | 35-49 | Caution |
| Poor | <35 | Avoid |
# Required
BITQUERY_API_KEY=your_bitquery_key
# Reuses existing keys
XAI_API_KEY=your_grok_key
TELEGRAM_BOT_TOKEN=your_telegram_token
TELEGRAM_BUY_BOT_CHAT_ID=your_chat_id
The treasury is Jarvis's operational capital pool, managed autonomously with strict risk controls.
| Metric | Value |
|---|---|
| Total Value | Check /treasury in Telegram |
| Max Positions | 50 |
| Utilization | ~70% (dynamic) |
| Reserve | 30% (for opportunities) |
| Limit Type | Value |
|---|---|
| Max per position | 2% of treasury |
| Max correlated | 10% (same sector) |
| Max high-risk | 20% (MICRO + SHITCOIN combined) |
| Min liquidity | $1,000 daily volume |
# Halt all trading
LIFEOS_KILL_SWITCH=true
# Close all positions
/emergency_close (Telegram admin command)
# Withdraw treasury
/withdraw <amount> <address> (requires 2FA)
Jarvis learns and improves itself through a structured self-evolution system.
Jarvis earns autonomy through successful actions:
| Level | Autonomy | Requirements |
|---|---|---|
| 0: Supervised | None | Starting point |
| 1: Assisted | Suggest actions | 10 successful assists |
| 2: Monitored | Execute with confirmation | 50 successful executions |
| 3: Autonomous | Execute without asking | 200 successful actions, 0 major errors |
| 4: Trusted | Proactive suggestions | 1000 successful actions, high user satisfaction |
Observe → Predict → Act → Measure → Reflect → Improve
| Memory Type | Retention | Purpose |
|---|---|---|
| Short-term | 1 day | Active context, current tasks |
| Working | 7 days | Recent patterns, temp learnings |
| Long-term | Permanent | Proven strategies, user preferences |
| Episodic | Permanent | Significant events, major decisions |
| Category | Examples |
|---|---|
| Trading | Winning strategies, risk tolerance, market patterns |
| Communication | Response styles, humor effectiveness, tone preferences |
| Timing | Best posting times, optimal trade windows |
| User Behavior | Active hours, command patterns, pain points |
Jarvis uses multiple AI models optimally routed based on task requirements.
| Model | Provider | Use Cases |
|---|---|---|
| GPT-4 Turbo | OpenAI | Complex reasoning, strategy generation |
| Claude 3.5 Sonnet | Anthropic | Code generation, long-context tasks |
| Grok (xAI) | xAI | Sentiment analysis, market commentary |
| LLaMA 3.1 70B | Meta (via Ollama) | Local inference, privacy-sensitive tasks |
| Mistral Large | Mistral (via Ollama) | Fast responses, simple tasks |
if task_type == "trading_decision":
model = "grok" # Sentiment-aware
elif task_type == "code_generation":
model = "claude-3.5-sonnet" # Best for code
elif task_type == "user_conversation":
model = "gpt-4-turbo" # Best general intelligence
elif privacy_required:
model = "llama-3.1-70b" # Local, no data leaves device
else:
model = "mistral-large" # Fast, cheap fallback
| Task | Model | Cost/1M tokens |
|---|---|---|
| High-stakes trading | GPT-4 Turbo | $10 |
| Sentiment analysis | Grok | $5 |
| Simple responses | Mistral | $0.20 |
| Local inference | LLaMA | $0 (compute only) |
Run models locally with zero API costs:
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull models
ollama pull llama3.1:70b
ollama pull mistral:latest
# Jarvis auto-detects and uses local models
Jarvis's conversation system is designed to feel natural, context-aware, and proactive.
Centralized in core/jarvis_voice_bible.py:
VOICE_PRINCIPLES = {
"be_helpful": "Always prioritize user benefit",
"be_honest": "Admit mistakes, uncertainty",
"be_funny": "Humor without cringe",
"be_clear": "No unnecessary complexity",
"be_proactive": "Suggest improvements"
}
| Context | Voice Adjustment |
|---|---|
| Reply to influencer | More professional, less edgy |
| Thread | Deeper, more thoughtful |
| Market update | Urgent, action-oriented |
| User DM | Friendly, patient |
| Error | Apologetic, solution-focused |
The same voice principles apply across:
Jarvis runs a continuous logic loop across all platforms, ensuring consistent behavior and shared context.
Telegram ↔ Context Engine ↔ Trading ↔ Twitter ↔ Web ↔ API
All components share:
Some commands work everywhere:
| Command | Telegram | Voice | API | Web |
|---|---|---|---|---|
/status | ✅ | ✅ | ✅ | ✅ |
/portfolio | ✅ | ✅ | ✅ | ✅ |
/sentiment | ✅ | ✅ | ✅ | ✅ |
| Trade execution | ✅ | ✅ | ✅ | ✅ |
Control Jarvis hands-free via voice on desktop (macOS/Windows/Linux).
| Command Category | Examples |
|---|---|
| Trading | "Jarvis, buy 100 KR8TIV", "What's my portfolio?" |
| Market | "What's the sentiment?", "Is BTC bullish?" |
| System | "Show me errors", "Restart the supervisor" |
| General | "What's the weather?", "Set a reminder" |
# Enable voice control
VOICE_CONTROL_ENABLED=true
# Wake word
VOICE_WAKE_WORD=jarvis
# Voice model
VOICE_MODEL=whisper-medium # Options: tiny, small, medium, large
Jarvis runs on macOS, Windows, and Linux with platform-specific optimizations.
| Feature | macOS | Windows | Linux |
|---|---|---|---|
| Core Trading | ✅ | ✅ | ✅ |
| Telegram Bot | ✅ | ✅ | ✅ |
| Twitter Bot | ✅ | ✅ | ✅ |
| Voice Control | ✅ | ✅ | ✅ |
| Web Dashboard | ✅ | ✅ | ✅ |
| Systemd Service | ❌ | ❌ | ✅ |
| Launchd Service | ✅ | ❌ | ❌ |
| Windows Service | ❌ | ✅ | ❌ |
| Platform | Config | Data | Logs |
|---|---|---|---|
| macOS | ~/.lifeos/ | ~/.lifeos/data/ | ~/.lifeos/logs/ |
| Windows | %USERPROFILE%\.lifeos\ | %USERPROFILE%\.lifeos\data\ | %USERPROFILE%\.lifeos\logs\ |
| Linux | ~/.lifeos/ | ~/.lifeos/data/ | /var/log/jarvis/ |
Run Jarvis in Docker for easy deployment:
# Build
docker build -t jarvis:latest .
# Run
docker run -d \
--name jarvis \
-v ~/.lifeos:/root/.lifeos \
-e TREASURY_LIVE_MODE=true \
jarvis:latest
The web dashboard provides real-time visibility into all Jarvis operations.
http://localhost:8080
| View | Description |
|---|---|
| Overview | System health, active positions, recent trades |
| Portfolio | Holdings, P&L, performance metrics |
| Trading | Strategy performance, signal history |
| Sentiment | Market sentiment trends, Grok scores |
| Analytics | Deep dives, custom reports |
| Logs | Real-time system logs, error tracking |
| Config | Settings, API keys, risk parameters |
| Category | Components |
|---|---|
| Trading | AISuggestions, BacktestDashboard, LiveMarketFeed, TradingChart, StrategyBuilder |
| DeFi | airdrop/, bridge/, defi/, lending/, liquidity/, staking/, yield/ |
| Analytics | analytics/, portfolio/, profit/, risk/, roi/ |
| Market | correlation/, heatmap/, orderbook/, screener/, sentiment/, volatility/ |
| On-Chain | holders/, onchain/, smartmoney/, whale/ |
| Advanced | arbitrage/, derivatives/, leverage/, liquidations/, mev/, options/, perpetuals/ |
Real-time data processing pipeline:
Raw Market Data → Normalization → Storage → Analysis → Dashboard
| Stage | Technology |
|---|---|
| Ingestion | WebSocket feeds (Bitquery, DexScreener, Helius) |
| Processing | Python async workers |
| Storage | PostgreSQL + TimescaleDB for time-series |
| Caching | Redis (30-second cache for hot data) |
| Frontend | React + WebSocket for real-time updates |
Full-featured Telegram interface: @Jarviskr8tivbot
| Command | Description |
|---|---|
/start | Initialize bot, show main menu |
/help | Command reference |
/status | System health, uptime |
/portfolio | View holdings, P&L |
/sentiment | Latest market sentiment |
/trade <token> | Execute trade (admin only) |
/positions | Active positions with health status |
/close <id> | Close position by ID |
/claim | Claim staking rewards |
/stats | Performance statistics |
| Command | Description |
|---|---|
/emergency_close | Close all positions immediately |
/kill_switch | Halt all trading |
/logs | Recent error logs |
/restart <component> | Restart specific component |
/config | View/modify configuration |
| Feature | Description |
|---|---|
| Pattern Detection | Regex-based scam phrase detection |
| Auto-Restrict | Automatically restricts detected scammers |
| Auto-Delete | Removes scam messages instantly |
| Admin Alerts | Notifies admins of detected threats |
| Unban Command | /unban to restore false positives |
Jarvis includes a standalone wallet module for secure key management and transaction signing.
| Feature | Description |
|---|---|
| Multi-Key Support | Manage multiple Solana wallets |
| Encrypted Storage | AES-256 encryption at rest |
| Hardware Wallet | Ledger integration (future) |
| Transaction Signing | Sign and send transactions |
| Balance Tracking | Real-time SOL and token balances |
from core.security.key_manager import KeyManager
# Initialize
km = KeyManager()
# Create new wallet
wallet = km.create_wallet(name="Trading Wallet")
# Load existing
wallet = km.load_wallet(name="Trading Wallet")
# Sign transaction
signed_tx = wallet.sign_transaction(tx)
Jarvis integrates with 18+ external services:
| Service | Purpose | Status |
|---|---|---|
| Jupiter | DEX aggregator, swap execution | ✅ Live |
| Helius | Solana RPC, tx parsing | ✅ Live |
| DexScreener | Price feeds, liquidity data | ✅ Live |
| CoinGecko | Token metadata, market caps | ✅ Live |
| Grok (xAI) | Sentiment analysis, AI scoring | ✅ Live |
| Bitquery | Real-time WebSocket monitoring | ✅ Live |
| Telegram | Bot interface, alerts | ✅ Live |
| Twitter/X | Autonomous posting, engagement | ✅ Live |
| PostgreSQL | Semantic memory, state | ✅ Live |
| Stripe | Fiat payment processing | 🔜 Q2 2026 |
| Discord | Community bot (future) | 🔜 Q2 2026 |
18 Model Context Protocols configured:
| MCP | Purpose |
|---|---|
| ast-grep | 20x faster code pattern search |
| nia | Instant SDK/API documentation |
| firecrawl | Website scraping |
| postgres | Direct semantic memory queries |
| perplexity | Real-time web research |
| filesystem | File operations |
| git | Version control |
| github | Repository management |
| sqlite | Local database queries |
| memory | Knowledge graph storage |
Jarvis is designed for multi-platform expansion:
RESTful API for third-party integrations.
https://api.jarvis.lifeos.ai/v1
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.jarvis.lifeos.ai/v1/status
GET /status # System health
GET /version # API version
GET /config # Configuration (admin)
POST /shutdown # Graceful shutdown (admin)
GET /portfolio # Current portfolio
GET /positions # Active positions
POST /trade # Execute trade
POST /close/{id} # Close position
GET /strategies # Available strategies
GET /performance # Trading stats
GET /sentiment/current # Latest sentiment
GET /sentiment/history # Historical data
POST /sentiment/analyze # Analyze custom token
GET /staking/balance # Staked amount
POST /staking/stake # Stake tokens
POST /staking/unstake # Unstake tokens
POST /staking/claim # Claim rewards
GET /staking/rewards # Unclaimed rewards
GET /user/profile # User profile
PUT /user/preferences # Update preferences
GET /user/history # Action history
GET /user/stats # User statistics
| Tier | Requests/min | Burst |
|---|---|---|
| Free | 60 | 10 |
| Pro | 600 | 100 |
| Enterprise | Unlimited | Unlimited |
Subscribe to events:
POST /webhooks
{
"url": "https://your-domain.com/webhook",
"events": ["trade.executed", "position.closed", "alert.triggered"]
}
┌─────────────────────────────────────────────────────────────┐
│ User Interfaces │
│ Telegram │ Web Dashboard │ Voice │ API │ Mobile (future) │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ Context Engine │
│ - Unified state management │
│ - Cross-platform synchronization │
│ - User preferences & patterns │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ Intelligence Layer │
│ GPT-4 │ Claude │ Grok │ LLaMA (local) │ Model Router │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ Action Domains │
│ Trading │ Social │ Productivity │ Devices (future) │
└────────────┬────────────────────────────────────────────────┘
│
┌────────────▼────────────────────────────────────────────────┐
│ External Integrations │
│ Solana │ Jupiter │ Helius │ Grok │ APIs │
└──────────────────────────────────────────────────────────────┘
┌──────────────┐
│ Supervisor │ ◄────── Health Checks ──────┐
└──────┬───────┘ │
│ │
├──► Buy Bot (KR8TIV tracking) │
├──► Sentiment Reporter (Grok) │
├──► Twitter Bot (autonomous) ────┘
├──► Telegram Bot (UI)
├──► Bags Intel (graduations)
└──► Trading Engine (treasury)
│
├──► Position Manager
├──► Risk Manager
├──► Execution Engine (Jupiter)
└──► Performance Tracker
1. Market Data Ingestion
├─► DexScreener (price)
├─► Helius (on-chain)
└─► Grok (sentiment)
2. Signal Generation
├─► 81+ strategies evaluate
└─► Consensus scoring
3. Risk Check
├─► Position limits
├─► Liquidity check
├─► Risk tier classification
└─► Circuit breaker state
4. Execution
├─► Jupiter quote
├─► Transaction building
├─► Signing (local wallet)
└─► Submission (Helius RPC)
5. Monitoring
├─► Position tracking
├─► Stop loss checks (60s interval)
└─► Performance logging
6. Learning
├─► Outcome recorded
├─► Strategy performance updated
└─► Memory stored for future
For production scaling beyond a single server, Jarvis includes a distributed multi-agent architecture designed to scale from a single 32GB VPS to multi-node clusters serving millions of users.
Key Features:
Scaling Phases:
| Phase | Timeline | Infrastructure | Users | Cost/Month |
|---|---|---|---|---|
| 1: Single VPS | Now-6mo | 32GB/8vCPU Hostinger | 1K-10K | $70-100 |
| 2: Dual VPS | 6-12mo | 2× VPS + k3s + Redis Cluster | 10K-50K | $85-130 |
| 3: Multi-Node | 12-18mo | 3-5 VPS + Managed DB + Qdrant Cloud | 50K-200K | $150-300 |
| 4: Cloud Hybrid | 18mo+ | VPS + Cloud Burst + Serverless | 200K-1M+ | $300-1K |
Architecture Highlights:
For complete details on the distributed architecture, including deployment configurations, resource allocation, failover strategies, and implementation timeline, see:
📄 Distributed Multi-Agent Architecture
Model Context Protocol (MCP) is a standardized way for AI models to access external data sources, tools, and services.
Jarvis uses 18 configured MCPs to:
┌─────────────────────────────────────────────────────┐
│ Semantic Memory Store │
│ PostgreSQL (continuous_claude database) │
│ - 100+ learnings with BGE embeddings │
│ - 1024-dim vectors (bge-large-en-v1.5) │
│ - Full-text search + vector similarity │
└─────────────┬───────────────────────────────────────┘
│
┌─────────────▼───────────────────────────────────────┐
│ Memory Importer (auto_import.py) │
│ - Syncs PostgreSQL → Local SQLite │
│ - Generates JSONL for MCP server │
│ - Confidence ranking, topic filtering │
└─────────────┬───────────────────────────────────────┘
│
┌─────────────▼───────────────────────────────────────┐
│ Memory MCP Server │
│ - CLI: /recall skill in Claude Code │
│ - API: Python queries via MemoryImporter │
│ - Search: Semantic + text-based │
└──────────────────────────────────────────────────────┘
from core.memory.auto_import import MemoryImporter
importer = MemoryImporter()
# Search by content
results = importer.search_imported_memories(
query="trading strategy",
limit=10
)
# Filter by confidence
high_confidence = importer.search_imported_memories(
query="risk management",
confidence_threshold=0.8
)
# Get statistics
stats = importer.get_memory_stats()
# Returns: {total: 105, by_type: {...}, by_confidence: {...}}
| Type | Use For |
|---|---|
ARCHITECTURAL_DECISION | Design choices, system structure |
WORKING_SOLUTION | Fixes that worked |
CODEBASE_PATTERN | Patterns discovered in code |
FAILED_APPROACH | What didn't work (avoid repeating) |
ERROR_FIX | How specific errors were resolved |
USER_PREFERENCE | User's preferred approaches |
OPEN_THREAD | Incomplete work to resume later |
Full reference: .env.example
# Trading (REQUIRED for live trading)
TREASURY_LIVE_MODE=true
LIFEOS_KILL_SWITCH=false
MAX_POSITIONS=50
LOW_BALANCE_THRESHOLD=0.01
# Solana (REQUIRED)
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
HELIUS_API_KEY=your_helius_key
# Trading APIs (REQUIRED)
XAI_API_KEY=your_grok_key
# Social (REQUIRED for bots)
TELEGRAM_BOT_TOKEN=your_telegram_token
TELEGRAM_BUY_BOT_CHAT_ID=your_chat_id
TWITTER_BEARER_TOKEN=your_twitter_token
JARVIS_ACCESS_TOKEN=your_twitter_oauth
# Database (REQUIRED for memory)
DATABASE_URL=postgresql://user:pass@localhost:5432/jarvis
# Optional but Recommended
BITQUERY_API_KEY=your_bitquery_key # For bags.fm
COINGECKO_API_KEY=your_coingecko_key # For metadata
# Enable/disable components
X_BOT_ENABLED=true
TELEGRAM_BOT_ENABLED=true
VOICE_CONTROL_ENABLED=false
WEB_DASHBOARD_ENABLED=true
# Safety features
REQUIRE_ADMIN_FOR_TRADES=true
ENABLE_CIRCUIT_BREAKERS=true
ENABLE_STOP_LOSS_MONITORING=true
# Recommended: run the automated deploy script (creates systemd units)
sudo bash deploy.sh
# Or enable services created by deploy.sh
sudo systemctl enable jarvis-supervisor
sudo systemctl start jarvis-supervisor
sudo systemctl enable jarvis-twitter jarvis-telegram
# Check status
sudo systemctl status jarvis-supervisor
# View logs
sudo journalctl -u jarvis-supervisor -f
deploy.sh generates the systemd unit files in /etc/systemd/system/ for
jarvis-supervisor, jarvis-twitter, and jarvis-telegram. If you prefer a
manual setup, use deploy.sh as the source of truth for unit definitions.
# Build image
docker build -t jarvis:4.6.5 .
# Run with docker-compose
docker-compose up -d
# Check logs
docker-compose logs -f
Recommended specs:
# Install dependencies
sudo apt update
sudo apt install -y python3.11 postgresql redis-server
# Clone and setup
git clone https://github.com/Matt-Aurora-Ventures/Jarvis.git
cd Jarvis
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Initialize database
python scripts/init_db.py
# Start supervisor
python bots/supervisor.py
# System health
curl http://localhost:8080/health
# Component status
curl http://localhost:8080/api/v1/status
# Metrics (Prometheus format)
curl http://localhost:8080/metrics
| Component | Log Path |
|---|---|
| Supervisor | logs/supervisor.log |
| Trading | logs/trading.log |
| Telegram | logs/telegram.log |
logs/twitter.log | |
| Bags Intel | logs/bags_intel.log |
CRITICAL FIX: Bot Never Crashes When APIs Fail + 90% Cost Savings
New Resilient Provider Chain:
Cost Optimization (Per User Request): NEW Priority Order:
Savings: 90-95% cost reduction (from ~$5-10/day → ~$0.25-0.50/day)
EU/GDPR Silent Handling:
safe_reply() and safe_edit() helpersNew Telegram Commands:
/health - Show provider health status/vibe <query> - AI chat with resilient fallbackFiles Added:
core/resilient_provider.py - Provider chain with circuit breakerscore/provider_health_monitor.py - Background health monitoringtg_bot/middleware/resilient_errors.py - EU/GDPR & error handlingtg_bot/handlers/commands/health_command.py - Provider statustg_bot/handlers/commands/vibe_command.py - Resilient AI chatRESILIENCE_IMPLEMENTATION_GUIDE.md - Full integration guideExpected Behavior:
Critical Telegram Bot Fix:
msvcrt.locking doesn't allow same process to lock file twiceacquire_instance_lock() callSentiment State Persistence:
record_sentiment_run() BEFORE Telegram postingAdmin Check Fix:
bot_core.pyDEFAULT_ADMIN_USER_ID now defined at top of file (line 123)Error Tracking Integration:
tg_bot/handlers/__init__.py integrated with @error_handler decoratorbots/supervisor.py now has track_supervisor_error() helperNew Features:
18 Model Context Protocols Configured:
Automated Memory Import System:
continuous_claude database (100+ learnings)/recall skillNew Files:
MEMORY_QUERY_GUIDE.md - 50+ query examplesMCP_SETUP_SUMMARY.md - Complete system documentationcore/memory/auto_import.py - Memory import engine (398 lines)scripts/verify_mcp_setup.py - Setup verification toolWhat This Enables:
Full changelog: CHANGELOG.md
| Version | Date | Highlights |
|---|---|---|
| 4.7.0 | Feb 5, 2026 | ClawdBots multi-agent mesh, P2P self-healing, Supermemory integration, Docker orchestration, 50+ shared modules, web terminal |
| 4.6.6 | Jan 27, 2026 | Provider chain failover, model routing improvements |
| 4.6.5 | Jan 21, 2026 | V1 stabilization, critical bug fixes |
| 4.6.4 | Jan 17, 2026 | 18 MCPs, semantic memory system |
| 4.6.2 | Jan 2026 | Async performance, SQLite management |
| 4.6.1 | Jan 2026 | Active stop loss monitoring |
| 4.6.0 | Jan 2026 | Autonomous intelligence, 7750+ LOC |
| 4.5.0 | Jan 2026 | Bot supervisor, anti-scam |
| 4.4.0 | Jan 2026 | Complete autonomy system |
Q: Do I need to know crypto to use Jarvis? A: No. You can use the credit system with fiat payments (credit card via Stripe). Jarvis handles all crypto operations behind the scenes.
Q: Is Jarvis free? A: Yes. The core system is open-source and free. Premium features (custom strategies, advanced analytics) require $KR8TIV staking or credit purchases.
Q: Does Jarvis send my data to third parties? A: Only what's necessary for operations (e.g., trades to Jupiter, sentiment to Grok). You can run local models (LLaMA via Ollama) for complete privacy. Your personal data never leaves your device.
Q: Can I run Jarvis locally? A: Yes. Jarvis runs on macOS, Windows, and Linux. You can even run it fully offline with local models (no internet required except for trading).
Q: How much can I start with? A: Minimum 0.1 SOL recommended. Treasury starts trading with 1+ SOL.
Q: What's the expected return? A: Past performance is not indicative of future results. Jarvis is designed to outperform holding, but crypto is volatile. Always risk what you can afford to lose.
Q: How does risk management work? A: Multi-layered:
Q: Can I customize strategies? A: Yes. Gold/Platinum stakers can create custom strategies. Full no-code strategy builder coming Q2 2026.
Q: What languages is Jarvis written in? A: Python (backend), TypeScript/React (frontend), Solidity-like (Solana programs).
Q: Can I contribute? A: Yes! See CONTRIBUTING.md. We welcome:
Q: What databases does Jarvis use? A: PostgreSQL (main), SQLite (local cache), Redis (hot cache), TimescaleDB (time-series).
Q: Does Jarvis work on Raspberry Pi? A: Not officially supported, but possible for monitoring/alerts. Trading requires more compute.
We welcome contributions from the community!
git checkout -b feature/amazing-featurepytest tests/git commit -m 'Add amazing feature'git push origin feature/amazing-feature| Area | Description |
|---|---|
| Trading Strategies | New signal generation logic |
| UI/UX | Dashboard improvements |
| Documentation | Guides, tutorials, translations |
| Testing | Unit tests, integration tests |
| DevOps | Deployment scripts, monitoring |
Do NOT open public issues for security vulnerabilities.
Email: security@lifeos.ai
Include:
We aim to respond within 24 hours.
python scripts/secret_scan_staged.py before pushes (last run: Jan 25, 2026)MIT License
Copyright (c) 2026 Matt Aurora Ventures
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Jarvis: A persistent, personal context engine.
Starting with crypto. Building toward everything.
135 commits
13 commits
Python
77.8%
TypeScript
10.5%
JavaScript
8.5%
Shell
1.5%