openInvest powers existing personal agents (Claude Code, Codex, Hermes, OpenClaw) rather than replacing them. Your agent handles conversation, memory, and user context; openInvest provides a verifiable investment committee, long-horizon backtesting, and Git-backed audit records.
Quick Start
1. Hosted MCP (Recommended)
Add the Streamable HTTP endpoint to your agent client and sign in via OAuth at Connect MCP:
https://openinvest.involutionhell.com/mcp
Your agent runs the reasoning; the service persists your ledger and decision trail. See the client guide and privacy policy for retention and deletion options. Hosted ledgers are retained long term. After the notice, research recording defaults on and can include de-identified amounts and currencies for training. You can disable it in account settings.
2. Local Plugin or MCP
The plugin can use your existing MCP connection. Choose a local deployment to keep the ledger on your machine and select the intended ledger if you have several connections.
# Claude Code
/plugin marketplace add longsizhuo/openInvest
/plugin install invest@openinvest
# Codex
codex plugin marketplace add longsizhuo/openInvest
codex plugin add invest@openinvest
# Hermes
hermes plugins install openinvest --enable
# OpenClaw
openclaw plugins install clawhub:openinvest
# Any local MCP client
claude mcp add openinvest -e INVEST_HOME=~/openInvest -- uvx openinvest-mcp
For full self-hosting setup and LLM provider configuration (DeepSeek by default, or any OpenAI-compatible API), see docs/QUICK_START.md and docs/wiki/22-configuration.md.
3. Serverless (GitHub Actions)
Fork this repository as Private (workflow commits holdings and verdicts back to the repo—a public fork will leak your financial data). Initialize memory/ locally (git add -f memory/), add LLM_API_KEY (or DEEPSEEK_API_KEY), EMAIL_SENDER, EMAIL_PASSWORD, and DIGEST_EMAIL_TO to repository Secrets, then enable the daily-report workflow (runs daily at 10:00 CST).
Architecture
Instead of simulating a debate in a single prompt, core/committee/ enforces an Information Isolation Contract across four independent LLM stages:
[ Macro Data Injection ]
│
▼ 1. Macro Context
┌──────────────────────────┐
│ Macro Strategist │ (VIX, yield spread, FX)
└─────────────┬────────────┘
│
▼ 2. Parallel Isolated Analysis
┌─────────────┴────────────┐
▼ ▼
┌──────────────────┐ ┌──────────────────┐
│ Quant Analyst │ │ Risk Officer │
│ (RSI / Momentum) │ │ (Concentration) │
│ 🛑 No Holdings │ │ 🛑 No Indicators │
└─────────┬────────┘ └─────────┬────────┘
└─────────────┬─────────────┘
▼
3. Round 2 Cross-Challenge
▼
┌──────────────────────────────────────────────┐
│ Chief Investment Officer (CIO) │
└───────────────────────┬──────────────────────┘
▼
[ BUY / ACCUMULATE / HOLD / TRIM / SELL ]