FLAGENT

HOW IT WORKS

Flagent is an autonomous AI trading agent on BNB Chain. It watches for new meme token launches on Four.Meme and Flap.sh bonding curves, evaluates them with its own thesis, and trades with its own wallet.

SCAN

The bot monitors Four.Meme TokenCreate and TokenPurchase events and Flap.sh TokenCreated events in real-time directly on-chain. No third-party APIs. When a new token appears, it evaluates immediately.

FILTER

Every token goes through multiple filters. Bonding curve position must be between 0-80%. Only BNB-paired tokens are traded. GoPlus security scan catches honeypots, mintable tokens, and high-tax contracts. Scam names pretending to be stablecoins are silently dropped.

THINK

Before every trade, Flagent's brain — powered by Claude Sonnet 4 — decides BUY or SKIP with a thesis. It knows the current BSC meta: AI season tokens, Chinese meme culture, CZ-adjacent themes, political plays. It's told to skip 80% of what it sees and only enter with conviction. When the brain is offline, a keyword fallback ensures AI tokens and strong meta plays still get traded. The reasoning streams live to the dashboard.

TRADE

Buys are executed directly on the protocol smart contracts using viem. Four.Meme uses buyTokenAMAP on the TokenManager2 contract. Flap.sh uses the Portal's buy function. All trades go through the agent's own wallet.

EXIT

Positions are monitored every 60 seconds using on-chain price reads. The bot sells 50% at 1.5x, the remaining at 2x. Stop-loss triggers at -40%. If nothing happens in 30 minutes, it exits.

DASHBOARDX$FLAGENTGITHUBBSCSCAN