Examples
Small programs that give an app a memory, in Python and JavaScript, at Geniffy/examples. Each one runs on its own with a Geniffy API key, and forgets what it wrote when it finishes, unless keeping it is the point.
| Example | What it shows |
|---|---|
| Quickstart | Remember something about one of your users, then recall it three ways: for your prompt, as an answer, and as ranked matches |
| Support bot | One memory per customer: the same question gets each customer's own answer, or a plain "nothing stored" |
| Chat with memory | A chat with Claude in your terminal that remembers you between runs |
Run them
Terminal
git clone https://github.com/Geniffy/examples
export GENIFFY_API_KEY="gnf_live_..."Then, in your language:
Terminal
cd examples/python
pip install -r requirements.txt
python quickstart.pyTerminal
cd examples/javascript
npm install
node quickstart.mjsThe chat example also needs an Anthropic API key as ANTHROPIC_API_KEY.
The pattern in every example
Every one is the same three steps around what your app already does: one space per user, remember what they tell you, and recall what bears on the next message before your model answers. Any framework shows the same pattern for your own stack.
Last updated October 5, 2026