Skip to content
A

Agent Forge

Putting an Agent in control of a foundry project to create foundry scripts that can execute complex defi actions.

Created on 1st March 2025

•

A

Agent Forge

Putting an Agent in control of a foundry project to create foundry scripts that can execute complex defi actions.

The problem Agent Forge solves

This project aims to simplify interacting with defi protocols by letting an agent figure out what complex actions you are looking for. If you're trying to borrow some eth on aave, the agent should generate solidity to approve tokens, lend some usdc, and then borrow eth.

User Interaction and Data Flow

Tell the agent what complex defi action youre trying to perform.
The agent will install required dependencies, generate a solidity script to execute them, and finally return the transactions for you to execute as it prompts your wallet to sign them.

The project architecture and development process

Project is made of a rust backend server for the agent, which creates foundry projects in temporary directories.
The LLM has guidelines for each protocol it has to interact with.
The frontend is a simple react app which listens to the rust backend for anything the agent does in the foundry project.

Key differentiators and uniqueness of the project

Instead of having predefined actions for agents, generating foundry scripts allow for much more complex defi actions, all in one prompt.

Trade-offs and shortcuts while building

Unfortunately, the agent may not follow the guidelines precisely, and work needs to be done on ensuring the llm does better.

Tracks Applied (10)

Best AI Agents

It's an AI AGENT!!!!!!!!!!!!!!!!
Flow

Flow

AI Agent Interoperable dApp builder

It's an AI AGENT!!!!!!!!!!!!!!!!
Optimism

Optimism

Most Innovative Use of AgentKit

It's an AI AGENT!!!!!!!!!!!!!!!!
Coinbase Developer Platform

Coinbase Developer Platform

Consumer DApps (Judged on UX)

It's an AI AGENT!!!!!!!!!!!!!!!!
okto

okto

AI Agent

It's an AI AGENT!!!!!!!!!!!!!!!!
okto

okto

Use ORA’s Decentralized API for inference in your AI agents! The cheapest verifiable AI on the market.

It's an AI AGENT!!!!!!!!!!!!!!!!
ora

ora

AI Agent Development Framework for Quai Network using ZerePy

It's an AI AGENT!!!!!!!!!!!!!!!!
Quai Network

Quai Network

Euler AI Agent Integration

It's an AI AGENT!!!!!!!!!!!!!!!!
Euler Labs

Euler Labs

Build a DeFi AI Agent for Kite AI

It's an AI AGENT!!!!!!!!!!!!!!!!
Kite Ai

Kite Ai

Agent Integration via Olas SDK

It's an AI AGENT!!!!!!!!!!!!!!!!
Olas

Olas

Technologies used

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio