# Sentinel — Risk-Gated AI Trading Agent for EVM Chains

> An AI trading agent that cannot blow up its own vault — risk limits enforced on-chain.

Sentinel — Risk-Gated AI Trading Agent for EVM Chains is a paid AI agent skill on Agensi by Keke Chen, in Web3 & Crypto. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Keke Chen](https://www.agensi.io/creators/suncoke)
- Category: [Web3 & Crypto](https://www.agensi.io/skills/web3-crypto)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/sentinel-risk-gated-ai-trading-agent-for-evm-chains
- Tags: web3, api, trading, node-js, trading-agent, on-chain-vault, drawdown-protection, evm

## About this skill

Sentinel is a self-contained AI trading agent for EVM chains with one difference from every other trading bot: its risk limits are enforced on-chain, inside the vault contract itself. Max trade size, max position, daily loss limit and a drawdown stop-loss with auto-pause are checked by the vault on every trade — so a buggy, misconfigured or compromised agent physically cannot drain the vault or blow past the risk budget. The agent also runs the same checks off-chain before submitting, so a bad decision is rejected twice. The signal model is fully transparent, no black box: EMA momentum, z-score mean reversion (gated off while a real trend is running), a volatility regime filter that stands the agent down in a storm, and AMM TWAP-vs-spot divergence as an explicit signal input. Every decision can be traced to its factors. What buyers get: the Foundry vault contract (SentinelVault, plus a constant-product AMM and test tokens), a Node.js agent with a trading loop, a conversational CLI (status, pnl, set risk 0.8, set size 300, pause, resume) and a zero-dependency HTTP dashboard, a scripted end-to-end demo, and full test suites — Foundry 17/17 and Node 10/10, all passing. Runs first on a local Anvil chain, then testnet, then mainnet only with the owner's explicit go-ahead. Paper-trading mode (DRY_RUN=1) is the default for any first run on a new chain.

## Known limitations

Mainnet is deliberately NOT deployed in the reference package: the buyer deploys it themselves with one command and their own explicit go-ahead (measured cost ~2.5–3M gas). The shipped AMM is a stand-in: the vault trades through a generic router interface, and the buyer points it at the real router with one setRouter() call. The demo result (+3.79% NAV) is one scripted local-chain run, not a profit promise. Re-runs vary by a few tenths of a percent. Testnet HSK comes from a faucet that needs a browser captcha (1 testnet HSK per address per 24h). Never deploy to mainnet without the owner's explicit confirmation, and never put a real private key in chat, logs or a shipped file.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Sentinel — Risk-Gated AI Trading Agent for EVM Chains skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Is this a guaranteed-profit bot?

No. It is a tested trading system with a documented local-chain demo. The value is the on-chain risk enforcement: the vault caps what any agent — buggy or compromised — can lose.

### Does it need an LLM API key?

No. The signal model is a transparent statistical model (EMA momentum, z-score mean reversion, volatility filter, TWAP divergence). No hosted model, no API key, no per-trade inference cost.

### What chains does it run on?

Any EVM chain. It ships configured for HSK testnet (133) and mainnet (177), and the same contracts deploy anywhere with a router address.

### How do I run it safely the first time?

Local Anvil chain first, DRY_RUN=1 (paper mode) on any new chain, then live with small limits. Mainnet deploy needs an explicit MAINNET_CONFIRM=yes on the command line.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
