Fără Descriere

helium3@sina.com 130a55375e run test 10 luni în urmă
characters 5f6391f761 run test 10 luni în urmă
data b3319e7d4f run test 10 luni în urmă
src b24113f7e8 run test 11 luni în urmă
.env.example fed6d0306d env 1 an în urmă
.gitignore fed6d0306d env 1 an în urmă
.prettierrc 8d44425e6f run test 11 luni în urmă
LICENSE 23277073d1 Initial commit 1 an în urmă
README.md 8d44425e6f run test 11 luni în urmă
eslint.config.js 8d44425e6f run test 11 luni în urmă
package.json 130a55375e run test 10 luni în urmă
tsconfig.json b24113f7e8 run test 11 luni în urmă

README.md

Eliza

Edit the character files

Open agent/src/character.ts to modify the default character. Uncomment and edit.

Custom characters

To load custom characters instead:

  • Use pnpm start --characters="path/to/your/character.json"
  • Multiple character files can be loaded simultaneously

Add clients

- clients: [],
+ clients: ["twitter", "discord"],

Duplicate the .env.example template

cp .env.example .env

* Fill out the .env file with your own values.

Add login credentials and keys to .env

-DISCORD_APPLICATION_ID=
-DISCORD_API_TOKEN= # Bot token
+DISCORD_APPLICATION_ID="000000772361146438"
+DISCORD_API_TOKEN="OTk1MTU1NzcyMzYxMT000000.000000.00000000000000000000000000000000"
...
-OPENROUTER_API_KEY=
+OPENROUTER_API_KEY="sk-xx-xx-xxx"
...
-TWITTER_USERNAME= # Account username
-TWITTER_PASSWORD= # Account password
-TWITTER_EMAIL= # Account email
+TWITTER_USERNAME="username"
+TWITTER_PASSWORD="password"
+TWITTER_EMAIL="your@email.com"

Install dependencies and start your agent

pnpm i && pnpm start