Skip to content

Instantly share code, notes, and snippets.

@0xCardiE
Last active June 6, 2025 11:13
Show Gist options
  • Save 0xCardiE/f20fba8b9f25a142204c5c8a13f31e6f to your computer and use it in GitHub Desktop.
Save 0xCardiE/f20fba8b9f25a142204c5c8a13f31e6f to your computer and use it in GitHub Desktop.
Eliza v2 Start
Eddy is part of the org.
How to start the org ->
git checkout v2-develop
nvm use 23
bun i
setup your .env -> you'll see in the example Eddy operates on discord/telegram
make sure you set this in .env as well: DEVREL_IMPORT_KNOWLEDGE=true
you can also tweek the code so it loads the .ts files -> here https://github.com/elizaOS/eliza/blob/v2-develop/packages/the-org/src/devRel/index.ts#L94
once you setup the .env
bun run build
bun run start
usually I comment some agents here so I don't have full swarm as it's easier to develop https://github.com/elizaOS/eliza/blob/v2-develop/packages/the-org/src/index.ts#L133
If having "Database operation failed" run
rm -rf ~/.eliza
or maybe create it by fetching ID from error
mkdir -p ~/.eliza/c1fecd3c-9871-0b13-89eb-755188191427/pglite
bun run migrate
as per https://discord.com/channels/1051457140637827122/1323727516745334785/1370431775196577823
and try to use other database types
# Clean and reinstall
bun clean
bun install --no-frozen-lockfile
bun build
# Rebuild problematic packages
bun rebuild better-sqlite3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment