Skip to content
agent9000

agent9000

The first Superpowered AI agent for the Superchain and the last DeFAi app you'll ever use.

Created on 1st March 2025

agent9000

agent9000

The first Superpowered AI agent for the Superchain and the last DeFAi app you'll ever use.

The problem agent9000 solves

Fragmented Liquidity: Users struggle to find the best swap rates when liquidity is scattered across chains. This results in high slippage and suobtimal prices.
Cross-Chain Complexity: Manually swapping assets across chains involves, researching prices/liquidity on multiple chains, calculating splits for optimal routing, executing separate bridge and swaps transactions. The process is slow, painful and error-prone. And most of the time, the price and the liquidity is gone before the user finalizes the swap.

agent9000 is an intent based, cross-chain swap protocol that unifies fragmented liquidity across all networks on the OP-Stack. By combining agentic AI, algorithmic routing, and Optimism’s Superchain interoperability layer, it abstracts cross-chain complexity into a single chat message and a single transaction that takes less than 5 secs.

User Interaction and Data Flow

“gm! please swap 20 ETH to USDC”→ agent9k handles the rest (we also have a boomer interface but who needs that?)

The project architecture and development process

agent9000 consists of 3 main components:

  1. SuperSwapper: The SuperSwapper contract integrates several key components from Optimisim Superchain interop. It uses Superchain Token Bridge to enable cross-chain token transfer functionality, L2-to-L2 Cross Domain Messenger to enable cross-chain function calls, Uniswap to power token swapping on each chain and a failed swap recovery mechanism that ensures users can always recover their assets in case any of the cross-chain swaps fails due to new market conditions.
    SupperSwapper bridges tokens to the destination chain, sends a cross-chain message to initiate the swap on the destination, executes the swap through a crosschain-message and returns resulting tokens back to the user's address on the source chain. Failed swaps are recorded on each chain, users can withdraw failed swaps from any chain.
  2. agent9000: a9k is an intent based AI agent built with Coinbase AgentKit. It chats with the user and translates user intents (e.g., “Swap 20 ETH to USDC”) into cross-chain swap transactions. On the background, it uses an Advanced Routing Engine to find the optimum split across all chains in the superchain network.
  3. Routing Engine: Routing engine polls prices and liquidity from integrated DEXs and uses Equal Marginal Price Algorithm to dynamically split swaps across chains/DEXs to minimize slippage and maximize output.

Key differentiators and uniqueness of the project

  1. Truly Native Cross-Chain Execution via Optimism Superchain
    a9k leverages Optimism’s native interoperability to execute swaps, bridging, and settlements at native speed and robustness.
    vs. Competitors:
    Projects like SquidRouter takes 30 minutes or more to execute a simple crosschain swap.

  2. Chat-First, Intent-Driven UX
    agent9000 is one of the first cross-chain defi projects to use a conversational AI interface (powered by Coinbase Agent Kit). Users describe swaps in plain language (e.g., “Swap 20 ETH to USDC”), and the agent handles the rest—no manual chain/DEX selection or wallet switching. agent9000 abstracts all complexity into a single message.
    vs. Competitors:
    Projects like 1inch or LI.FI may need users to manually select chains, tokens, and approve multiple transactions.

  3. Equal Marginal Price Algorithm
    A proprietary algorithm that mathematically guarantees optimal swap splits across chains and DEXs by ensuring marginal prices for the next unit traded is equal across all DEXes. agent9000 dynamically balances splits based on real-time liquidity across all OP Stack chains.
    vs. Competitors:
    Aggregators like THORChain or ParaSwap optimize for single-chain routes or basic multi-chain splits.

Trade-offs and shortcuts while building

We built a full working prototype, not a toy, running on 4 different OP mainnet forks (Optimism, Base, Unichain, Mode) given that the OP superchain interop infra is only available on devnets.

Our time was limited so we needed to make some compromises:

  • Focused on a single pair(ST9000<->SWETH) via Uniswap
  • No MEV protection.
  • No support for non-super tokens.
  • Supports limited actions through chat, no complex queries yet

Why It Works
Proved core functionality: intent based chat interface → optimized cross-chain split → instant native-like cross-chain swaps with unified liquidity.

Next Steps
Expand tokens/dexes, dynamic slippage, MEV protection, auto-retries, cross-chain yield optimization, etc.

Additional Features

No, we built it from scratch.

Tracks Applied (9)

AI Agent Superchain token trader

agent9000 is an AI-powered agent that trades SuperERC20Tokens across all Optimism Superchain networks using SuperchainTo...Read More
Optimism

Optimism

SwapSmart with Superchain Interop

agent9000 embodies SwapSmart by leveraging Optimism’s Superchain interop predeploy to unify liquidity across OP chains (...Read More
Optimism

Optimism

Build an AI-powered app on Base

agent9000 is built using AgentKit for intent-driven cross-chain super swaps. Users chat with the agent to initiate a cro...Read More
Base

Base

Most Innovative Use of AgentKit

agent9000’s core innovation is powered by AgentKit, which transforms crypto’s complexity into a seamless, conversational...Read More
Coinbase Developer Platform

Coinbase Developer Platform

Best Use of CDP SDK

agent9000’s core innovation is powered by AgentKit, which transforms crypto’s complexity into a seamless, conversational...Read More
Coinbase Developer Platform

Coinbase Developer Platform

Consumer Crypto Prize

Intent-first chat based UX powered by the AgentKit that makes true cross-chain DeFi accessible to everyone with highest ...Read More
Coinbase Developer Platform

Coinbase Developer Platform

Best Developer Feedback

Provided feedback on Agentkit both through deform and in person about different bugs and quirks we ran into, particularl...Read More
Coinbase Developer Platform

Coinbase Developer Platform

DEFI, NFTS + GAMING

Revolutionizes DeFi by unifying Superchain liquidity, enabling the best swap outcome across chains at the native speed v...Read More

DeFi Innovation on Unichain

agent9000 reimagines Uniswap as the liquidity backbone of cross-chain DeFi, solving fragmentation by unifying all Uniswa...Read More
Uniswap

Uniswap

Discussion

Builders also viewed

See more projects on Devfolio