中文说明 | 日本語の説明 | 한국어 설명 | Persian | Français | Português | Türkçe | Русский | Español | Italiano | ไทย | Deutsch | Tiếng Việt | עִברִית | Tagalog | Polski | Arabic | Hungarian | Srpski | Română | Nederlands | Ελληνικά
Note for Windows Users: WSL 2 is required.
Full steps and documentation can be found in the Eliza Starter Repository.
git clone https://github.com/elizaos/eliza-starter.git
cd eliza-starter
cp .env.example .env
pnpm i && pnpm build && pnpm start
# Clone the repository
git clone https://github.com/elizaos/eliza.git
# This project iterates fast, so we recommend checking out the latest release
git checkout $(git describe --tags --abbrev=0)
# If the above doesn't checkout the latest release, this should work:
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
If you would like the sample character files too, then run this:
# Download characters submodule from the character repos
git submodule update --init
Copy .env.example to .env and fill in the appropriate values.
cp .env.example .env
Note: .env is optional. If you're planning to run multiple distinct agents, you can pass secrets through the character JSON
pnpm 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
Once the agent is running, you should see the message to run "pnpm start:client" at the end.
Open another terminal, move to the same directory, run the command below, then follow the URL to chat with your agent.
pnpm start:client
Then read the Documentation to learn how to customize your Eliza.
The start script provides an automated way to set up and run Eliza:
sh scripts/start.sh
For detailed instructions on using the start script, including character management and troubleshooting, see our Start Script Guide.
Note: The start script handles all dependencies, environment setup, and character management automatically.
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 Xrun npx elizaos plugins list
to get a list of available plugins or visit https://elizaos.github.io/registry/
run npx elizaos plugins add @elizaos-plugins/plugin-NAME
to install the plugin into your instance
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
Plugins that are not in the official registry for ElizaOS can be used as well. Here's how:
packages/
├─plugin-example/
├── package.json
├── tsconfig.json
├── src/
│ ├── index.ts # Main plugin entry
│ ├── actions/ # Custom actions
│ ├── providers/ # Data providers
│ ├── types.ts # Type definitions
│ └── environment.ts # Configuration
├── README.md
└── LICENSE
{
"dependencies": {
"@elizaos/plugin-example": "workspace:*"
}
}
"plugins": [
"@elizaos/plugin-example",
],
Use Fleek to deploy Eliza in one click. This opens Eliza to non-developers and provides the following options to build your agent:
Click here to get started!
We now have a paper you can cite for the Eliza OS:
@article{walters2025eliza,
title={Eliza: A Web3 friendly AI Agent Operating System},
author={Walters, Shaw and Gao, Sam and Nerd, Shakker and Da, Feng and Williams, Warren and Meng, Ting-Chien and Han, Hunter and He, Frank and Zhang, Allen and Wu, Ming and others},
journal={arXiv preprint arXiv:2501.06781},
year={2025}
}
eliza/
├── packages/
│ ├── core/ # Core Eliza functionality
│ ├── clients/ # Client implementations
│ └── actions/ # Custom actions
├── docs/ # Documentation
├── scripts/ # Utility scripts
└── examples/ # Example implementations
We welcome contributions! Here's how you can help:
git checkout -b feature/your-feature-name
pnpm test