Skip to main content

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

phileas_memory-0.2.0.tar.gz (581.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phileas_memory-0.2.0-py3-none-any.whl (175.6 kB view details)

Uploaded Python 3

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

Hashes for phileas_memory-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f61421cfea4b600bf478b8badae4e7708319cd2d8359553f423ae38f5a0865f9
MD5 4080af9b09781e6f822129626c7a4605
BLAKE2b-256 8ea299e6afdc955ff4557e0e2ca5c90d930e2e125efe7719b1648547b3cd39e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for phileas_memory-0.2.0.tar.gz:

Publisher: release.yml on alexajuno/phileas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for phileas_memory-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1f8ae3cdd7be24d2c323e3f66870740c42576b859530bf2615b70bb5aa4cb5a
MD5 743f6aad63d71b891fb9db8a80a24f8a
BLAKE2b-256 157b2fb7e34611fa361fe8ea86fdb8702542e31c1e4edff618ce698e6b537c1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for phileas_memory-0.2.0-py3-none-any.whl:

Publisher: release.yml on alexajuno/phileas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page