AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompareGuides
Submit Tool
ToolsCategoriesTrendingNewCompareGuides
Home/
Memory & Context/
tradememory-protocol
tradememory-protocol logo

tradememory-protocol

Active·★ 1.4k·MIT·Updated 2026-10-09
★ Memory & Context★ Multi-Agent

TradeMemory Protocol is a memory layer for trading agents. Its pitch is that many MCP servers can execute trades but none remember what happened. It records each trade with context such as entry reasoning, market regime, confidence and outcome, then lets the agent recall patterns. The README describes outcome-weighted recall that downweights patterns from old market regimes, and Bayesian confidence plus sample size on each pattern with out-of-sample validation, so suspicious patterns are flagged.

An Evolution Engine goes further: given raw price data, it generates strategy hypotheses with an LLM, backtests them with a vectorised engine (ATR-based stop loss and take profit, long and short, time-based exits), eliminates weak candidates and evolves the rest. The README quotes 22 months of BTC data with a Sharpe ratio of 3.84, 477 trades and 91% positive months; that is the project's own backtest result and should not be read as a promise of live returns. Forex users can sync closed trades from MetaTrader 5.

It exposes 15 MCP tools (core memory, OWM cognitive memory with agent state such as confidence, risk appetite and drawdown, and evolution tools) plus 30 REST endpoints. Install with `pip install tradememory-protocol` and add it to Claude Desktop with `uvx tradememory-protocol`, or use `claude mcp add`, or run it with Docker. The README reports 1,055 passing tests. The licence is MIT, the last push was 2026-10-09, and the README states plainly that it is for education and research, is not financial advice, and that trading carries substantial risk of loss. This review is based on the README and repository data; we have not run it ourselves.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool.

#ai-agents#claude#crypto#evolution-engine#forex#mcp#mcp-server#mcp-servers
$ Install
$ pip install tradememory-protocol
↗ Visit site★ GitHub
01

Features

01Persistent memory with full context for every trade
02Outcome-weighted recall (OWM) for adaptive learning
03Evolution Engine for autonomous strategy discovery
0415 MCP tools for memory, cognitive, and evolution operations
05Multi-platform support (crypto, forex, MT5, etc.)
02

Why choose it

+Persistent trade memory with context, outcome-weighted recall and Bayesian confidence per pattern
+Out-of-sample validation flags suspicious patterns instead of following them blindly
+15 MCP tools and 30 REST endpoints; works with Claude Desktop, Claude Code and Cursor
+MT5 sync for forex, 1,055 tests reported, MIT license
03

Trade-offs

!The Sharpe 3.84 result is a self-reported backtest on BTC data and does not predict live performance
!The README says it is for education and research and is not financial advice; trading can lose money
!The evolution engine needs LLM calls, which cost money and can invent overfitted strategies
!Never give an agent live trading authority without limits, review and human approval
04

Compatibility

Claude Desktop
MCP client
Verified via docs
Claude Code
CLI agent
Verified via docs
Python API
Python SDK
Verified via docs
Docker
Container
Verified via docs
05

Quick start

1
$ pip install tradememory-protocol
06

Use cases

↳Crypto trading: Feed BTC/ETH trades and discover timing patterns automatically
↳Forex + MT5: Auto-sync trades and leverage persistent memory for adaptive strategies
↳Developers: Build memory-aware trading agents with 15 MCP tools and 30+ REST endpoints
07

Alternatives

headroom logo
headroom★ 75.2k
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. Around 20% fewer tokens for coding agents and 60-95% fewer for JSON, with the same answers. Library, proxy, and MCP server.
letta logo
letta★ 25.1k
Letta is the platform for building stateful agents: open AI with advanced memory that can learn and self-improve over time.
fastmcp logo
fastmcp★ 28.1k
🚀 The fast, Pythonic way to build MCP servers and clients.
FunASR logo
FunASR★ 20.7k
Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation and speaker diarization, with OpenAI-compatible and MCP serving.
Auto-claude-code-research-in-sleep logo
Auto-claude-code-research-in-sleep★ 17.4k
ARIS ⚔️ (Auto-Research-In-Sleep) — Claude Code skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation via Codex MCP
agents-best-practices logo
agents-best-practices★ 2.4k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
holaOS logo
holaOS★ 11.4k
The agent environment for long-horizon work, continuity, and self-evolution.
openagent logo
openagent★ 5.7k
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
See all alternatives →

Featured in these lists

  • Open-Source AI Trading and Finance Tools

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07Alternatives
Stats
GitHub Stars★ 1.4k
Last commit5d ago
StatusActive
LicenseMIT
CategoryMemory & Context
Trend (30d)
+0k↑ 1.0%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.