Skip to main content

Prerequisites

Before installing MetaVault AI, ensure you have the following installed on your system:

Installation

1

Clone the Repository

Clone the MetaVault AI repository to your local machine:
git clone <repository-url>
cd defi-portfolio
2

Install Dependencies

MetaVault AI is a monorepo that uses pnpm workspaces. Install all dependencies for all packages with a single command:
pnpm install
This will install dependencies for:
  • packages/contracts - Smart contracts (Hardhat, Solidity)
  • packages/frontend - Next.js web application
  • packages/agents - AI agents built with ADK-TS
3

Verify Installation

Verify that all packages are installed correctly:
pnpm --version
Expected output: 10.18.3 or higher

Package Structure

MetaVault AI is organized as a monorepo with the following packages:

Contracts

packages/contractsHardhat project containing smart contracts for the vault and strategies.Key dependencies:
  • hardhat ^2.26.5
  • ethers ^6.15.0
  • @openzeppelin/contracts ^5.4.0

Frontend

packages/frontendNext.js 14 web application for user interaction with the vault.Key dependencies:
  • next ^14.2.0
  • react ^18.3.0
  • wagmi ^2.7.0
  • viem ^2.9.0

Agents

packages/agentsAI agents built with ADK-TS that monitor and manage vault strategies.Key dependencies:
  • @iqai/adk ^0.5.7
  • express ^5.2.1
  • ethers ^6.15.0

Next Steps

After installation, proceed to:

Quick Start

Get MetaVault AI running locally in minutes

Configuration

Configure environment variables and settings

Build docs developers (and LLMs) love