-
Connect your wallet to Gaianet and get the api key.
-
Configure the environment and use a Gaia domain/ any LLM as model service provider. Replace the env variables:
GAIANET_API_KEY/OPENAI_API_KEY,ETHERSCAN_API_KEY,INFURA_API_KEY -
Update the
modelProviderin agent.character.jsoncp .env.example .env
-
Run the following commands to start the agent. (Optional) Reset the SQLite DB at data/sqlite.db.
# rm -rf ./data pnpm install pnpm build pnpm start "--character=characters/agent.character.json"
-
To interact with the agent, try the following commands:
explain logic in <CONTRACT_ADDRESS> on <CHAIN> get metadata in <CONTRACT_ADDRESS>, for token id <TOKEN_ID> on <CHAIN>
- Connect your wallet to Gaianet.
- Select a domain and start interacting with the agent.
- Launch a
t2-xlarge(or instance type with at least 16GB RAM) instance withGaiaNet_ubuntu22.04_arm64x86 AMI. - Make sure that SSH connections are allowed for the instance.
- SSH into the instance.
- Initialize a Gaia node with Qwen2-0.5b-instruct model.
gaianet init --config https://raw.githubusercontent.com/GaiaNet-AI/node-configs/main/qwen2-0.5b-instruct/config.json gaianet config \ --chat-ctx-size 32000 \ --system-prompt <COPY_FROM_DOMAIN_SETTING> gaianet start
- Register the node in Gaianet.
- Ensure that the node meets the domain’s requirements, using the same configuration provided above.
- Submit a join request to our domain.