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.3.0.tar.gz (523.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.3.0-py3-none-any.whl (181.8 kB view details)

Uploaded Python 3

File details

Details for the file phileas_memory-0.3.0.tar.gz.

File metadata

  • Download URL: phileas_memory-0.3.0.tar.gz
  • Upload date:
  • Size: 523.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.3.0.tar.gz
Algorithm Hash digest
SHA256 d57fdf06efd77601605bdad2e5dba16a20c93274d47eb046832b89614562f294
MD5 6e0d1bb17951059a239eeeddb53a2b0d
BLAKE2b-256 5714875bd94b60467dcf1b7d7c795931f2cdbeb4c469a52dbd71a0511ad555ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for phileas_memory-0.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: phileas_memory-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 181.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a18d7605539be12de6ba21687c6c1b65130583adb270b6874736c44ee54bd2a
MD5 392ccc99c138e35eb221c9dce91ce11c
BLAKE2b-256 94568de7dbb4c1bdaa48688c627da576f13ab9cd8f56816125d11ed3df616f52

See more details on using hashes here.

Provenance

The following attestation bundles were made for phileas_memory-0.3.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