Local-first long-term memory for AI companions
Project description
Phileas — persistent memory for AI
AI conversations reset every session. Phileas is a local memory layer that any LLM can read and write through MCP, so context survives across sessions and tools.
Get started
pip install phileas-memory
phileas init
The setup wizard connects Phileas to your MCP client (Claude, GPT, Ollama, or any other) and chooses where to store memories.
First run
On first run, phileas init downloads two small models that run locally — an
embedding model (all-MiniLM-L6-v2) and a reranker
(ms-marco-MiniLM-L-6-v2), about 150 MB together — from
Hugging Face. Expect a one-time wait on a slow
connection; they're cached afterward, so later runs work offline.
No external LLM API key is needed to try Phileas: your MCP client's model does the reasoning, and the embedding and reranking run on your machine.
Connect to your AI
If you use Claude Code, phileas init handles this automatically.
For other MCP clients, start the server and point your client at it:
phileas serve
Principles
- Local-first — memories stay on your machine
- Model-agnostic — works with any LLM via MCP
- Natural forgetting — irrelevant detail decays; recall favors what stays useful
- Open — run it yourself, read the code
For the command reference, run phileas --help or phileas COMMAND --help.
Requirements
Python 3.11+
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phileas_memory-0.2.0.tar.gz.
File metadata
- Download URL: phileas_memory-0.2.0.tar.gz
- Upload date:
- Size: 581.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f61421cfea4b600bf478b8badae4e7708319cd2d8359553f423ae38f5a0865f9
|
|
| MD5 |
4080af9b09781e6f822129626c7a4605
|
|
| BLAKE2b-256 |
8ea299e6afdc955ff4557e0e2ca5c90d930e2e125efe7719b1648547b3cd39e5
|
Provenance
The following attestation bundles were made for phileas_memory-0.2.0.tar.gz:
Publisher:
release.yml on alexajuno/phileas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phileas_memory-0.2.0.tar.gz -
Subject digest:
f61421cfea4b600bf478b8badae4e7708319cd2d8359553f423ae38f5a0865f9 - Sigstore transparency entry: 1866256434
- Sigstore integration time:
-
Permalink:
alexajuno/phileas@eb30b9175d61dcafb8a9ab81e91768f04bac778f -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/alexajuno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@eb30b9175d61dcafb8a9ab81e91768f04bac778f -
Trigger Event:
release
-
Statement type:
File details
Details for the file phileas_memory-0.2.0-py3-none-any.whl.
File metadata
- Download URL: phileas_memory-0.2.0-py3-none-any.whl
- Upload date:
- Size: 175.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1f8ae3cdd7be24d2c323e3f66870740c42576b859530bf2615b70bb5aa4cb5a
|
|
| MD5 |
743f6aad63d71b891fb9db8a80a24f8a
|
|
| BLAKE2b-256 |
157b2fb7e34611fa361fe8ea86fdb8702542e31c1e4edff618ce698e6b537c1a
|
Provenance
The following attestation bundles were made for phileas_memory-0.2.0-py3-none-any.whl:
Publisher:
release.yml on alexajuno/phileas
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phileas_memory-0.2.0-py3-none-any.whl -
Subject digest:
a1f8ae3cdd7be24d2c323e3f66870740c42576b859530bf2615b70bb5aa4cb5a - Sigstore transparency entry: 1866256509
- Sigstore integration time:
-
Permalink:
alexajuno/phileas@eb30b9175d61dcafb8a9ab81e91768f04bac778f -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/alexajuno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@eb30b9175d61dcafb8a9ab81e91768f04bac778f -
Trigger Event:
release
-
Statement type: