elizaOS / eliza
- понедельник, 30 декабря 2024 г. в 00:00:04
Autonomous agents for everyone
📖 Documentation | 🎯 Examples
中文说明 | 日本語の説明 | 한국어 설명 | Français | Português | Türkçe | Русский | Español | Italiano | ไทย | Deutsch | Tiếng Việt | עִברִית | Tagalog
Note for Windows Users: WSL 2 is required.
git clone https://github.com/elizaos/eliza-starter.git
cd eliza-starter
cp .env.example .env
pnpm i && pnpm build && pnpm start
Once the agent is running, You should see the message to run "pnpm start:client" at the end. Open another terminal and move to same directory and then run below command and follow the URL to chat to your agent.
pnpm start:client
Then read the Documentation to learn how to customize your Eliza.
# Clone the repository
git clone https://github.com/elizaos/eliza.git
# Checkout the latest release
# This project iterates fast, so we recommend checking out the latest release
git checkout $(git describe --tags --abbrev=0)
Copy .env.example to .env and fill in the appropriate values.
cp .env.example .env
Note: .env is optional. If your planning to run multiple distinct agents, you can pass secrets through the character JSON
This will run everything to setup the project and start the bot with the default character.
sh scripts/start.sh
Open packages/core/src/defaultCharacter.ts
to modify the default character. Uncomment and edit.
To load custom characters:
pnpm start --characters="path/to/your/character.json"
Connect with X (Twitter)
"clients": []
to "clients": ["twitter"]
in the character file to connect with Xpnpm i
pnpm build
pnpm start
# The project iterates fast, sometimes you need to clean the project if you are coming back to the project
pnpm clean
You may need to install Sharp. If you see an error when starting up, try installing it with the following command:
pnpm install --include=optional sharp