Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 2.12 KB

agents.md

File metadata and controls

68 lines (45 loc) · 2.12 KB

⚠️ Warning
All commands are assumed to be run from root!

Agent Development

System requirements

Run your own agent

Get the code

  1. Clone this repo:

    git clone --recurse-submodules [email protected]:valory-xyz/agents-fun-eliza.git
    

    Alternatively, if you have already cloned, ensure submodules are initialized:

    git submodule update --init --recursive
    
  2. Install dependencies:

    cd agents-fun-eliza
    pnpm install
    
  3. Define your character description in agents-fun/characters/eliza.character.json and update the system, bio and lore section as per your liking.

  4. Build and push the agent to your docker hub :

 pnpm build:agent

RUN USING OLAS SDK(Provides a deployed safe with contracts)

Prepare the data

  1. Edit the character file in agents-fun/characters/eliza.character.json and update the system, bio and lore section as per your liking.
  2. Follow the steps mentioned in Olas-sdk-docs, to build a olas agent using Olas SDK Starter and the docker image of the agent.

For the Eliza Memeooorr agent we support agentic runs using olas-sdk. Which provides a set of tools to build and run agents, with a automatic safe account creation and management.

RUN LOCALLY

⚠️ Warning Agent won't perform token interaction behaviour unless you deploy your own safe on base network with the required contracts.

Prepare the data

  1. Edit the character file in agents-fun/characters/eliza.character.json and update the system, bio and lore section as per your liking.
  2. Prepare the env
cp .env.example .env
  1. Run the docker file built previously, with the env file:
docker run -it --rm --env-file .env <IMAGE_NAME>