Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Building blocks for Uniswap (V2, V3, V4), Curve V1, Solidly V2, Balancer V2 & Aave V3 arbitrage and liquidation bots on EVM-compatible blockchains
| Date | Stars |
|---|---|
| 2026-07-30 | 550 |
| 2026-08-07 | 556 |
| 2026-08-15 | 558 |
| 2026-08-18 | 561 |
| 2026-08-20 | 563 |
| 2026-08-21 | 563 |
| 2026-08-24 | 562 |
| 2026-09-05 | 563 |
| 2026-09-08 | 562 |
| 2026-09-10 | 563 |
| 2026-09-12 | 563 |
| 2026-09-13 | 564 |
| 2026-09-15 | 565 |
| 2026-09-17 | 566 |
| 2026-09-19 | 566 |
| 2026-09-21 | 567 |
| 2026-09-23 | 568 |
| 2026-09-24 | 569 |
| 2026-09-25 | 569 |
| 2026-09-26 | 570 |
| 2026-09-30 | 571 |
| 2026-10-04 | 571 |
| 2026-10-07 | 571 |
| 2026-10-10 | 571 |
| 2026-10-11 | 571 |
| 2026-10-12 | 571 |
| 2026-10-16 | 572 |
| 2026-10-19 | 572 |
| 2026-10-20 | 573 |
| 2026-10-22 | 572 |
| 2026-10-23 | 571 |
| 2026-10-24 | 570 |
| 2026-10-26 | 571 |
| 2026-10-31 | 571 |
| 2026-11-02 | 572 |
| 2026-11-04 | 572 |
Today
— stars today
This week
+1 stars this week
This month
+1 stars this month
Momentum
61.0
growth rate 0.18%/day
# Degenbot
A Rust MEV-bot core with a first-class Python driver shell, for Uniswap (V2, V3, V4), Curve V1, Solidly V2, Balancer V2, and Aave V3 integrations on EVM-compatible blockchains.
Degenbot has two equally first-class consumers sharing one Rust core:
- **Pure-Rust MEV bot** — `cargo add degenbot` (the umbrella crate re-exporting the cores; a git/path dependency until the workspace is published to crates.io) and build a fully functional MEV bot in Rust only.
- **Python-driven MEV bot** — drive the same Rust core from Python through a thin [PyO3](https://pyo3.rs) layer that translates Python calls into Rust calls.
The Rust core is the engine; Python is a driver shell, not a co-implementation. Pool/token state, swap math, event decoding, solvers, the pump loop, and swap encoding all live in Rust core crates; the Python layer provides the user-facing API, orchestration, and configuration. See [`docs/adr/ADR-005-polars-inspired-three-layer-architecture.md`](docs/adr/ADR-005-polars-inspired-three-layer-architecture.md) for the architectural vision.
## Contents
- [Overview](#overview)
- [Architecture: The Python-Rust Split](#architecture-the-python-rust-split)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Supported Protocols](#supported-protocols)
- [Core Concepts](#core-concepts)
- [I/O-Free Architecture](#io-free-architecture)
- [The Bot Class](#the-bot-class)
- [Pool Types and Builders](#pool-types-and-builders)
- [External Updates](#external-updates)
- [Examples](#examples)
- [Using the Bot Class](#using-the-bot-class-recommended)
- [Uniswap V2 Liquidity Pools](#uniswap-v2-liquidity-pools)
- [Uniswap V3 Liquidity Pools](#uniswap-v3-liquidity-pools)
- [Uniswap V4 Liquidity Pools](#uniswap-v4-liquidity-pools)
- [Forking With Anvil](#forking-with-anvil)
- [Curve StableSwap Pools](#curve-stableswap-pools-io-free)
- [Balancer V2 Weighted Pools](#balancer-v2-weighted-pools)
- [Uniswap Arbitrage](#uniswap-arbitrage)
- [Swap Encoding & On-Chain Execution](#swap-encoding--on-chain-execution)
- [Running the Settlement-Arbitrage Bot](#running-the-settlement-arbitrage-bot)
- [Bot API Reference](#bot-api-reference)
- [Chainlink Price Feeds](#chainlink-price-feeds)
- [CLI Reference](#cli-reference)
- [Configuration](#configuration)
- [The Rust Core](#the-rust-core-degenbot_rs-rust-crate-degenbot_ffi-python-module)
- [Engine and Dispatch Surface](#engine-and-dispatch-surface)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [License](#license)
- [Donation](#donation)
> **Debugging a failing settlement-arbitrage path, or building your own
> simulation harness?** See [`docs/architecture/investigation-harness.md`](docs/architecture/investigation-harness.md) — the
> simulation oracle driver, the per-contract scaffolder, and the
> path-fixture toolkit.
## Overview
> **Capability map:** every capability's Rust home, Python name, door items, and consumer probe is cataloged in [`docs/capabilities.md`](docs/capabilities.md) (ADR-084).
Degenbot abstracts the implementation details of Uniswap liquidity pools and their underlying ERC-20 tokens into a set of Rust core crates exposed to Python through a thin PyO3 binding layer. The Rust core owns all performance-critical and stateful logic — pool/token state, swap math, event decoding, solvers, the pump loop, and swap encoding — while the Python companion provides the user-facing API, docstrings, and I/O orchestration.
The Rust core also owns the operator-facing infrastructure: the settlement-arbitrage engine and pump loop, the in-process revm simulation engine, on-chain price readers, the DB-aware pool/Aave updaters, EIP-1559 transaction signing and submission, and WS/HTTP pub-sub. Python remains the user-facing API, configuration, and registry driver, while the Rust `degenbot-db` crate owns the SQLite schema, file lifecycle, and read/write operations. Python consumers use the stable typed mirror in `degenbot.db`; therExcerpt of 71,698 characters
Read on GitHub4.9k
4
YZJJ
4
3
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:3c940b2e26a1d47d, topic:trading