Skip to main content Switch to mobile version openinvest 0.59.0 Investment runtime built for AI agents — 4-role LLM investment committee, portfolio ledger, decision accounting, MCP server
pip install openinvest==0.59.0 Copy PIP instructions
An investment runtime built for AI agents. Your agent knows you — openInvest knows investing.
openInvest runs a 4-role LLM investment committee (Macro Strategist, Quant Analyst, Risk Officer, CIO) that debates any asset and returns a BUY / ACCUMULATE / HOLD / TRIM / SELL verdict with a written memo — plus portfolio tracking, a decision ledger, and full decision-accounting (which advice you followed, what happened after).
It is not a chatbot. Conversation, memory, and personalization stay in your agent (Claude Code, Codex, Hermes, OpenClaw, Cursor, or any script); openInvest provides the investing capabilities behind it.
# no install needed — uvx fetches and caches it INVEST_HOME=~/openInvest uvx openinvest status # or install it pip install openinvest INVEST_HOME is your data directory (portfolio, ledgers, .env). All state lives there — the package itself is stateless.
uvx openinvest init # interactive onboarding (or `--from-stdin` for agents) uvx openinvest doctor # health check As an MCP server (recommended for agents)
Tools for portfolio read/write, live prices, the decision ledger, and the committee — over stdio (or openinvest-mcp --http for a remote streamable-HTTP server, BETA):
claude mcp add openinvest -e INVEST_HOME=~/openInvest -- uvx openinvest-mcp Read tools carry readOnlyHint; money-moving tools (buy, sell, deposit, withdraw) carry destructiveHint, so MCP clients gate them behind confirmation.
As an agent plugin (Claude Code / Codex / Hermes)
Skills (committee orchestration protocol) + MCP server, bundled:
# Claude Code /plugin marketplace add longsizhuo/openInvest /plugin install invest@openinvest # Codex codex plugin marketplace add longsizhuo/openInvest codex plugin add invest@openinvest # Hermes Agent (official plugin catalog) hermes plugins install openinvest --enable # older Hermes without the catalog: hermes plugins install longsizhuo/openInvest/plugin --enable What it does
Investment committee — 4 LLM roles debate any yfinance symbol (equities, ETFs, crypto, commodities, any currency). Two execution paths: Coordinator (your agent plays the roles — no API key) or Direct (backend LLM, needs DEEPSEEK_API_KEY).
Portfolio management — multi-currency cash + holdings with an append-only, fcntl-locked ledger. Never places real orders.
Decision accounting — every verdict is joined at read time with rule interventions, your executions (or refusals, with reasons), and post-hoc PnL. Ask it: "How often did I actually follow the committee?"
Discipline ledger — counterfactual PnL of what the safety rules blocked.
uvx openinvest status # portfolio + live P&L uvx openinvest run_committee GC=F # one-shot committee verdict uvx openinvest decisions --days 90 # decision ledger + adoption rate uvx openinvest record_execution 2026-07-03/GC=F --rejected --reason "too pricey" uvx openinvest buy --symbol AAPL --units 10 --price 210 --currency USD Disclaimer
LLM-driven decision support — not investment advice. LLMs make mistakes and get overconfident. openInvest never auto-trades; its ledger is a local SQLite record with no connection to any brokerage or payment system. Past performance does not predict future returns.
Repository & full docs (中文)
RFC: Agent-Native Investment Runtime
MIT View SPDX License List
agent claude investing investment-committee llm mcp portfolio trading-journal
Development Status 4 - Beta
Intended Audience Developers
Financial and Insurance Industry
Programming Language Python :: 3.13
Topic Office/Business :: Financial :: Investment
Release files for openinvest 0.59.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.5 MB
Release files / openinvest-0.59.0.tar.gz
Release files / openinvest-0.59.0-py3-none-any.whl
Security for openinvest 0.59.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 9, 2026 2 release files No provenance
Nov 8, 2026 2 release files No provenance
Nov 6, 2026 2 release files No provenance
Oct 29, 2026 2 release files No provenance
Oct 27, 2026 2 release files No provenance
Oct 20, 2026 2 release files No provenance
Oct 19, 2026 2 release files No provenance
Oct 18, 2026 2 release files No provenance
Oct 17, 2026 2 release files No provenance
Oct 15, 2026 2 release files No provenance
Oct 14, 2026 2 release files No provenance
Oct 13, 2026 2 release files No provenance
Oct 11, 2026 2 release files No provenance
Oct 10, 2026 2 release files No provenance
Oct 9, 2026 2 release files No provenance
Oct 8, 2026 2 release files No provenance
Oct 7, 2026 2 release files No provenance
Jul 24, 2026 2 release files No provenance
Jul 23, 2026 2 release files No provenance
Jul 21, 2026 2 release files No provenance
Jul 20, 2026 2 release files No provenance
Jul 18, 2026 2 release files No provenance
Jul 17, 2026 2 release files No provenance
Jul 16, 2026 2 release files No provenance
Jul 15, 2026 2 release files No provenance
Jul 14, 2026 2 release files No provenance
Jul 12, 2026 2 release files No provenance
Jul 11, 2026 2 release files No provenance
Jul 10, 2026 2 release files No provenance
Jul 9, 2026 2 release files No provenance
Jul 8, 2026 2 release files No provenance
Jul 7, 2026 2 release files No provenance
Jul 6, 2026 2 release files No provenance
Jul 5, 2026 2 release files No provenance
Jul 4, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




