🧪 Game where users have to chat and discover who is the AI agent, which disguises as a human on every game. Over time, the adaptive AI aims to be unrecognizable.
⚙️ Built using Typescript, Eliza, NextJS, Express, Supabase, RainbowKit, Foundry, Wagmi and Viem.
Before you begin, you need to install the following tools:
- Clone this repo:
git clone https://github.com/fabian416/sami.git
cd sami
- Duplicate the .env.example template from the ROOT and fill the variable PRIVATE_KEY and OPENAI_API_KEY with your own keys
cp .env.example .env
PRIVATE_KEY= #Your private key
OPENAI_API_KEY=sk-* # OpenAI API key, starting with sk-
- Start docker
docker compose up -d
- Enter to http://localhost:3001 and play with sami!
- https://playsami.fun (Right-click → Open in new tab)
- Frontend homepage at
packages/nextjs/app/page.tsx
. - Backend in
packages/backend
- AI in
packages/ai/sami
- Smart contracts in
packages/foundry/contracts
- Deployment scripts in
packages/foundry/script