
为Solana 提供经代理调优的交易系统,人工参与。AI 代理提出策略变更,人员批准,确定性代码执行。
概览
一个由AI驱动的Solana新模因币交易机器人。它从链上数据中发现新交易对,根据声明性策略进行评分,并通过确定性流水线执行纸质或实时交易——包括回测、按策略分析以及可选的LLM代理,这些代理可以提出策略变更供人工审核。 Node.js 24 ·TypeScript ·PostgreSQL ·Redis ·React ·MCP - 为个人使用而写,按原样发布。不提供任何形式的保证,也不保证它能达到本 README 所宣称的功能。- 几分钟前铸造的代币、流动性稀薄、抽红、蜜罐和夹心攻击是正常运营环境,而非边缘情况。大多数策略扣除手续费和滑点后都会亏钱。- 这里没有任何建议交易。你对所有你置于风险中的资金负责,并且无论你所在的地方都遵守法律。- 并且在你设置两个不同的环境变量之前保持关闭。从纸面开始。然后回测。再用纸质测试。
概述(AI 翻译)
一个由人工智能驱动的新鲜Solana表情包交易机器人。它发现了新的交易对,来自 链上数据,并与声明式策略进行评分,并执行纸质或实时 通过确定性流程进行交易——包括回测、按政策分析,以及 可选的LLM代理,用于提出策略变更供人类审核。
Node.js 24 ·TypeScript ·PostgreSQL ·Redis ·React ·MCP
⚠️ 先读这个
该软件用真钱进行真实交易。它可能会且会亏损。
- 实验性且未经审计。 为个人使用而写,按原样发布。在那里 不提供任何形式的保证,也不保证它能达到本 README 所宣称的功能。
- Memecoin交易接近最坏情况。 几分钟前刚铸造的代币,薄弱 流动性、拉地毯、蜜罐和夹心攻击是正常操作 环境问题,而非边缘情况。大多数策略亏损时扣除手续费和滑点。
- 非财务建议。 这里没有任何建议去交易任何东西。你是 对您置于风险中的资金并遵守法律负责 无论你在哪里。
- 实时交易默认关闭,直到你设置两个独立的版本才关闭 环境变量。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Amadeus
An AI-driven trading bot for fresh Solana memecoins. It discovers new pairs from on-chain data, scores them against declarative policies, and executes paper or live trades through a deterministic pipeline — with backtesting, per-policy analytics, and optional LLM agents that propose strategy changes for human review.
Node.js 24 · TypeScript · PostgreSQL · Redis · React · MCP
⚠️ Read this first
This software places real trades with real money. It can and will lose funds.
- Experimental and unaudited. Written for one person’s use, published as-is. There is no warranty of any kind, and no guarantee it does what this README claims.
- Memecoin trading is close to worst-case. Tokens minted minutes ago, thin liquidity, rug pulls, honeypots, and sandwich attacks are the normal operating environment, not edge cases. Most strategies lose money net of fees and slippage.
- Not financial advice. Nothing here is a recommendation to trade anything. You are solely responsible for any funds you put at risk and for complying with the law wherever you are.
- Live trading is off by default and stays off until you set two separate environment variables. Start on paper. Then backtest. Then paper again.
- It needs your private key to sign transactions. Read Security before you put a key anywhere near this.
If you are looking for a turnkey profitable bot, this is not that. It is a framework for expressing and testing strategies, where the strategy is yours and so is the outcome.
Contents
- How it works
- Quickstart
- Configuration
- Running the stack
- Workers
- Policies, accounts, deployments
- Security
- Known limitations
- MCP server
- UI
- Operational scripts
- Development
- License
How it works
Data flows one way through a chain of independent workers, each reading what the previous one wrote to Postgres:
pumpswap-pairs ──────────> pairs new pools, from a program log subscription
pumpswap-vault-swap ─────> pair_swap_events buys/sells, from vault account subscriptions
chain-snapshots ─────────> pair_snapshots price, liquidity, volume, holders, authorities
scoring ─────────────────> pair_scores policy filters + weighted features -> a signal
execution ───────────────> trade_decisions entries, after risk and limit checks
exit ────────────────────> trades closes on stop / target / time / rug / collapse
Alongside that: policy-analytics rolls events into hourly buckets, backtest replays
history against a policy, and account-balance keeps live wallet balances fresh.
Everything observable is a table, so every decision is auditable after the fact — why a
安装
npx @modelcontextprotocol/inspector # point it at http://localhost:3000/mcp