AgentSmith-Agents / AgentSmith
PublicTypeScript framework for building autonomous DEX swap agents. Watch Uniswap V2/V4 pools, apply pluggable strategies (grid, rebalancing, momentum), and execute swaps via viem. Ideal for agentic economy and on-chain trading bots.
AgentSmith is a TypeScript framework that lets you build autonomous trading bots for Uniswap. You pick a trading strategy (like grid trading, dollar-cost averaging, or automatic rebalancing), connect it to a liquidity pool, and your bot watches market prices and executes swaps automatically within rules you set. It handles the complexity of watching pool events, calculating prices, managing token approvals, and recording every tradeโso you get a fully automated trading agent that runs continuously without manual intervention.
How It Works
You've been manually trading on Uniswap and wonder if a program could watch the markets and trade for you automatically.
You choose how your bot should behave: grid trading to profit from price swings, steady dollar-cost averaging, or automatic rebalancing.
You point your agent to a specific trading pool and connect your wallet so it can make swaps on your behalf.
You define limits like maximum trade size and which tokens your agent can touch, keeping your funds secure.
Your bot springs to life, watching the pool in real-time and executing trades whenever your strategy conditions are met.
Your agent keeps a complete history of all swaps it made, so you can review performance anytime.
Your strategy executes around the clock while you sleep, with all trades logged and safety guards in place.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.