
tradememory-protocol
by mnemox-ai·★ 906·综合分 54
TradeMemory Protocol 是一个为 AI 交易代理提供决策审计跟踪和持久记忆的 MCP 服务器,具有结果加权回忆和 SHA-256 防篡改功能。
概述
TradeMemory Protocol 作为 AI 交易代理的记忆层,通过全面的决策记录和检索解决监管需求并提升性能。系统实现了 17 个 MCP 工具,涵盖记忆、状态、规划、风险和审计类别,使代理能够根据结果质量加权回忆过往交易,记录新决策,并生成防篡改的审计跟踪。它支持多种市场和经纪商,但不执行交易或处理金融资产。该框架基于认知科学和强化学习研究的成果加权记忆(OWM)评分。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当需要构建持久的交易记忆、审计追踪和跨交易会话的行为分析的受监管交易 AI 系统时选择。
什么时候不要选它
如果您需要通用记忆解决方案或构建没有合规要求简单交易机器人时不适用。
此 server 暴露的工具
从 README 抽取出 12 个工具remember_tradeRecord a trading decision with multiple memory layers
recall_memoriesRetrieve past trades weighted by outcome quality and context
get_agent_stateCheck current trading confidence, drawdown, and streak status
get_behavioral_analysisAnalyze trading patterns and behavioral drift
create_trading_planCreate a prospective trading plan with conditional triggers
check_active_plansReview and evaluate active trading plans
check_trade_legitimacyEvaluate a trade against pre-defined risk factors
export_audit_trailExport tamper-proof trading decision records
verify_audit_hashVerify the integrity of a trading decision record
get_strategy_performanceAnalyze historical performance of trading strategies
get_trade_reflectionRetrieve detailed reflection notes on past trades
validate_strategyValidate a trading strategy against historical data
可对比工具
安装
pip install tradememory-protocol添加到 Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"tradememory": {
"command": "uvx",
"args": ["tradememory-protocol"]
}
}
}其他客户端:
# Claude Code
claude mcp add tradememory -- uvx tradememory-protocol
# 从源码安装
git clone https://github.com/mnemox-ai/tradememory-protocol.git
cd tradememory-protocol && pip install -e . && python -m tradememory
# Docker
docker compose up -dFAQ
- TradeMemory 是否执行交易或处理资金?
- 不执行。TradeMemory 只记录和检索交易决策,从不执行交易、转移资金或访问钱包。
- 如何确保数据的完整性以符合合规要求?
- 每项交易决策在创建时都会进行 SHA-256 哈希处理并链接到前向审计链中。每日默克尔根(anchor)链接整个链,使篡改行为可被检测。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by mnemoxai · 2026-02-23
tradememory-protocol 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。