- Python 3.12~3.14
- Git
- Virtual environment (recommended)
# macOS/Linux
uv venv .venv
source .venv/bin/activate
# Windows (PowerShell)
uv venv .venv
.\.venv\Scripts\Activate.ps1
# macOS/Linux
python -m venv .venv
source .venv/bin/activate
# Windows (PowerShell)
python -m venv .venv
.\.venv\Scripts\Activate.ps1
#uv (recommend)
uv pip install -e .
#venv
pip install -e .If you want to enable Mem0 support
uv pip install ".[memory]"
# or
pip install ".[memory]"Put the key into .env:
OPENROUTER_API_KEY=sk-xxxx
You can adjust the llm_provider and model_name in streaming_chatbot.py’s ChatBot(...).
python spoon-starter/streaming_chatbot.pyThe script asks three generic topics in sequence. Each round prints:
LLM tokens stream in real time.
Cleanup failed for ...– means a provider isn’t configured; safe to ignore.websockets.legacyDeprecationWarning – upstream warning, safe to ignore.