Skip to content

daobrussels/eliza-daotender

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7,897 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

DaoTender πŸ€–

Background

We started with https://www.quicknode.com/guides/ai/how-to-setup-an-ai-agent-with-eliza-ai16z-framework to build a bartender for Commons Hub Brussels that makes the experience at the fridge a memorable event.

Ideas was to have a chat bot that has knownledge about the drinks in the fridge, type and price and inventory, that can suggest alternative beer and has budget to give free drinks

Workflows

  • Inform users about the menu
  • Send a voucher or tokens to a user for their kind conversation or for loyal customers
  • Tell users how they can tip DaoTender
  • Explain how to use Brussels Pay
  • Tell users and the world about upcoming events
  • Summarize an event once it is over

πŸš€ Quick Start

Prerequisites

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

Env Variables

DISCORD_APPLICATION_ID=
DISCORD_API_TOKEN=
MISTRAL_API_KEY=
EVM_PRIVATE_KEY=             # Add the "0x" prefix infront of your private key string
EVM_PROVIDER_URL=            # e.g. from quicknode
ETHEREUM_PROVIDER_SEPOLIA=   # e.g. from quicknode

Start Eliza

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

Interact via Browser

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

Upgrade from upstream

Checkout the latest release

# 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

πŸ› οΈ System Requirements

Minimum Requirements

  • CPU: Dual-core processor
  • RAM: 4GB
  • Storage: 1GB free space
  • Internet connection: Broadband (1 Mbps+)

Software Requirements

  • Python 2.7+ (3.8+ recommended)
  • Node.js 23+
  • pnpm
  • Git

Optional Requirements

  • GPU: For running local LLM models
  • Additional storage: For document storage and memory
  • Higher RAM: For running multiple agents

πŸ“ Project Structure

eliza/
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ core/           # Core Eliza functionality
β”‚   β”œβ”€β”€ clients/        # Client implementations
β”‚   └── actions/        # Custom actions
β”œβ”€β”€ docs/              # Documentation
β”œβ”€β”€ scripts/           # Utility scripts
└── examples/          # Example implementations

🀝 Contributing

We welcome contributions! Here's how you can help:

Getting Started

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Make your changes
  4. Run tests: pnpm test
  5. Submit a pull request

Types of Contributions

  • πŸ› Bug fixes
  • ✨ New features
  • πŸ“š Documentation improvements
  • 🌍 Translations
  • πŸ§ͺ Test improvements

Code Style

  • Follow the existing code style
  • Add comments for complex logic
  • Update documentation for changes
  • Add tests for new features

About

Virtual Bartender for the Commons Hub

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.4%
  • Python 4.1%
  • JavaScript 3.7%
  • Shell 3.3%
  • Dockerfile 0.2%
  • CSS 0.2%
  • Other 0.1%