CLI Usage¶
The tape-mem CLI runs the full-context memory agent demo on an EventQA example. Make sure you have set up the required
python environment in the development section before running the CLI.
Environment Variables¶
The CLI requires three environment variables:
| Variable | Description | Required |
|---|---|---|
OPENAI_COMPATIBLE_BASE_URL |
Base URL of your LLM API (e.g. https://api.openai.com/v1) |
Yes |
OPENAI_COMPATIBLE_API_KEY |
API key for the LLM service | Yes |
LLM_MODEL |
Model name to use (e.g. gpt-4o-mini) |
Yes |
Note:
HF_ENDPOINT=https://hf-mirror.comwill be used ifHF_ENDPOINTis not set for faster Hugging Face downloads, so no extra setup is needed. Or, to override the Hugging Face mirror with:
Run¶
Make sure to set the required environment variables, then you can run the CLI with: