8000 GitHub - kiminh/StillHere: Open-source persona adaptation and evidence-grounded long-term memory for personalized AI conversations. · GitHub
[go: up one dir, main page]

Skip to content
kiminhPublic
forked from Zamp0x0/StillHere

About

Open-source persona adaptation and evidence-grounded long-term memory for personalized AI conversations.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

StillHere

An open-source persona and evidence-grounded memory system for personalized AI conversations.

Turn a chat history into a persona you can talk to. Factual answers are grounded in records retrieved from the conversation.

Python 3.10+ License: MIT Version 0.1.0

Quickstart  ·  Docs  ·  Architecture  ·  Benchmark
English  ·  简体中文  ·  繁體中文


What is StillHere?

< A852 /a>

StillHere builds a personalized AI from someone's own messages.

  • It learns how the person writes, as a reviewable persona card.
  • It keeps what was said, as a local, searchable evidence memory.
  • When you ask about the past, it retrieves the relevant records and answers from them, and it is designed to say "I don't remember" rather than invent details.

Run it local-first with Qwen3 on your own GPU, or with an API provider such as DeepSeek, no GPU required. Training a LoRA adapter for style is optional.

Import chat history
Load a WeFlow (WeChat) JSON export. Speakers, sessions and cleaning are handled; re-imports are incremental.
Build a persona
An automatic persona card from real reply statistics. Edit it, version it, roll it back.
Evidence-based memory
Hybrid lexical + dense retrieval with a time-aware multi-hop pass, read by a fact reader with attribution checks.
Local Qwen or DeepSeek API
Run Qwen3-8B on a CUDA GPU, or chat through DeepSeek or any OpenAI-compatible endpoint, with explicit opt-in.
Optional QLoRA training
One command builds a resumable Google Colab package; import the trained adapter back with base checks.
Reproducible evaluation
LifeBench workflows with pre-registered rules and audits recomputed from raw records.

Quickstart

A. No GPU: try it with the DeepSeek API (uses the bundled synthetic chat between Alice and Bob)

git clone https://github.com/Zamp0x0/StillHere.git && cd StillHere
python -m venv .venv && source .venv/bin/activate      # Windows: .venv\Scripts\Activate.ps1
pip install -e .

stillhere persona quickstart --input examples/synthetic/weflow_demo/alice_bob_weflow.json --speaker contact
stillhere persona status                                # your profile id and the active memory pipeline

export DEEPSEEK_API_KEY=YOUR_API_KEY                    # Windows: $env:DEEPSEEK_API_KEY="YOUR_API_KEY"
stillhere persona chat --profile <profile-id> --answer-provider deepseek_api --answer-model deepseek-flash --allow-external-api

Ask “西湖改到几号了?” and the answer comes from the chat's own records. With your own WeFlow export, change --input.

B. Run locally with Qwen3: stillhere persona download-model base, then stillhere persona chat --profile <profile-id> --base-dir <qwen3-8b-dir>. See Quickstart H.

C. Train a persona adapter (optional, advanced): build a Colab package with stillhere persona package --target colab-l4 --confirm-cloud. See Colab and Training.

The complete walkthrough is in docs/quickstart.md.

How it works

Import, persona, memory, model, grounded reply

  • Persona: reply statistics become a persona card and the prompt that sets the persona's voice.
  • Memory: every message is archived in SQLite with full-text search; an optional Qwen3-Embedding index adds semantic recall.
  • Retrieval: the product default is V2D + P2-A: hybrid retrieval, plus one bounded second pass for dates, intervals and lists. It falls back to lexical automatically when no dense index is available.
  • Reader: a fact reader answers from the retrieved records. Attribution and grounding checks keep other people's events and unsupported details out of the reply.

Learn more in Architecture and Memory.

Benchmark

LifeBench 2.0 pilot: StillHere V2D 63%, Mem0 OSS 62%, no memory 18%

System Accuracy
No memory 18%
StillHere V2D 63%
Mem0 OSS 2.2.1 62%

On our 100-question LifeBench pilot, StillHere matched Mem0 OSS with a lighter, evidence-first memory pipeline. Memory construction needs no LLM calls. Every system used the same answer model, prompt, evidence budget and judge.

See benchmark details →

Documentation

Get started Concepts Going further
Installation Persona Training
Quickstart Memory Colab
Supported workflows Model providers Benchmark
FAQ · Troubleshooting Architecture Privacy · Limitations

Roadmap

  • More chat export formats beyond WeFlow
  • English-first persona statistics
  • Broader evaluation across more personas
  • PyPI packages

Contributing

Contributions are welcome. See CONTRIBUTING.md and our Code of Conduct. Please report security or privacy issues privately as described in SECURITY.md.

License

MIT. Models, datasets and fonts used with StillHere keep their own licenses; see THIRD_PARTY_NOTICES.md. If you use StillHere in research, please cite it via CITATION.cff.

StillHere imitates how someone writes. It is not that person. Use it only with conversations you have the right to use.

About

Open-source persona adaptation and evidence-grounded long-term memory for personalized AI conversations.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0