Open src/character.ts
to modify the default character. Uncomment and edit.
To load custom characters instead:
- Use
pnpm start --characters="path/to/your/character.json"
- Multiple character files can be loaded simultaneously
clients: [Clients.TWITTER, Clients.DISCORD],
cp .env.example .env
* Fill out the .env file with your own values.
DISCORD_APPLICATION_ID="discord-application-id"
DISCORD_API_TOKEN="discord-api-token"
...
OPENROUTER_API_KEY="sk-xx-xx-xxx"
...
TWITTER_USERNAME="username"
TWITTER_PASSWORD="password"
TWITTER_EMAIL="your@email.com"
pnpm i && pnpm start
Note: this requires node to be at least version 22 when you install packages and run the agent.